From bf810ce7da1affb8f4a5f73641e47b9c23ceda0c Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 5 Apr 2002 04:48:15 +0000 Subject: [PATCH] i just fixed b-frames & slices in libavcodec :) ... iam too tired for benchmarks now ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5495 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 105bb2dc14..5e0d9878b3 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -70,9 +70,8 @@ static int init(sh_video_t *sh){ 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));