projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db29fc
)
nvh264sldec: Allow constrained-baseline and baseline profiles
author
Seungha Yang
<seungha@centricular.com>
Wed, 29 Apr 2020 17:25:35 +0000
(
02:25
+0900)
committer
Seungha Yang
<seungha@centricular.com>
Wed, 29 Apr 2020 17:36:34 +0000
(
02:36
+0900)
Like d3d11h264dec, we need to relax the condition for profiles of nvh264sldec
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1228>
sys/nvcodec/gstnvh264dec.c
patch
|
blob
|
history
diff --git
a/sys/nvcodec/gstnvh264dec.c
b/sys/nvcodec/gstnvh264dec.c
index ad1c558b4c73c49434d518d567f2ce861482eded..940bbef8398388c8d1e245598462a31e6a2e5193 100644
(file)
--- a/
sys/nvcodec/gstnvh264dec.c
+++ b/
sys/nvcodec/gstnvh264dec.c
@@
-1026,7
+1026,8
@@
gst_nv_h264_dec_register (GstPlugin * plugin, guint device_id, guint rank,
cdata = g_new0 (GstNvH264DecClassData, 1);
cdata->sink_caps = gst_caps_from_string ("video/x-h264, "
"stream-format= (string) { avc, avc3, byte-stream }, "
- "alignment= (string) au, profile = (string) { high, main }, "
+ "alignment= (string) au, "
+ "profile = (string) { high, main, constrained-baseline, baseline }, "
"framerate = " GST_VIDEO_FPS_RANGE);
s = gst_caps_get_structure (sink_caps, 0);