[MPlayer-users] Slave mode - detecting end of file.

Edd Barrett vext01 at gmail.com
Mon Feb 28 12:17:56 CET 2011


2011/2/28 Phil Rhodes <phil_rhodes at rocketmail.com>:
>
>>> A: 299.2 (04:59.2) of 299.0 (04:59.0)  1.5%
>
> There are certainly situations where this never actually appears.

Yup.

If you look at mplayer.c (trunk) line 3082, we see that when nothing
is playing, mplayer will only respond to:
MP_CMD_LOADFILE, MP_CMD_LOADLIST, MP_CMD_QUIT, MP_CMD_VO_FULLSCREEN,
MP_CMD_GET_PROPERTY,  MP_CMD_SET_PROPERTY, MP_CMD_STEP_PROPERTY.

I am going to reccommend it responds to MP_CMD_GET_FILENAME too.

Will have a diff soon (if it works), but I am snowed under with real
work, so bear with me.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


More information about the MPlayer-users mailing list