summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-10 19:07:29 +0100
committerwm4 <wm4@nowhere>2013-12-10 20:07:39 +0100
commit9838bf55657c3944150afec44668c3c3b559c1ff (patch)
tree6c4b37bddb6a7594a7abe361f2c5d2bad1280039 /video/decode/lavc.h
parent218b9d3737134a9f619c49992a5fb34ad9e3733b (diff)
downloadmpv-9838bf55657c3944150afec44668c3c3b559c1ff.tar.bz2
mpv-9838bf55657c3944150afec44668c3c3b559c1ff.tar.xz
video: move video filter chain initialization from decoder to player
This should help fixing some issues (like not draining video frames correctly on reinit), as well as decoupling the decoder, filter chain, and VO code. I also wanted to make the hardware video decoding fallback work properly if software-only video filters are inserted. This currently has the issue that the fallback is too violent, and throws away a bunch of demuxer packets needed to restart software decoding properly. But keeping "backup" packets turned out as too hacky, so I'm not doing this, at least not yet.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index 5007b80a0f..c623700089 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -30,8 +30,6 @@ typedef struct lavc_ctx {
enum AVPixelFormat pix_fmt;
int do_hw_dr1;
int best_csp;
- struct mp_image_params image_params;
- struct mp_image_params vo_image_params;
enum AVDiscard skip_frame;
const char *software_fallback_decoder;