Marton Balint (2018-12-09): > Seeking will only work in the special case I provided in the commit message, > when we always seek back to the beginning and otherwise read the referenced > files continously. > > In theory, when we are in "seekable" state then if we detect a duration > change we could indeed update all subsequent start times to provide proper > timestamps for seeking, but I did not need this for my purpose, and I am not > sure if it's worth the extra code needed.
I am really not comfortable with leaving the loaded gun of the seekable flag if it does not work reliably. I think at the very least the code should detect a file change, emit a warning and invalidate all subsequent durations. Note that if all you are interested in is seeking to the beginning of the virtual file, it can always work. I would not object to a special case in the seek code for that. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel