ivfparse: Send an initial NEWSEGMENT event
This commit is contained in:
parent
820c8f9ed1
commit
1a95b29115
@ -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…
x
Reference in New Issue
Block a user