qtdemux: add variant field to H.263 caps
authorTim-Philipp Müller <tim@centricular.net>
Sat, 2 Mar 2013 13:59:52 +0000 (13:59 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 2 Mar 2013 13:59:52 +0000 (13:59 +0000)
avdec_h263 won't get plugged otherwise.

gst/isomp4/qtdemux.c

index ddaf0e5..6d5dc0a 100644 (file)
@@ -9481,7 +9481,8 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
     case GST_MAKE_FOURCC ('U', '2', '6', '3'):
       _codec ("H.263");
       /* ffmpeg uses the height/width props, don't know why */
-      caps = gst_caps_new_empty_simple ("video/x-h263");
+      caps = gst_caps_new_simple ("video/x-h263",
+          "variant", G_TYPE_STRING, "itu", NULL);
       break;
     case GST_MAKE_FOURCC ('m', 'p', '4', 'v'):
     case GST_MAKE_FOURCC ('M', 'P', '4', 'V'):