From c632e897a8fb4c0e266ceb1f059449d39189abd1 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 18 Dec 2004 14:06:35 +0000 Subject: add the flip filter at the end of the filter chain. Fixes -vf pp -flip and the flip option in the Gui. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14184 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index bc56293766..439cc8383a 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -253,7 +253,8 @@ csp_again: if(vo_flags&VFCAP_FLIPPED) flip^=1; if(flip && !(vo_flags&VFCAP_FLIP)){ // we need to flip, but no flipping filter avail. - sh->vfilter=vf=vf_open_filter(vf,"flip",NULL); + vf_add_before_vo(&vf, "flip", NULL); + sh->vfilter = vf; } // time to do aspect ratio corrections... -- cgit v1.2.3