diff libmpcodecs/vf_tfields.c @ 10052:b358b7509e1a

sort of a hack, but at least this lets the framerate-increasing filters work in mplayer, albeit without proper timing...
author rfelker
date Sat, 03 May 2003 05:59:29 +0000
parents 765c2276aa0c
children 379f48cace77
line wrap: on
line diff
--- a/libmpcodecs/vf_tfields.c	Sat May 03 04:20:44 2003 +0000
+++ b/libmpcodecs/vf_tfields.c	Sat May 03 05:59:29 2003 +0000
@@ -345,6 +345,7 @@
 				dmpi->stride[2], mpi->stride[2]*2);
 		}
 		ret = vf_next_put_image(vf, dmpi);
+		vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL);
 		
 		memcpy_pic(dmpi->planes[0], mpi->planes[0] + mpi->stride[0],
 			mpi->w, mpi->h/2, dmpi->stride[0], mpi->stride[0]*2);
@@ -377,6 +378,7 @@
 				mpi->chroma_width, mpi->chroma_height, 0);
 		}
 		ret = vf_next_put_image(vf, dmpi);
+		vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL);
 		
 		my_memcpy_pic(dmpi->planes[0] + dmpi->stride[0], mpi->planes[0] + mpi->stride[0],
 			mpi->w, mpi->h/2, dmpi->stride[0]*2, mpi->stride[0]*2);
@@ -411,6 +413,7 @@
 				dmpi->stride[2], mpi->stride[2]*2, 0);
 		}
 		ret = vf_next_put_image(vf, dmpi);
+		vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL);
 		
 		qpel(dmpi->planes[0], mpi->planes[0] + mpi->stride[0],
 			mpi->w, mpi->h/2, dmpi->stride[0], mpi->stride[0]*2, 1);