gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Kevin Song 55926f0271 appsink: unref gstbuffer in prev sample early
Appsink will unref prev sample in dispose function. Which is later
when V4L2 video decoder link with appsink as V4L2 video decoder
will close V4L2 device fd during GST_STATE_CHANGE_READY_TO_NULL.
If the video buffer return to V4L2 video decoder after the decoder
closed V4L2 device fd, V4L2 can't release the video frame buffer
which allocated with MMAP mode as application can't call
VIDIOC_REQBUFS 0 to release the video frame buffer by V4L2 driver.
The memory of the video frame will leak.
Unref the gstbuffer in stop() function, so V4L2 video decoder
can received all video frame buffers and release it before close
V4L2 device fd.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4818>
2023-06-09 13:13:17 +00:00
..
allocators gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
app appsink: unref gstbuffer in prev sample early 2023-06-09 13:13:17 +00:00
audio gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl gl: EGL image methods to import dmabufs with modifiers 2023-05-30 20:09:27 +00:00
pbutils pbutils: discoverer: Mark gst_discoverer_stream_info_get_stream_id() as nullable 2023-05-08 15:26:58 +03:00
riff gst-plugins-base: Add FourCC and type description for FFVHuff video 2023-03-23 14:30:59 +00:00
rtp gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
rtsp gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
sdp sdp: Add API to remove media from a SDP message 2023-05-20 09:23:17 +01:00
tag gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
video video-info-dma: add gst_video_info_dma_drm_from_video_info() 2023-05-30 20:09:27 +00:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00