mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
rtspclientsink: fix extra unref of custom payloader
This commit is contained in:
parent
fcf71d8efb
commit
7f6367cc63
1 changed files with 2 additions and 1 deletions
|
@ -1239,7 +1239,8 @@ gst_rtsp_client_sink_setup_payloader (GstRTSPClientSink * sink, GstPad * pad,
|
|||
no_sinkpad:
|
||||
GST_ERROR_OBJECT (sink,
|
||||
"Could not find sink pad on payloader %" GST_PTR_FORMAT, payloader);
|
||||
gst_object_unref (payloader);
|
||||
if (!cspad->custom_payloader)
|
||||
gst_object_unref (payloader);
|
||||
return FALSE;
|
||||
|
||||
no_srcpad:
|
||||
|
|
Loading…
Reference in a new issue