baseparse: clear adapter in reset so baseparse is reusable GstBaseParse was not clearing its adapter on reset causing problems when a pipeline went for example from PLAYING to NULL state and then back to PLAYING again. The data from the last stream would be used in the parser. https://bugzilla.gnome.org/show_bug.cgi?id=667444
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly GStaticRecMutex is part of our API/ABI, not much we can do here in 0.10.
Work around deprecated thread API in glib master Add private replacements for deprecated functions such as g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly to avoid the deprecation warnings. We can't change most of these in 0.10 because they're part of our API and ABI.
basetransform: Always intersect the suggested sink caps with the peer caps This makes sure that we get correct and complete caps. The suggested caps could be incomplete, e.g. video/x-raw-rgb without any fields, and by intersecting with the peer caps we get something usable. Fixes bug #662199.