[MPlayer-dev-eng] [PATCH] new argument "-savepos" to save position on quit command (now with attachment :-)

Andreas Mair Andreas.Mair at linogate.com
Tue Sep 3 13:50:04 CEST 2002


Hi,

I wrote this patch because if I watch e.g DivX files I'm sometimes not able to 
watch the movie to its end at once. So when I wanted to continue the movie 
later I had to ffwd to that position. Now I call it with "-savepos" and my 
VDR mplayer start script looks for the file's saved position and passes its 
content to "-ss".

* This patch works only if a file <path/file>.pos can be created.
* DVD/VCD etc. is not supported.
* The .pos files is deleted on startup if "-savepos" is given, so if the movie 
is watched to its end no .pos file exists.

Kind regards,
Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-savepos.diff
Type: text/x-diff
Size: 2892 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020903/114c1b06/attachment.diff>


More information about the MPlayer-dev-eng mailing list