mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
82fb55bdff
... when gst_video_decoder_finish_frame() is called. Some subclasses attach GstBuffer to GstH264Picture as an user data which will increase reference count of the buffer. It would result to buffer copy per every frame. Background here is, GstVideoDecoder wants writable output buffer for GstMeta handling, and if the output buffer is not writable (i.e., reference count is not one), the buffer will be copied. Even if underlying GstMemory wouldn't be copied, buffer copy operation will introduce extra memory allocation overhead which is not optimal. By this modification, subclass might be able to receive the last reference to GstH264Picture Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1449> |
||
---|---|---|
.. | ||
codecs-prelude.h | ||
gsth264decoder.c | ||
gsth264decoder.h | ||
gsth264picture.c | ||
gsth264picture.h | ||
gsth265decoder.c | ||
gsth265decoder.h | ||
gsth265picture.c | ||
gsth265picture.h | ||
gstvp8decoder.c | ||
gstvp8decoder.h | ||
gstvp8picture.c | ||
gstvp8picture.h | ||
gstvp9decoder.c | ||
gstvp9decoder.h | ||
gstvp9picture.c | ||
gstvp9picture.h | ||
meson.build |