Clean up the last buffers.

Original commit message from CVS:
Clean up the last buffers.
This commit is contained in:
Wim Taymans 2001-12-23 02:55:39 +00:00
parent 9932edd78d
commit 124791bc84

View file

@ -180,6 +180,8 @@ gst_mad_input (void *user_data,
break;
case GST_EVENT_EOS:
gst_element_set_state (GST_ELEMENT (mad), GST_STATE_PAUSED);
gst_buffer_unref (buffer);
buffer = NULL;
break;
default:
g_warning ("Don't know how to cope with event type %d",