playsinkconvertbin: Fix conversion bin when sink has both raw and non-raw caps

Fixes bug #678403.
This commit is contained in:
Arnaud Vrac 2012-06-20 11:11:47 +01:00 committed by Sebastian Dröge
parent 21e9f64ab2
commit b1ff7f95ad

View file

@ -60,11 +60,11 @@ is_raw_caps (GstCaps * caps, gboolean audio)
for (i = 0; i < n; i++) {
s = gst_caps_get_structure (caps, i);
name = gst_structure_get_name (s);
if (!g_str_equal (name, prefix))
return FALSE;
if (g_str_equal (name, prefix))
return TRUE;
}
return TRUE;
return FALSE;
}
static void