diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-07-22 21:07:46 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-07-22 21:07:46 +0000 |
commit | d43be4033e93ee391099c14f53fb4d1674ffed45 (patch) | |
tree | d280d3ef36617eda19e044c655e556d7ab37d031 /gst | |
parent | 6f35e4fcbe91ec9a10954cfd3165dd9a1726613f (diff) | |
download | gstreamer-plugins-good-d43be4033e93ee391099c14f53fb4d1674ffed45.tar.gz |
Fix a warning
Original commit message from CVS:
Fix a warning
Diffstat (limited to 'gst')
-rw-r--r-- | gst/avi/gstavimux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 9788dc3fb..f174f646f 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -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; } |