diff options
author | wm4 <wm4@nowhere> | 2013-12-07 19:32:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-07 19:32:44 +0100 |
commit | bb6165342db0ba60fefa97afe770b393fd6cb463 (patch) | |
tree | e97e2a9ab048dd339ff6bfd7112ab9e23bb6e7e6 /video/decode/dec_video.h | |
parent | 75d3bf4711f88a79af5fd3246a9503dbd6e01586 (diff) | |
download | mpv-bb6165342db0ba60fefa97afe770b393fd6cb463.tar.bz2 mpv-bb6165342db0ba60fefa97afe770b393fd6cb463.tar.xz |
video: create a separate context for video filter chain
This adds vf_chain, which unlike vf_instance refers to the filter chain
as a whole. This makes the filter API less awkward, and will allow
handling format negotiation better.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r-- | video/decode/dec_video.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index 090b60bc1c..29e23ff322 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -30,9 +30,8 @@ struct mp_decoder_list; struct dec_video { struct MPOpts *opts; - struct vf_instance *vfilter; // video filter chain + struct vf_chain *vfilter; // video filter chain const struct vd_functions *vd_driver; - int vf_initialized; // -1 failed, 0 not done, 1 done long vf_reconfig_count; // incremented each mpcodecs_reconfig_vo() call struct mp_image_params vf_input; // video filter input params struct mp_hwdec_info hwdec_info; // video output hwdec handles |