riff: add fourcc for mpeg2-in-avi (as produced by mencoder)

Fixes: #565777
This commit is contained in:
Tim-Philipp Müller 2009-02-25 09:52:38 +00:00
parent 7cdf04fe21
commit 3d88a5b985

View file

@ -173,6 +173,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
break; break;
case GST_MAKE_FOURCC ('M', 'P', 'G', '2'): case GST_MAKE_FOURCC ('M', 'P', 'G', '2'):
case GST_MAKE_FOURCC ('m', 'p', 'g', '2'): case GST_MAKE_FOURCC ('m', 'p', 'g', '2'):
case GST_MAKE_FOURCC (0x02, 0x00, 0x00, 0x10):
caps = gst_caps_new_simple ("video/mpeg", caps = gst_caps_new_simple ("video/mpeg",
"systemstream", G_TYPE_BOOLEAN, FALSE, "systemstream", G_TYPE_BOOLEAN, FALSE,
"mpegversion", G_TYPE_INT, 2, NULL); "mpegversion", G_TYPE_INT, 2, NULL);