# HG changeset patch # User michael # Date 1017982095 0 # Node ID 1c45b1484ffbd3ecdd66f36806498cdf13d28956 # Parent eab4062f5f2ecd0bbcf5ed9228b215d42142a962 i just fixed b-frames & slices in libavcodec :) ... iam too tired for benchmarks now ... diff -r eab4062f5f2e -r 1c45b1484ffb libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Fri Apr 05 04:33:39 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Fri Apr 05 04:48:15 2002 +0000 @@ -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));