h265parser: Add APIs to allow update VPS/SPS/PPS
authorSeungha Yang <seungha@centricular.com>
Mon, 30 Mar 2020 06:42:35 +0000 (15:42 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 9 Apr 2020 19:33:56 +0000 (19:33 +0000)
commita2f68762b08a038b1c9f030aa9807b162de3656d
tree74cb452821ffae4f3457b881020f72a995d984f1
parenta61549cbdeb6db7175051bbe802d5bfad8bf1272
h265parser: Add APIs to allow update VPS/SPS/PPS

gst_h265_parser_parse_{vps,sps,pps} APIs were used to parse VPS/SPS/PPS and
also in order to update parser's internal state at once. Meanwhile
gst_h265_parse_{vps,sps,pps} APIs are to parse VPS/SPS/PPS without state update.
This commit introduces new APIs so that only accepted VPS/SPS/PPS by user
can be updated to be used by parser.
gst-libs/gst/codecparsers/gsth265parser.c
gst-libs/gst/codecparsers/gsth265parser.h