gstreamer/gst-libs/gst
Nicolas Dufresne 6523c5bcb6 h264decoder: Add ability to lookup by system_frame_number
This is to avoid having to create a reference chain in decoders from
GstVideoCodecFrame to GstH264PIcture to implementation wrapper.

So this change introduces:

 - gst_h264_dpb_remove_outputed (dpb)
 - gst_h264_dpb_get_picture(dpb, system_frame_num)
 - gst_h264_decoder_get_picture (dec, system_frame_num)

In order to ensure that frames can be looked up during the draining
process, we now first remove all (including reference) frames that
have been outputed but are still in the DPB. Then for each remaining
buffers, we remove it from the DPB to reach reference 1 and output it.

Previously we could take all not outputed outside of the DPB which would
prevent lookup by the base class.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1449>
2020-07-21 17:18:42 +09:00
..
adaptivedemux adaptivedemux: Handle live duration queries 2020-06-08 08:44:27 +00:00
audio openmpt: Namespace enum GType names 2020-06-23 13:02:57 -04:00
basecamerabinsrc docs: Unmark wrongly marked plugin API types 2020-06-23 13:02:57 -04:00
codecparsers h265parser: Fix possible invalid memory access 2020-07-14 16:34:46 +00:00
codecs h264decoder: Add ability to lookup by system_frame_number 2020-07-21 17:18:42 +09:00
insertbin Remove autotools build system 2019-10-14 13:54:27 +01:00
interfaces photography: Add additional settings relevant to Android 2019-11-18 23:10:04 +00:00
isoff Remove autotools build system 2019-10-14 13:54:27 +01:00
mpegts tsdemux: Add support for AC4 2020-03-09 21:54:09 +00:00
opencv opencv: suppress another warning about non-existent include dirs 2020-07-15 09:49:07 +00:00
player remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
sctp Remove autotools build system 2019-10-14 13:54:27 +01:00
transcoder remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
uridownloader remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
vulkan docs: mark more types as plugin API 2020-06-23 12:10:17 -04:00
wayland build: Fix build on systems with wayland-client headers in non-default location 2020-03-04 07:10:39 +00:00
webrtc webrtc: Add Since: 1.18 markers to the new datachannel library API 2020-06-03 10:32:00 +03:00
gettext.h Fix FSF address 2012-11-04 00:09:59 +00:00
glib-compat-private.h Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
gst-i18n-plugin.h Fix FSF address 2012-11-04 00:09:59 +00:00
meson.build Move CODEC base classes into it's own library 2020-03-05 03:06:16 +00:00