gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Kevin Song e8f9bd1649 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/4820>
2023-06-09 15:58:49 +01:00
..
allocators allocators: Add/fix various annotations 2022-10-18 13:51:17 +03:00
app appsink: unref gstbuffer in prev sample early 2023-06-09 15:58:49 +01:00
audio audio: channel-mix: Fix channel count limit to be able to equal 64 2023-02-14 11:51:25 +00:00
fft meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
gl Revert "meson: Install viv-fb GL headers, needed by i.MX" 2023-05-17 14:10:17 +00:00
pbutils pbutils: Fix vp9 mime mapping when caps when no chroma-site. 2022-11-16 01:29:50 +00:00
riff riff: Mark jpeg as parsed 2022-10-13 13:53:29 -04:00
rtp rtpbasedepayload: Drop redundant reference timestamp buffer meta in RTP depayloaders 2022-11-19 07:57:44 +00:00
rtsp rtsp: gstrtspurl: gst_rtsp_url_get_request_uri: use rtsps scheme for tls transport methods 2023-03-30 22:05:37 +00:00
sdp sdp: Skip source-specific caps fields when creating an SDP media from caps 2023-04-05 11:44:11 +00:00
tag tag: Add/fix various annotations 2022-10-18 13:51:17 +03:00
video video-blend: Fix linking error with C++ 2023-05-30 01:17:36 +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