diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-24 07:36:43 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 03:34:28 +0300 |
commit | 60e2c8604d29963e8b4a4dc5f506a3886c58202d (patch) | |
tree | 816b4ecc2226d62d3bad9d084458026dbd1cf280 /command.c | |
parent | 0a39709c15890161388e6d32cceea2ff3350aa82 (diff) | |
download | mpv-60e2c8604d29963e8b4a4dc5f506a3886c58202d.tar.bz2 mpv-60e2c8604d29963e8b4a4dc5f506a3886c58202d.tar.xz |
Move movie_aspect to options struct
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2413,9 +2413,9 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) case MP_CMD_SWITCH_RATIO: if (cmd->nargs == 0 || cmd->args[0].v.f == -1) - movie_aspect = (float) sh_video->disp_w / sh_video->disp_h; + opts->movie_aspect = (float) sh_video->disp_w / sh_video->disp_h; else - movie_aspect = cmd->args[0].v.f; + opts->movie_aspect = cmd->args[0].v.f; mpcodecs_config_vo(sh_video, sh_video->disp_w, sh_video->disp_h, 0); break; |