mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +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++) {
|
for (i = 0; i < n; i++) {
|
||||||
s = gst_caps_get_structure (caps, i);
|
s = gst_caps_get_structure (caps, i);
|
||||||
name = gst_structure_get_name (s);
|
name = gst_structure_get_name (s);
|
||||||
if (!g_str_equal (name, prefix))
|
if (g_str_equal (name, prefix))
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue