mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
Clean up the last buffers.
Original commit message from CVS: Clean up the last buffers.
This commit is contained in:
parent
9932edd78d
commit
124791bc84
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue