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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue May 20 22:03:50 CEST 2014


On Tue, May 20, 2014 at 09:56:57PM +0200, Davide Baldo wrote:
> This improvement allow to download and watch a file at the same time
> without having to re-open mplayer to refresh the end_pos of the stream.
> I'm not sure about the impact of lseek() at each read, should be trivial in
> any OS but i'm not sure about it.
> I attached the patch as well.

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.


More information about the MPlayer-dev-eng mailing list