Fix VC-1 detection with older gstreamer libs (no "fourcc" field, but a "format" one).
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 3 May 2010 15:34:22 +0000 (15:34 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:43 +0000 (12:55 +0200)
gst-libs/gst/vaapi/gstvaapiprofile.c

index a76f261..9fc294b 100644 (file)
@@ -83,7 +83,7 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
       "video/x-wmv, wmvversion=3", "main"
     },
     { GST_VAAPI_PROFILE_VC1_ADVANCED, VAProfileVC1Advanced,
-      "video/x-wmv, wmvversion=3, fourcc=(fourcc)WVC1", "advanced"
+      "video/x-wmv, wmvversion=3, format=(fourcc)WVC1", "advanced"
     },
     { 0, }
 };