mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
unref event
Original commit message from CVS: unref event
This commit is contained in:
parent
732f21f419
commit
000483cc8c
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ gst_lame_chain (GstPad *pad, GstBuffer *buf)
|
||||||
mp3_data = g_malloc (mp3_buffer_size);
|
mp3_data = g_malloc (mp3_buffer_size);
|
||||||
|
|
||||||
mp3_size = lame_encode_flush_nogap (lame->lgf, mp3_data, mp3_buffer_size);
|
mp3_size = lame_encode_flush_nogap (lame->lgf, mp3_data, mp3_buffer_size);
|
||||||
gst_event_free (GST_EVENT (buf));
|
gst_event_unref (GST_EVENT (buf));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
gst_pad_event_default (pad, GST_EVENT (buf));
|
gst_pad_event_default (pad, GST_EVENT (buf));
|
||||||
|
|
Loading…
Reference in a new issue