mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
playsinkconvertbin: Fix conversion bin when sink has both raw and non-raw caps
Fixes bug #678403.
This commit is contained in:
parent
21e9f64ab2
commit
b1ff7f95ad
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue