[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.17,1.18

Arpi of Ize arpi at mplayerhq.hu
Sun Apr 28 01:45:03 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv9516

Modified Files:
	vd_ffmpeg.c 
Log Message:
support hurryup flag (-(hard)framedrop)

Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- vd_ffmpeg.c	24 Apr 2002 00:38:04 -0000	1.17
+++ vd_ffmpeg.c	27 Apr 2002 23:45:00 -0000	1.18
@@ -160,7 +160,11 @@
 	    avctx->opaque=sh->video_out;
 	}
     }
-    
+
+#if LIBAVCODEC_BUILD > 4603
+    avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
+#endif
+
     ret = avcodec_decode_video(avctx, &lavc_picture,
 	     &got_picture, data, len);
     




More information about the MPlayer-cvslog mailing list