Actually push the event over to the next element instead of leaving it into eternity...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sat, 7 Jun 2003 00:19:56 +0000 (00:19 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sat, 7 Jun 2003 00:19:56 +0000 (00:19 +0000)
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

gst/avi/gstavimux.c

index 6d81657..c54700b 100644 (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;
 }