unref event
authorWim Taymans <wim.taymans@gmail.com>
Mon, 8 Jul 2002 19:32:49 +0000 (19:32 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 8 Jul 2002 19:32:49 +0000 (19:32 +0000)
Original commit message from CVS:
unref event

ext/lame/gstlame.c

index e7f9d5d..7e7d2e1 100644 (file)
@@ -692,7 +692,7 @@ gst_lame_chain (GstPad *pad, GstBuffer *buf)
         mp3_data = g_malloc (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; 
       default:
        gst_pad_event_default (pad, GST_EVENT (buf));