From bb6165342db0ba60fefa97afe770b393fd6cb463 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 7 Dec 2013 19:32:44 +0100 Subject: 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. --- video/decode/dec_video.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/decode/dec_video.h') 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 -- cgit v1.2.3