Segment seek
Mikl
michael.yarochkin at timetronics.be
Thu Nov 30 12:43:30 UTC 2017
Hello, Nicolas
Looks like i have to do it like this:
0) pipeline is paused
1) start playback pipeline
2) gst_element_seek( _pipeline,
1,
GST_FORMAT_TIME,
*GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_SEGMENT*,
GST_SEEK_TYPE_SET,
segmentStart,
GST_SEEK_TYPE_SET,
segmentEnd)
3) wait for GST_MESSAGE_SEGMENT_DONE
4) gst_element_seek( _pipeline,
1,
GST_FORMAT_TIME,
*GST_SEEK_FLAG_SEGMENT*,
GST_SEEK_TYPE_SET,
segmentStart,
GST_SEEK_TYPE_SET,
segmentEnd)
5) wait for GST_MESSAGE_SEGMENT_DONE
6) read buffers (i can start already in between 4 and 4)
7) pipeline is pausing (itself)
Can you confirm, please?
Mikl
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list