diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 13:58:12 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-26 01:19:29 +0300 |
commit | 0885f4e5b560ced9e2a37f3057f8167510195750 (patch) | |
tree | 3d23855174d87cbb92e9ff320faf34755a324382 /mplayer.c | |
parent | e08c8d63789ff674b84075ddc18ec2a09d1deef7 (diff) | |
download | mpv-0885f4e5b560ced9e2a37f3057f8167510195750.tar.bz2 mpv-0885f4e5b560ced9e2a37f3057f8167510195750.tar.xz |
Move vf_settings to options struct
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2170,9 +2170,9 @@ int reinit_video_chain(struct MPContext *mpctx) if(ass_enabled) { int i; int insert = 1; - if (vf_settings) - for (i = 0; vf_settings[i].name; ++i) - if (strcmp(vf_settings[i].name, "ass") == 0) { + if (opts->vf_settings) + for (i = 0; opts->vf_settings[i].name; ++i) + if (strcmp(opts->vf_settings[i].name, "ass") == 0) { insert = 0; break; } @@ -2189,7 +2189,7 @@ int reinit_video_chain(struct MPContext *mpctx) } #endif - sh_video->vfilter=(void*)append_filters(sh_video->vfilter); + sh_video->vfilter=(void*)append_filters(sh_video->vfilter, opts->vf_settings); #ifdef USE_ASS if (ass_enabled) |