[MPlayer-dev-eng] [PATCH] continue play (dvd)
Nico Sabbi
Nicola.Sabbi at poste.it
Thu Jan 10 16:30:43 CET 2008
Il Thursday 10 January 2008 16:23:45 Ötvös Attila ha scritto:
> Hi All!
>
> This patch allow continue play from last movie position.
> Now allow only dvd stream.
>
> Flags: -continue/-nocontinue
> (default disable)
>
> Store dvd stream info to ~.mplayer/cnt-dvd-[diskid].dat if user
> exit in mplayer.
> Restore dvd title - only don't set title: 'dvd://' -, position,
> video, audio and subtitle from ~.mplayer/cnt-dvd-[diskid].dat if
> user open this dvd. This patch don't restore postion if different
> DVD title.
>
> Best regards!
>
> Attila
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
More information about the MPlayer-dev-eng
mailing list