From 94f68153dd1d739547aa500df65e6bb1aa112ced Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Tue, 25 Sep 2007 05:03:58 +0000 Subject: gst/qtdemux/qtdemux.c: Add fourccs for MPEG2 HDV streams. Fixes #479960. Original commit message from CVS: Patch by: * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add fourccs for MPEG2 HDV streams. Fixes #479960. --- gst/qtdemux/qtdemux.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gst/qtdemux/qtdemux.c') diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 6be21a90..92193f6f 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -3949,6 +3949,13 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream, caps = gst_caps_from_string ("video/mpeg, " "systemstream = (boolean) false, " "mpegversion = (int) 1"); break; + case GST_MAKE_FOURCC ('h', 'd', 'v', '2'): // HDV 1080i60 + case GST_MAKE_FOURCC ('h', 'd', 'v', '3'): // HDV 1080i50 + case GST_MAKE_FOURCC ('m', 'x', '5', 'p'): // MPEG IMX 625/50 (50Mb/s) + _codec ("MPEG-2 video"); + caps = gst_caps_from_string ("video/mpeg, " + "systemstream = (boolean) false, " "mpegversion = (int) 2"); + break; case GST_MAKE_FOURCC ('g', 'i', 'f', ' '): _codec ("GIF still images"); caps = gst_caps_from_string ("image/gif"); -- cgit