[MPlayer-dev-eng] [PATCH] continue play (dvd)
Ötvös Attila
oattila at chello.hu
Fri Jan 11 11:45:53 CET 2008
Ezzel a dátummal: Thursday 10 January 2008 16.30.43 Nico Sabbi ezt írta:
Hi Nico Sabbi!
> 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
OK. I rewrited. Now allow all seekable file and dvd stream.
Flags/param:
-continue/-nocontinue (default disable)
Enable/disable this function.
-continue-filesnum <num> (1-1000, default: 50)
Stored maximum continue files number.
Store files info to ~.mplayer/cntplay.conf if user exit in mplayer:
- stream type
- file name or DVD id
- file size
- continue pts pos
- video_id
- audio_id
- dvdsub_id
Store special stream info to:
~.mplayer/cntplay/cnt-<streamtype>-<streamname>-<uiqueid>.dat
if need.
Later will store dvdnav special info (eg.: dvdnav registers) so that reopen so
be is correct (eg.: restore point in menu or status stored in registers).
Restore dvd title - only don't set title: 'dvd://' -, position, video, audio,
subtitle and angle if user open this dvd. This patch don't restore postion if
different DVD title.
Best regards!
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: continue.patch
Type: text/x-diff
Size: 23309 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080111/a55920b7/attachment.patch>
More information about the MPlayer-dev-eng
mailing list