diff libmpcodecs/vd_libmpeg2.c @ 5613:481592004427

draw_slices with framedrop fixed
author arpi
date Sun, 14 Apr 2002 01:21:13 +0000
parents 113ed5725b47
children 0ff1b9ab7afc
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c	Sun Apr 14 01:20:26 2002 +0000
+++ b/libmpcodecs/vd_libmpeg2.c	Sun Apr 14 01:21:13 2002 +0000
@@ -154,7 +154,7 @@
 		mp_image_t* mpi;
 		int flags;
 		if (picture->picture_coding_type == B_TYPE){
-		    flags=vd_use_slices?MP_IMGFLAG_DRAW_CALLBACK:0;
+		    flags=(!framedrop && vd_use_slices)?MP_IMGFLAG_DRAW_CALLBACK:0;
 		    picture->display_frame=
 		    picture->current_frame = picture->temp_frame;
 		} else {