From 587b39cdd5091bf40ca57fb5a39b409d6fad693b Mon Sep 17 00:00:00 2001 From: gb Date: Mon, 3 May 2010 11:44:23 +0000 Subject: [PATCH] Fix VC-1 detection. --- gst-libs/gst/vaapi/gstvaapiprofile.c | 2 +- gst/vaapidecode/gstvaapidecode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiprofile.c b/gst-libs/gst/vaapi/gstvaapiprofile.c index 3edb14f..155e427 100644 --- a/gst-libs/gst/vaapi/gstvaapiprofile.c +++ b/gst-libs/gst/vaapi/gstvaapiprofile.c @@ -86,7 +86,7 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = { "video/x-vc1", "main" }, { GST_VAAPI_PROFILE_VC1_ADVANCED, VAProfileVC1Advanced, - "video/x-vc1", "advanced" + "video/x-wmv, wmvversion=3, fourcc=(fourcc)WVC1", "advanced" }, { 0, } }; diff --git a/gst/vaapidecode/gstvaapidecode.c b/gst/vaapidecode/gstvaapidecode.c index 7261185..4449b34 100644 --- a/gst/vaapidecode/gstvaapidecode.c +++ b/gst/vaapidecode/gstvaapidecode.c @@ -57,7 +57,7 @@ static const char gst_vaapidecode_sink_caps_str[] = GST_CAPS_CODEC("video/mpeg, mpegversion=4") GST_CAPS_CODEC("video/x-h263") GST_CAPS_CODEC("video/x-h264") - GST_CAPS_CODEC("video/x-vc1") + GST_CAPS_CODEC("video/x-wmv") ; static const char gst_vaapidecode_src_caps_str[] = -- 2.7.4