mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
parent
9dcb60822f
commit
a49a248fff
1 changed files with 5 additions and 0 deletions
|
@ -1673,6 +1673,7 @@ gst_avi_mux_start_file (GstAviMux * avimux)
|
|||
GstFlowReturn res;
|
||||
GstBuffer *header;
|
||||
GSList *node;
|
||||
GstCaps *caps;
|
||||
|
||||
avimux->total_data = 0;
|
||||
avimux->total_frames = 0;
|
||||
|
@ -1715,6 +1716,10 @@ gst_avi_mux_start_file (GstAviMux * avimux)
|
|||
}
|
||||
}
|
||||
|
||||
caps = gst_caps_copy (gst_pad_get_pad_template_caps (avimux->srcpad));
|
||||
gst_pad_set_caps (avimux->srcpad, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
/* 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));
|
||||
|
|
Loading…
Reference in a new issue