[MPlayer-dev-eng] [PATCH] Report the reason to exit for -identify

rvm rvm3000 at ya.com
Mon Nov 10 01:08:15 CET 2008


El Lunes, 3 de Noviembre de 2008 00:35, rvm escribió:
> Frontends may need to know the reason for what mplayer has exited (quitted
> by the user, end of file...). It already prints that info with these
> messages:
>
> Exiting... (Quit)
> Exiting... (End of file)
>
> The problem is that those strings are translatable strings. So if mplayer
> is compiled with another language as default, it will print other strings,
> making things harder for frontends.
>
> To fix the problem I suggest that mplayer would also print some strings for
> -identify, for example:
>
> ID_EXIT=QUIT
> ID_EXIT=EOF
> ID_EXIT=ERROR
>
> I attach a patch which does that. Although probably it's not implemented in
> the right way...

No comments?

-- 
rvm



More information about the MPlayer-dev-eng mailing list