From 94f68153dd1d739547aa500df65e6bb1aa112ced Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 25 Sep 2007 05:03:58 +0000 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ gst/qtdemux/qtdemux.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 052c53e..75665cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-09-25 Sebastian Dröge + + Patch by: + + * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): + Add fourccs for MPEG2 HDV streams. Fixes #479960. + 2007-09-23 Stefan Kost * sys/oss/gstosshelper.c: diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 6be21a9..92193f6 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"); -- 2.7.4