Fix VC-1 detection.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 3 May 2010 11:44:23 +0000 (11:44 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:42 +0000 (12:55 +0200)
gst-libs/gst/vaapi/gstvaapiprofile.c
gst/vaapidecode/gstvaapidecode.c

index 3edb14f..155e427 100644 (file)
@@ -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, }
 };
index 7261185..4449b34 100644 (file)
@@ -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[] =