diff options
author | wm4 <wm4@nowhere> | 2016-01-14 00:18:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-14 00:18:36 +0100 |
commit | 5722f93a740e841cfe929980c7ac4d4f7896d9dc (patch) | |
tree | cf8c438e2a2fcec438d1a1ceb0816b138063e322 /player/core.h | |
parent | bf13bd0d47e5fc6761c51c6ba7056968e60bf4cd (diff) | |
download | mpv-5722f93a740e841cfe929980c7ac4d4f7896d9dc.tar.bz2 mpv-5722f93a740e841cfe929980c7ac4d4f7896d9dc.tar.xz |
video: refactor: shuffle code around
struct dec_video should have nothing to do with video filters or
outputs, and this huge chunk of code was somehow stuck directly in
dec_video.c.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index 5c5466a3ae..cb81c88b2e 100644 --- a/player/core.h +++ b/player/core.h @@ -512,6 +512,9 @@ void update_osd_msg(struct MPContext *mpctx); bool update_subtitles(struct MPContext *mpctx, double video_pts); // video.c +int video_get_colors(struct dec_video *d_video, const char *item, int *value); +int video_set_colors(struct dec_video *d_video, const char *item, int value); +int video_vf_vo_control(struct dec_video *d_video, int vf_cmd, void *data); void reset_video_state(struct MPContext *mpctx); int reinit_video_chain(struct MPContext *mpctx); int reinit_video_filters(struct MPContext *mpctx); |