mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
ivfparse: Send an initial NEWSEGMENT event
This commit is contained in:
parent
820c8f9ed1
commit
1a95b29115
1 changed files with 3 additions and 0 deletions
|
@ -215,6 +215,9 @@ gst_ivfparse_chain (GstPad * pad, GstBuffer * buf)
|
||||||
ivf->rate_num = rate_num;
|
ivf->rate_num = rate_num;
|
||||||
ivf->rate_den = rate_den;
|
ivf->rate_den = rate_den;
|
||||||
|
|
||||||
|
gst_pad_push_event (ivf->srcpad, gst_event_new_new_segment (FALSE, 1.0,
|
||||||
|
GST_FORMAT_TIME, 0, -1, 0));
|
||||||
|
|
||||||
/* move along */
|
/* move along */
|
||||||
ivf->state = GST_IVFPARSE_DATA;
|
ivf->state = GST_IVFPARSE_DATA;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue