[MPlayer-dev-eng] [PATCH] Add size based support for -endpos in MPlayer

Clément Bœsch ubitux at gmail.com
Sat Dec 25 16:56:50 CET 2010

A small patch to add size based support for -endpos in MPlayer. I tested
it with random videos, audio only files and -loop option and it seems to
work. Anything else I should test?

However, I don't understand why mpctx->sh_audio is tested when
mpctx->sh_video is NULL; is there a way to call the code around
mplayer.c:L3698 without having neither mpctx->sh_video and
mpctx->sh_audio? And then, does this mean mpctx->stream could be NULL?

Clément B.
Not sent from a jesusPhone.

More information about the MPlayer-dev-eng mailing list