mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Add more aliases for MPEG-4 decoding.
This commit is contained in:
parent
1a341a1c02
commit
e39709453e
2 changed files with 8 additions and 0 deletions
|
@ -62,6 +62,12 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
|
||||||
{ GST_VAAPI_PROFILE_MPEG4_MAIN, VAProfileMPEG4Main,
|
{ GST_VAAPI_PROFILE_MPEG4_MAIN, VAProfileMPEG4Main,
|
||||||
"video/mpeg, mpegversion=4", "main"
|
"video/mpeg, mpegversion=4", "main"
|
||||||
},
|
},
|
||||||
|
{ GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE, VAProfileMPEG4AdvancedSimple,
|
||||||
|
"video/x-divx, divxversion=5", "advanced-simple"
|
||||||
|
},
|
||||||
|
{ GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE, VAProfileMPEG4AdvancedSimple,
|
||||||
|
"video/x-xvid", "advanced-simple"
|
||||||
|
},
|
||||||
#if VA_CHECK_VERSION(0,30,0)
|
#if VA_CHECK_VERSION(0,30,0)
|
||||||
{ GST_VAAPI_PROFILE_H263_BASELINE, VAProfileH263Baseline,
|
{ GST_VAAPI_PROFILE_H263_BASELINE, VAProfileH263Baseline,
|
||||||
"video/x-h263, variant=itu, h263version=h263", "baseline"
|
"video/x-h263, variant=itu, h263version=h263", "baseline"
|
||||||
|
|
|
@ -55,6 +55,8 @@ static const GstElementDetails gst_vaapidecode_details =
|
||||||
static const char gst_vaapidecode_sink_caps_str[] =
|
static const char gst_vaapidecode_sink_caps_str[] =
|
||||||
GST_CAPS_CODEC("video/mpeg, mpegversion=2")
|
GST_CAPS_CODEC("video/mpeg, mpegversion=2")
|
||||||
GST_CAPS_CODEC("video/mpeg, mpegversion=4")
|
GST_CAPS_CODEC("video/mpeg, mpegversion=4")
|
||||||
|
GST_CAPS_CODEC("video/x-divx")
|
||||||
|
GST_CAPS_CODEC("video/x-xvid")
|
||||||
GST_CAPS_CODEC("video/x-h263")
|
GST_CAPS_CODEC("video/x-h263")
|
||||||
GST_CAPS_CODEC("video/x-h264")
|
GST_CAPS_CODEC("video/x-h264")
|
||||||
GST_CAPS_CODEC("video/x-wmv")
|
GST_CAPS_CODEC("video/x-wmv")
|
||||||
|
|
Loading…
Reference in a new issue