From ab433ee7c99cd3fd1f9f0c39aec0e06d2c75cb1d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 3 Dec 2007 11:32:30 +0000 Subject: [PATCH] gst-libs/gst/riff/riff-media.c: Add 'WVC1' codec mapping for Windows Media VC-1 video codec. Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): Add 'WVC1' codec mapping for Windows Media VC-1 video codec. --- ChangeLog | 9 +++++++++ gst-libs/gst/riff/riff-media.c | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3641593..8192cc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-03 Edward Hervey + + * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): + Add 'WVC1' codec mapping for Windows Media VC-1 video codec. + 2007-12-03 Wim Taymans * ext/ogg/gstoggdemux.c: (gst_ogg_demux_bisect_forward_serialno), @@ -34,6 +39,7 @@ (proxy_drained_signal): Add some more debug info and use factor filtering code. +>>>>>>> 1.3622 2007-11-26 Stefan Kost * gst/audiotestsrc/gstaudiotestsrc.c: @@ -41,6 +47,7 @@ * gst/volume/gstvolume.h: Add GAP-flag support. +>>>>>>> 1.3620 2007-11-24 Julien MOUTTE * tests/examples/seek/seek.c: (main): Increase the range of the @@ -220,6 +227,7 @@ Handle redirect messages by sorting multiple redirections based on the connection speed. +>>>>>>> 1.3619 2007-11-16 Wim Taymans Patch by: Tommi Myöhänen @@ -301,6 +309,7 @@ Instead, pull in glib.h and use g_malloc/g_free for consistency. Fixes: #496548 +>>>>>>> 1.3606 2007-11-09 Stefan Kost * gst/playback/gstdecodebin2.c: diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index f5ed889..6bca196 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -390,6 +390,14 @@ gst_riff_create_video_caps (guint32 codec_fcc, *codec_name = g_strdup ("Microsoft Windows Media Advanced Profile"); break; + case GST_MAKE_FOURCC ('W', 'V', 'C', '1'): + caps = gst_caps_new_simple ("video/x-wmv", + "wmvversion", G_TYPE_INT, 3, "fourcc", GST_TYPE_FOURCC, + codec_fcc, NULL); + if (codec_name) + *codec_name = g_strdup ("Microsoft Windows Media VC-1"); + break; + case GST_MAKE_FOURCC ('c', 'v', 'i', 'd'): caps = gst_caps_new_simple ("video/x-cinepak", NULL); if (codec_name) -- 2.7.4