From: gb Date: Mon, 3 May 2010 11:44:23 +0000 (+0000) Subject: Fix VC-1 detection. X-Git-Tag: accepted/trunk/20120822.173359~472 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=587b39cdd5091bf40ca57fb5a39b409d6fad693b;p=profile%2Fivi%2Fgstreamer-vaapi.git Fix VC-1 detection. --- 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[] =