diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2008-05-13 20:25:20 +0000 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2008-05-13 20:25:20 +0000 |
commit | 94414c07a67cc0b9112651384bf516d74aef9551 (patch) | |
tree | ddcf9813260a9ab3e5dd54b0c85f23255d8dc955 /gst/avi/gstavimux.c | |
parent | 21556043d21ceaa19911a0bd35e13d47f800577d (diff) |
gst/avi/gstavimux.c: Send an initial BYTE segment to inform downstream of later seeking, and to forego sync attempts.
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_start_file):
Send an initial BYTE segment to inform downstream of later seeking,
and to forego sync attempts.
Diffstat (limited to 'gst/avi/gstavimux.c')
-rw-r--r-- | gst/avi/gstavimux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index c9a75bd9..f301e97e 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -1417,6 +1417,10 @@ gst_avi_mux_start_file (GstAviMux * avimux) } } + /* let downstream know we think in BYTES and expect to do seeking later on */ + gst_pad_push_event (avimux->srcpad, + gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES, 0, -1, 0)); + /* header */ avimux->avi_hdr.streams = g_slist_length (avimux->sinkpads); avimux->is_bigfile = FALSE; |