gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecs
Seungha Yang 3e49ff0ff5 h265decoder: Drain decoder on new_sequence()
Holding previously decoded but not outputted pictures even after
new_sequence is not a safe approach in various aspect.
However, we cannot drain out DPB on new_sequence() unconditionally,
because there is a case where decoder should drop decoded pictures
if NoOutputOfPriorPicsFlag is set.

To detect NoOutputOfPriorPicsFlag before the new_sequence() call,
this patch splits decoding process into two path, one for nal unit parsing
in order to detect NoOutputOfPriorPicsFlag and then each nal unit
will be decoded.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1937>
2022-03-15 21:08:06 +00:00
..
codecs-prelude.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstav1decoder.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstav1decoder.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstav1picture.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstav1picture.h codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gsth264decoder.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gsth264decoder.h codecs: Stop claiming constness for refcounted object 2022-02-06 17:17:22 +00:00
gsth264picture.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gsth264picture.h codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gsth265decoder.c h265decoder: Drain decoder on new_sequence() 2022-03-15 21:08:06 +00:00
gsth265decoder.h codecs: h265decoder: Use GstFlowReturn everywhere 2021-10-04 20:56:46 +00:00
gsth265picture.c h265decoder: Remove unused pts variable 2022-03-15 21:08:06 +00:00
gsth265picture.h h265decoder: Drain decoder on new_sequence() 2022-03-15 21:08:06 +00:00
gstmpeg2decoder.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstmpeg2decoder.h codecs: Stop claiming constness for refcounted object 2022-02-06 17:17:22 +00:00
gstmpeg2picture.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstmpeg2picture.h codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvp8decoder.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvp8decoder.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvp8picture.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvp8picture.h codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvp9decoder.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvp9decoder.h codecs: vp9: Drop frames on non-keyframe format change 2021-12-02 19:19:59 +00:00
gstvp9picture.c codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvp9picture.h codecs: Rename picture clear functions 2022-03-11 20:20:17 +00:00
gstvp9statefulparser.c codecs: gstvp9{decoder|statefulparser}: optionally parse compressed headers 2021-11-29 17:41:19 +00:00
gstvp9statefulparser.h codecs: gstvp9{decoder|statefulparser}: optionally parse compressed headers 2021-11-29 17:41:19 +00:00
meson.build gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00