rtpssrcdemux: Unknown SSRC is not fatal

https://bugzilla.gnome.org/show_bug.cgi?id=646966
This commit is contained in:
Pascal Buhler 2010-08-24 13:57:55 +02:00 committed by Olivier Crête
parent 58ef84846e
commit 0d2d52856f

View file

@ -383,8 +383,10 @@ gst_rtp_ssrc_demux_clear_ssrc (GstRtpSsrcDemux * demux, guint32 ssrc)
GST_PAD_LOCK (demux);
dpad = find_demux_pad_for_ssrc (demux, ssrc);
if (dpad == NULL)
if (dpad == NULL) {
GST_PAD_UNLOCK (demux);
goto unknown_pad;
}
GST_DEBUG_OBJECT (demux, "clearing pad for SSRC %08x", ssrc);
@ -408,7 +410,7 @@ gst_rtp_ssrc_demux_clear_ssrc (GstRtpSsrcDemux * demux, guint32 ssrc)
/* ERRORS */
unknown_pad:
{
g_warning ("unknown SSRC %08x", ssrc);
GST_WARNING_OBJECT (demux, "unknown SSRC %08x", ssrc);
return;
}
}