Fix VC-1 detection with older gstreamer libs (no "fourcc" field, but a "format" one).

This commit is contained in:
gb 2010-05-03 15:34:22 +00:00 committed by Gwenole Beauchesne
parent 4285c2cc02
commit ffb74abe0f

View 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, }
};