gstreamer/subprojects/gst-rtsp-server/examples
Michael Gruner 49eba42e08 gst-rtsp-server: Fix leak in appsrc2 example
In the need-data appsrc callback, a buffer is pulled from the
appsink. This buffer is then copied so that metadata is writable.
The copy is pushed to the appsrc but it doesn't take ownership
of the buffer so we need to manually unref it. The original buffer
is finally unreffed when the sample is freed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1548>
2022-01-24 01:25:57 +00:00
..
meson.build
test-appsrc.c
test-appsrc2.c
test-auth-digest.c
test-auth.c
test-cgroups.c
test-launch.c
test-mp4.c
test-multicast.c
test-multicast2.c
test-netclock-client.c
test-netclock.c
test-ogg.c
test-onvif-backchannel.c
test-onvif-client.c
test-onvif-server.c
test-onvif-server.h
test-readme.c
test-record-auth.c
test-record.c
test-replay-server.c
test-replay-server.h
test-sdp.c
test-uri.c
test-video-disconnect.c
test-video-rtx.c
test-video.c