[MPlayer-dev-eng] [PATCH] changing audio_delay with OSD menu
Ulion
ulion2002 at gmail.com
Sat Jan 5 02:41:59 CET 2008
2008/1/5, Davide Capodaglio <davidecapod at inwind.it>:
> Now it is more compact.
> Sorry but I don't like the mixing of spaces and tabs used... :-)
>
> --- command.c.orig 2008-01-04 20:43:24.000000000 +0100
> +++ command.c 2008-01-04 20:44:12.000000000 +0100
> @@ -507,11 +507,10 @@
> return M_PROPERTY_UNAVAILABLE;
> switch (action) {
> case M_PROPERTY_SET:
> - case M_PROPERTY_STEP_UP:
> - case M_PROPERTY_STEP_DOWN:
> if (!arg)
> return M_PROPERTY_ERROR;
> - else {
> + case M_PROPERTY_STEP_UP:
> + case M_PROPERTY_STEP_DOWN: {
> float delay = audio_delay;
> m_property_delay(prop, action, arg, &audio_delay);
> if (mpctx->sh_audio)
>
Commited with slight difference to fix this bug.
--
Ulion
More information about the MPlayer-dev-eng
mailing list