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:
64ea751
)
va: h264dec: admit baseline if stream obeys A.2
author
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Mon, 16 Nov 2020 15:29:46 +0000
(16:29 +0100)
committer
Seungha Yang
<seungha@centricular.com>
Tue, 17 Nov 2020 10:57:35 +0000
(19:57 +0900)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1812>
sys/va/gstvah264dec.c
patch
|
blob
|
history
diff --git
a/sys/va/gstvah264dec.c
b/sys/va/gstvah264dec.c
index
c2d5388
..
1ea00e9
100644
(file)
--- a/
sys/va/gstvah264dec.c
+++ b/
sys/va/gstvah264dec.c
@@
-571,7
+571,9
@@
_get_profile (GstVaH264Dec * self, const GstH264SPS * sps, gint max_dpb_size)
switch (sps->profile_idc) {
case GST_H264_PROFILE_BASELINE:
- if (sps->constraint_set1_flag) { /* A.2.2 (main profile) */
+ /* A.2 compliant */
+ if (sps->constraint_set0_flag || sps->constraint_set1_flag
+ || sps->constraint_set2_flag) {
profiles[i++] = VAProfileH264ConstrainedBaseline;
profiles[i++] = VAProfileH264Main;
}