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:
Vincent Penquerc'h 2012-01-25 15:57:02 +00:00
parent 66e05c04b8
commit bc9b231905

View file

@ -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;