nvcodec: Accept progressive-high profiles for h264

Videos using progressive-high used to work on 1.16 before the parser added progressive-high. It looks like partial
support was added to nvcodec in https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1634
but accidentally ommited gstnvh264dec

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6862>
This commit is contained in:
Brad Reitmeyer 2024-05-15 15:56:37 -05:00
parent 51c2030efd
commit a564440020
2 changed files with 2 additions and 2 deletions

View file

@ -227320,7 +227320,7 @@
"klass": "Codec/Decoder/Video/Hardware", "klass": "Codec/Decoder/Video/Hardware",
"pad-templates": { "pad-templates": {
"sink": { "sink": {
"caps": "video/x-h264:\n stream-format: { (string)avc, (string)avc3, (string)byte-stream }\n alignment: au\n profile: { (string)high, (string)main, (string)constrained-high, (string)constrained-baseline, (string)baseline }\n framerate: [ 0/1, 2147483647/1 ]\n width: [ 48, 4096 ]\n height: [ 16, 4096 ]\n", "caps": "video/x-h264:\n stream-format: { (string)avc, (string)avc3, (string)byte-stream }\n alignment: au\n profile: { (string)high, (string)main, (string)constrained-high, (string)constrained-baseline, (string)baseline, (string)progressive-high }\n framerate: [ 0/1, 2147483647/1 ]\n width: [ 48, 4096 ]\n height: [ 16, 4096 ]\n",
"direction": "sink", "direction": "sink",
"presence": "always" "presence": "always"
}, },

View file

@ -1075,7 +1075,7 @@ gst_nv_h264_dec_register (GstPlugin * plugin, guint device_id,
cdata->sink_caps = gst_caps_from_string ("video/x-h264, " cdata->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, " "alignment= (string) au, "
"profile = (string) { high, main, constrained-high, constrained-baseline, baseline }, " "profile = (string) { high, main, constrained-high, constrained-baseline, baseline, progressive-high }, "
"framerate = " GST_VIDEO_FPS_RANGE); "framerate = " GST_VIDEO_FPS_RANGE);
s = gst_caps_get_structure (sink_caps, 0); s = gst_caps_get_structure (sink_caps, 0);