diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-03-05 07:48:24 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-03-05 07:48:24 +0100 |
commit | 8dcbe4f7e866258483639e9153936bcaf7b81bf0 (patch) | |
tree | 02561d8722ade0d87f7fe442cdd4a1bec9d877f7 | |
parent | 30805cd2c476020d929954af263e4aa85dbe9759 (diff) |
codecmap. The VC1 decoder can also handle the Advanced Profile.
Fixes #565269
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 6b8b0e8..ce608f9 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -2632,7 +2632,8 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context) guint32 fourcc; if (gst_structure_get_fourcc (structure, "fourcc", &fourcc)) { - if (fourcc == GST_MAKE_FOURCC ('W', 'V', 'C', '1')) + if ((fourcc == GST_MAKE_FOURCC ('W', 'V', 'C', '1')) || + (fourcc == GST_MAKE_FOURCC ('W', 'M', 'V', 'A'))) id = CODEC_ID_VC1; } else id = CODEC_ID_WMV3; |