Fix VC-1 detection.

This commit is contained in:
gb 2010-05-03 11:44:23 +00:00 committed by Gwenole Beauchesne
parent 34764d2c2c
commit 587b39cdd5
2 changed files with 2 additions and 2 deletions

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

View 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[] =