mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Fix a warning
Original commit message from CVS: Fix a warning
This commit is contained in:
parent
6f35e4fcbe
commit
d43be4033e
1 changed files with 2 additions and 2 deletions
|
@ -1061,11 +1061,11 @@ gst_avimux_stop_file (GstAviMux *avimux)
|
|||
header = gst_avimux_riff_get_avi_header(avimux);
|
||||
event = gst_event_new_seek (GST_FORMAT_BYTES |
|
||||
GST_SEEK_METHOD_SET, 0);
|
||||
gst_pad_send_event(GST_PAD_PEER(avimux->srcpad), event);
|
||||
gst_pad_push(avimux->srcpad, GST_BUFFER(event));
|
||||
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);
|
||||
gst_pad_push(avimux->srcpad, GST_BUFFER(event));
|
||||
|
||||
avimux->write_header = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue