codecs: Pass the max_dpb_size to new_segment virtual
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 13 Feb 2020 04:48:16 +0000 (23:48 -0500)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Thu, 5 Mar 2020 03:06:16 +0000 (03:06 +0000)
commitc6b8157dd63f95933d229a6446cc29a7b9220fba
tree6214132009fe6229c8f47e7d3106e5757e7b5af1
parentf3f60f5a4c080324279c103b28c5af14b532b213
codecs: Pass the max_dpb_size to new_segment virtual

On new_segment, the decoder is expected to negotiate. The decoder may want to
pre-allocate the needed buffers. Pass the max_dpb_size as this is needed to
determin how many buffers should be allocated.
gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth264decoder.h
sys/d3d11/gstd3d11h264dec.c