diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-03-31 06:19:29 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:41:05 +0300 |
commit | 9db0c118d3acee07880472e590dc0a25e5b51be6 (patch) | |
tree | f7b1664d28d5300bde7f863c8d32324a427112d2 /command.c | |
parent | f894294bae1ff9b2c1802a5ae7e73cfdbc26e645 (diff) |
Start of new option system
First part of option restructuring. The aim is to move option values
from a huge number of separate globals to a single non-global struct.
This part adds some support for parsing option values into such struct
instances, and moves one example option (fixed-vo) to the struct.
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -903,7 +903,7 @@ static int mp_property_video(m_option_t * prop, int action, void *arg, || (video_id > -1 && mpctx->demuxer->video->id != current_id && current_id != -2)) uninit_player(INITIALIZED_VCODEC | - (fixed_vo && video_id != -2 ? 0 : INITIALIZED_VO)); + (mpctx->opts.fixed_vo && video_id != -2 ? 0 : INITIALIZED_VO)); if (video_id > -1 && mpctx->demuxer->video->id != current_id) { sh_video_t *sh2; sh2 = mpctx->demuxer->v_streams[mpctx->demuxer->video->id]; |