regression in position queries when seeking in READY
@ensonic
Submitted by Stefan Kost Link to original bug (#733031)
Description
Something changed in gstreamer to break seek in READY again. The pipeline plays
from the right pos, but reports position starting from 0 instead of seek-pos.
Seeking in ready is important for me, when the user want to play from somewhere in the middle and/or wants to play in a loop. If I send the flushing seek in PAUSED it works, but then I preroll twice - once where gstreamer assumes playback will start at 0 (is open ended and not using the segment flag) and once for the actual segment.
I was iterating the pipeline in ready and sending the seek to each source-element (as e.g. bins were dropping the seek as the flags where flushing). Now this is not good anymore. Most likely something change with regard to segment initialization in bins.
Now of course seek-in-ready is not officially supported (maybe). So what can we do instead to actually make that use-case work?
a) I don't tink we can just add a new seek-flag
b) new seek-like event to init the segment?
c) ?
Version: 1.x