diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2021-02-15 12:26:30 +0000 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-02-15 12:46:22 +0000 |
commit | 8c496762f44562ec68c5deffa98f0c8623bb4179 (patch) | |
tree | 55a17fd3e04c6c2408869ddf76e5ab8a741708c7 | |
parent | 015e4dc8100a310b95390a4465e2227b89c93fb4 (diff) |
rtspclientsink: mark cached caps as maybe-leaked to make leaks tracer happy
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/190>
-rw-r--r-- | gst/rtsp-sink/gstrtspclientsink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp-sink/gstrtspclientsink.c b/gst/rtsp-sink/gstrtspclientsink.c index fa18e78..19ef7ec 100644 --- a/gst/rtsp-sink/gstrtspclientsink.c +++ b/gst/rtsp-sink/gstrtspclientsink.c @@ -1090,6 +1090,8 @@ gst_rtsp_client_sink_get_all_payloaders_caps (void) goto out; } + GST_MINI_OBJECT_FLAG_SET (caps, GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED); + out: g_once_init_leave (&ret, caps); } |