[MPlayer-dev-eng] [PATCH] refresh end_pos in stream_file.c

Scott W. Larson scowl at wballphotos.com
Tue May 20 22:39:19 CEST 2014


On 05/20/2014 01:03 PM, Reimar Döffinger wrote:
> This came up before: It should not be necessary. The end_pos will be 
> ignored/updated if we do not actually reach EOF at that point.

The OSD will show that you've reached EOF which is misleading if the 
file has grown since mplayer has started. I've been applying the 
attached patch for years to display the correct percentage of the 
remaining file but it only works for MPEG TS streams. There's probably a 
more general solution.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: percent_ts.diff
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20140520/4f8267df/attachment.bin>


More information about the MPlayer-dev-eng mailing list