summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gsth265parse.h
diff options
context:
space:
mode:
authorSeungha Yang <seungha.yang@navercorp.com>2018-11-23 11:51:04 +0900
committerNicolas Dufresne <nicolas@ndufresne.ca>2018-11-30 02:19:17 +0000
commit68a5697c1a014051fb7a07aed0bb5dde7d45f9b0 (patch)
treec9b84e9fde14e3f4572568aedae737eb74c33e49 /gst/videoparsers/gsth265parse.h
parent4f7fe897b9be77c983f935538d30a5c90cecc947 (diff)
downloadgstreamer-plugins-bad-68a5697c1a014051fb7a07aed0bb5dde7d45f9b0.tar.gz
h265parse: Don't duplicate VPS/SPS/PPS per config-interval if exists
Don't need to manually insert VPS/SPS/PPS since inband data could be useable. Also fixes #824
Diffstat (limited to 'gst/videoparsers/gsth265parse.h')
-rw-r--r--gst/videoparsers/gsth265parse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth265parse.h b/gst/videoparsers/gsth265parse.h
index eb82f6ffd..d27aac358 100644
--- a/gst/videoparsers/gsth265parse.h
+++ b/gst/videoparsers/gsth265parse.h
@@ -76,6 +76,11 @@ struct _GstH265Parse
gboolean have_sps;
gboolean have_pps;
+ /* per frame vps/sps/pps check for periodic push codec decision */
+ gboolean have_vps_in_frame;
+ gboolean have_sps_in_frame;
+ gboolean have_pps_in_frame;
+
/* collected SPS and PPS NALUs */
GstBuffer *vps_nals[GST_H265_MAX_VPS_COUNT];
GstBuffer *sps_nals[GST_H265_MAX_SPS_COUNT];