From: <th...@ke...> - 2009-06-29 13:08:00
|
Module: gst-plugins-base Branch: master Commit: a9097080a38c1b5c65a2e290c613a10c741e1111 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a9097080a38c1b5c65a2e290c613a10c741e1111 Author: Jan Schmidt <th...@no...> Date: Mon Jun 29 14:00:14 2009 +0100 riff-media: Fix the fourcc caps property for VC-1/WMVA The caps property for carrying fourccs is 'format', not 'fourcc' --- gst-libs/gst/riff/riff-media.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 4c8acda..bb6032a 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -505,7 +505,7 @@ gst_riff_create_video_caps (guint32 codec_fcc, case GST_MAKE_FOURCC ('W', 'M', 'V', 'A'): caps = gst_caps_new_simple ("video/x-wmv", - "wmvversion", G_TYPE_INT, 3, "fourcc", GST_TYPE_FOURCC, + "wmvversion", G_TYPE_INT, 3, "format", GST_TYPE_FOURCC, codec_fcc, NULL); if (codec_name) *codec_name = g_strdup ("Microsoft Windows Media Advanced Profile"); @@ -513,7 +513,7 @@ gst_riff_create_video_caps (guint32 codec_fcc, 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, + "wmvversion", G_TYPE_INT, 3, "format", GST_TYPE_FOURCC, codec_fcc, NULL); if (codec_name) *codec_name = g_strdup ("Microsoft Windows Media VC-1"); |