From 8f2ccba71bb44cceb43436cbbabd6e42fc71925c Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 22 Aug 2017 19:08:07 +0200 Subject: video: change --deinterlace behavior This removes all GPL only code from it, and that's the whole purpose. Also happens to be much simpler. The "deinterlace" option still sort of exists, but only as runtime changeable option. The main change in behavior is that the property will not report back the actual deint state. Or in other words, if inserting or initializing the filter fails, the deinterlace property will still return "yes". This is in line with most recent behavior changes to properties and options. --- player/core.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index ea7e0c1ec1..1b08fed55b 100644 --- a/player/core.h +++ b/player/core.h @@ -612,7 +612,6 @@ bool update_subtitles(struct MPContext *mpctx, double video_pts); // video.c int video_get_colors(struct vo_chain *vo_c, const char *item, int *value); int video_set_colors(struct vo_chain *vo_c, const char *item, int value); -int video_vf_vo_control(struct vo_chain *vo_c, int vf_cmd, void *data); void reset_video_state(struct MPContext *mpctx); int init_video_decoder(struct MPContext *mpctx, struct track *track); void reinit_video_chain(struct MPContext *mpctx); @@ -624,8 +623,7 @@ void uninit_video_out(struct MPContext *mpctx); void uninit_video_chain(struct MPContext *mpctx); double calc_average_frame_duration(struct MPContext *mpctx); int init_video_decoder(struct MPContext *mpctx, struct track *track); -int get_deinterlacing(struct MPContext *mpctx); -void set_deinterlacing(struct MPContext *mpctx, int opt_val); +void recreate_auto_filters(struct MPContext *mpctx); // Values of MPOpts.softvol enum { -- cgit v1.2.3