Mercurial > mplayer.hg
diff gui/ui/actions.c @ 36274:ba5fa3e71247
Keep paused mode when changing the aspect ratio.
Patch by Hans-Dieter Kosch, hdkosch kabelbw de.
author | ib |
---|---|
date | Sat, 27 Jul 2013 23:48:16 +0000 |
parents | aa0011dfbfdc |
children | f7ef757c95c0 |
line wrap: on
line diff
--- a/gui/ui/actions.c Sat Jul 27 23:07:46 2013 +0000 +++ b/gui/ui/actions.c Sat Jul 27 23:48:16 2013 +0000 @@ -93,7 +93,7 @@ int iparam = (int)param, osd; mixer_t *mixer = mpctx_get_mixer(guiInfo.mpcontext); float aspect; - char cmd[32]; + char cmd[40]; switch (ev) { /* user events */ @@ -443,7 +443,7 @@ aspect = -1; } - snprintf(cmd, sizeof(cmd), "switch_ratio %f", aspect); + snprintf(cmd, sizeof(cmd), "pausing_keep switch_ratio %f", aspect); mp_input_queue_cmd(mp_input_parse_cmd(cmd)); break;