mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
bugfix: don't unref event twice
Original commit message from CVS: bugfix: don't unref event twice
This commit is contained in:
parent
b5a22d8630
commit
2b473441ca
1 changed files with 0 additions and 1 deletions
|
@ -1168,7 +1168,6 @@ sink_restart:
|
||||||
pad->buf = gst_pad_pull (pad->pad);
|
pad->buf = gst_pad_pull (pad->pad);
|
||||||
if (GST_IS_EVENT (pad->buf)) {
|
if (GST_IS_EVENT (pad->buf)) {
|
||||||
gboolean cont = gst_alsa_sink_check_event (this, i, GST_EVENT (pad->buf));
|
gboolean cont = gst_alsa_sink_check_event (this, i, GST_EVENT (pad->buf));
|
||||||
gst_data_unref (GST_DATA (pad->buf));
|
|
||||||
pad->buf = NULL;
|
pad->buf = NULL;
|
||||||
if (cont)
|
if (cont)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue