[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.9,1.10

Michael Niedermayer michael at mplayer.dev.hu
Fri Apr 5 06:48:25 CEST 2002


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

Modified Files:
	vd_ffmpeg.c 
Log Message:
i just fixed b-frames & slices in libavcodec :) ... iam too tired for benchmarks now ...


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vd_ffmpeg.c	3 Apr 2002 23:59:54 -0000	1.9
+++ vd_ffmpeg.c	5 Apr 2002 04:48:15 -0000	1.10
@@ -70,9 +70,8 @@
 	return 0;
     }
 
-// currently buggy with B frames...    
-//    if(vd_use_slices && lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND)
-//	ctx->do_slices=1;
+    if(vd_use_slices && lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND)
+	ctx->do_slices=1;
     
     ctx->avctx = malloc(sizeof(AVCodecContext));
     memset(ctx->avctx, 0, sizeof(AVCodecContext));




More information about the MPlayer-cvslog mailing list