mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
d3d11h264dec: Add constrained-baseline and baseline profile
Both profiles are expected to be supported profile by DXVA hardware Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1212>
This commit is contained in:
parent
bf9f82c8c3
commit
7db29fc382
1 changed files with 1 additions and 1 deletions
|
@ -1218,7 +1218,7 @@ gst_d3d11_h264_dec_register (GstPlugin * plugin, GstD3D11Device * device,
|
||||||
|
|
||||||
sink_caps = gst_caps_from_string ("video/x-h264, "
|
sink_caps = gst_caps_from_string ("video/x-h264, "
|
||||||
"stream-format= (string) { avc, avc3, byte-stream }, "
|
"stream-format= (string) { avc, avc3, byte-stream }, "
|
||||||
"alignment= (string) au, profile = (string) { high, main }, "
|
"alignment= (string) au, profile = (string) { high, main, baseline, constrained-baseline }, "
|
||||||
"framerate = " GST_VIDEO_FPS_RANGE);
|
"framerate = " GST_VIDEO_FPS_RANGE);
|
||||||
src_caps = gst_caps_from_string ("video/x-raw("
|
src_caps = gst_caps_from_string ("video/x-raw("
|
||||||
GST_CAPS_FEATURE_MEMORY_D3D11_MEMORY "), format = (string) NV12, "
|
GST_CAPS_FEATURE_MEMORY_D3D11_MEMORY "), format = (string) NV12, "
|
||||||
|
|
Loading…
Reference in a new issue