diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c index 9319fc377f..56c3e83515 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c @@ -2763,6 +2763,7 @@ gst_h265_parser_parse_slice_hdr (GstH265Parser * parser, return err; } + slice->pps_id = pps_id; slice->pps = pps; sps = pps->sps; if (!sps) { diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.h b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.h index e4677b114a..938eecfd25 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.h @@ -1556,6 +1556,15 @@ struct _GstH265SliceHdr * Since: 1.22 */ guint long_term_ref_pic_set_size; + + /** + * _GstH265SliceHdr.pps_id: + * + * PPS id + * + * Since: 1.28 + */ + guint pps_id; }; struct _GstH265PicTiming