[MPlayer-dev-eng] [PATCH] continue play (dvd)

Rich Felker dalias at aerifal.cx
Fri Jan 11 07:27:25 CET 2008


On Thu, Jan 10, 2008 at 04:30:43PM +0100, Nico Sabbi wrote:
> very hackish. I don't deny that this function would be useful,
> but this implementation should be replaced by something
> more general: saving somewhere the stream name
> and the time positions reported both by the stream layer
> and by the demuxer layer.
> In this manner the  "resume" command would work with
> all (or at least many more) stream types

Agree. All demuxer apis should also have a way to query and seek to
byte positions (or nearest keyframe before a byte position, etc.).
Not only would that be useful for resume, but also for seeking in
formats where timestamp-based seeking does not yet work well.

(No, -sb does not do this, it just truncates the beginning of the file
at the stream layer which fails for 99% of container formats.)

Rich



More information about the MPlayer-dev-eng mailing list