summaryrefslogtreecommitdiffstats
path: root/player/command.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-05 21:10:26 +0200
committerwm4 <wm4@nowhere>2016-07-05 21:10:26 +0200
commitd72bcc8041f1a5cc5ea92a9579aa2b07fd8b3b59 (patch)
tree3839d81a2319f6a6cf88b8d35df08fea9d5214d6 /player/command.h
parent329a7147d003f70a017ad6560a1b671b66ae2b62 (diff)
downloadmpv-d72bcc8041f1a5cc5ea92a9579aa2b07fd8b3b59.tar.bz2
mpv-d72bcc8041f1a5cc5ea92a9579aa2b07fd8b3b59.tar.xz
player: rewrite deinterlace filter auto-insertion
Instead of using the "vf" command code (which changes filters at runtime on user input), use the general filter-insertion code. The latter was added later, and is more suitable for automatically inserted filters. The old code failed in particular when using watch-later saving, which stored the filter list in the resume config file. If a user changed the hardware decoding mode via command line, the stored filter chain was out of date and could cause failure due to not working with hardware or software decoding mode. Storing the deinterlace filter in the filter list was unavoidable, because it was part of the user state. (The new code only edits the actually instantiated filters.)
Diffstat (limited to 'player/command.h')
-rw-r--r--player/command.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/player/command.h b/player/command.h
index 7c3994c39e..a233319ad7 100644
--- a/player/command.h
+++ b/player/command.h
@@ -59,7 +59,4 @@ void mp_hook_run(struct MPContext *mpctx, char *client, char *type);
void handle_ab_loop(struct MPContext *mpctx);
-void remove_deint_filter(struct MPContext *mpctx);
-void set_deinterlacing(struct MPContext *mpctx, bool enable);
-
#endif /* MPLAYER_COMMAND_H */