mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
srtpdec: fix buffers being dropped due to shadowed variable
Spotted by gstblub@gmail.com. https://bugzilla.gnome.org/show_bug.cgi?id=706091
This commit is contained in:
parent
7f21226956
commit
b8f9d674be
1 changed files with 1 additions and 2 deletions
|
@ -617,8 +617,7 @@ request_key_with_signal (GstSrtpDec * filter, guint32 ssrc, gint signal)
|
||||||
caps = signal_get_srtp_params (filter, ssrc, signal);
|
caps = signal_get_srtp_params (filter, ssrc, signal);
|
||||||
|
|
||||||
if (caps) {
|
if (caps) {
|
||||||
GstSrtpDecSsrcStream *stream =
|
stream = update_session_stream_from_caps (filter, ssrc, caps);
|
||||||
update_session_stream_from_caps (filter, ssrc, caps);
|
|
||||||
if (stream)
|
if (stream)
|
||||||
GST_DEBUG_OBJECT (filter, "New stream set with SSRC %d", ssrc);
|
GST_DEBUG_OBJECT (filter, "New stream set with SSRC %d", ssrc);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue