Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting

Original commit message from CVS:
Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting
This commit is contained in:
Ronald S. Bultje 2003-06-07 00:19:56 +00:00
parent 3deabb351e
commit 2a0cef0c8b

View file

@ -1036,6 +1036,7 @@ gst_avimux_stop_file (GstAviMux *avimux)
gst_pad_push(avimux->srcpad, header);
event = gst_event_new_seek (GST_FORMAT_BYTES |
GST_SEEK_METHOD_SET, avimux->total_data);
gst_pad_push(avimux->srcpad, header);
avimux->write_header = TRUE;
}