Mercurial > mplayer.hg
changeset 5494:1c45b1484ffb
i just fixed b-frames & slices in libavcodec :) ... iam too tired for benchmarks now ...
author | michael |
---|---|
date | Fri, 05 Apr 2002 04:48:15 +0000 |
parents | eab4062f5f2e |
children | 45fae1806d39 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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));