Segment seek

Mikl michael.yarochkin at timetronics.be
Thu Nov 30 10:31:06 UTC 2017


Hello, Nicolas

Thank you for the answer.

I still can not do it. :(

Did i understand you correctly i have to do this:
0) pipeline is paused
1) gst_element_seek(	_pipeline,
		1,
		GST_FORMAT_TIME,
		*GST_SEEK_FLAG_FLUSH*,
		GST_SEEK_TYPE_SET,
		segmentStart,
		GST_SEEK_TYPE_END,
		0)
2) wait for GST_MESSAGE_ASYNC_DONE
3) gst_element_seek(	_pipeline,
		1,
		GST_FORMAT_TIME,
		*GST_SEEK_FLAG_SEGMENT*,
		GST_SEEK_TYPE_SET,
		segmentStart,
		GST_SEEK_TYPE_SET,
		segmentEnd)
4) wait for GST_MESSAGE_SEGMENT_DONE
5) start playback pipeline
6) read buffers


But app is freezing on (3)

What i am doing wrong?

Mikl



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list