mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 10:34:11 +00:00
subtitleoverlay: fix probing of raw video caps
They're now video/x-raw, not video/x-raw-* anymore. https://bugzilla.gnome.org/show_bug.cgi?id=668682
This commit is contained in:
parent
66e05c04b8
commit
bc9b231905
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ _is_video_pad (GstPad * pad, gboolean * hw_accelerated)
|
|||
}
|
||||
|
||||
name = gst_structure_get_name (gst_caps_get_structure (caps, 0));
|
||||
if (g_str_has_prefix (name, "video/x-raw-")) {
|
||||
if (!strcmp (name, "video/x-raw")) {
|
||||
ret = TRUE;
|
||||
if (hw_accelerated)
|
||||
*hw_accelerated = FALSE;
|
||||
|
|
Loading…
Reference in a new issue