mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-11 08:52:39 +00:00
tests: rtspclientsink: fix leak
This commit is contained in:
parent
3d860913c6
commit
9238b7e19a
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ media_constructed_cb (GstRTSPMediaFactory * mfactory, GstRTSPMedia * media,
|
||||||
bin = gst_rtsp_media_get_element (media);
|
bin = gst_rtsp_media_get_element (media);
|
||||||
*p_sink = gst_bin_get_by_name (GST_BIN (bin), "sink");
|
*p_sink = gst_bin_get_by_name (GST_BIN (bin), "sink");
|
||||||
GST_INFO ("media constructed!: %" GST_PTR_FORMAT, *p_sink);
|
GST_INFO ("media constructed!: %" GST_PTR_FORMAT, *p_sink);
|
||||||
|
gst_object_unref (bin);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AUDIO_PIPELINE "audiotestsrc num-buffers=%d ! " \
|
#define AUDIO_PIPELINE "audiotestsrc num-buffers=%d ! " \
|
||||||
|
|
Loading…
Reference in a new issue