Fix detection of plain old WMV3 contents.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 3 May 2010 13:44:41 +0000 (13: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

index 155e427..10d972f 100644 (file)
@@ -80,10 +80,10 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
       "video/x-h264", "high"
     },
     { GST_VAAPI_PROFILE_VC1_SIMPLE, VAProfileVC1Simple,
-      "video/x-vc1", "simple"
+      "video/x-wmv, wmvversion=3", "simple"
     },
     { GST_VAAPI_PROFILE_VC1_MAIN, VAProfileVC1Main,
-      "video/x-vc1", "main"
+      "video/x-wmv, wmvversion=3", "main"
     },
     { GST_VAAPI_PROFILE_VC1_ADVANCED, VAProfileVC1Advanced,
       "video/x-wmv, wmvversion=3, fourcc=(fourcc)WVC1", "advanced"