mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
ssrcdemux: fix comparison
A NULL means no pad was found.
This commit is contained in:
parent
121c001437
commit
c611bbaa8e
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ gst_rtp_ssrc_demux_clear_ssrc (GstRtpSsrcDemux * demux, guint32 ssrc)
|
||||||
|
|
||||||
GST_PAD_LOCK (demux);
|
GST_PAD_LOCK (demux);
|
||||||
dpad = find_demux_pad_for_ssrc (demux, ssrc);
|
dpad = find_demux_pad_for_ssrc (demux, ssrc);
|
||||||
if (dpad != NULL)
|
if (dpad == NULL)
|
||||||
goto unknown_pad;
|
goto unknown_pad;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (demux, "clearing pad for SSRC %08x", ssrc);
|
GST_DEBUG_OBJECT (demux, "clearing pad for SSRC %08x", ssrc);
|
||||||
|
|
Loading…
Reference in a new issue