Mercurial > mplayer.hg
changeset 28559:60aba4efaa8f
Remove apparently unneeded CODEC_FLAG_EMU_EDGE for XvMC
author | reimar |
---|---|
date | Sun, 15 Feb 2009 15:24:32 +0000 |
parents | 80ecd60e6808 |
children | 0549b7c6803d |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sun Feb 15 14:48:30 2009 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Feb 15 15:24:32 2009 +0000 @@ -247,7 +247,6 @@ mp_msg(MSGT_DECVIDEO, MSGL_INFO, MSGTR_MPCODECS_XVMCAcceleratedCodec); assert(ctx->do_dr1);//these are must to! assert(ctx->do_slices); //it is (vo_)ffmpeg bug if this fails - avctx->flags|= CODEC_FLAG_EMU_EDGE;//do i need that??!! avctx->get_format= get_format;//for now only this decoder will use it avctx->get_buffer= get_buffer; avctx->release_buffer= release_buffer; @@ -898,7 +897,6 @@ mp_msg(MSGT_DECVIDEO, MSGL_INFO, MSGTR_MPCODECS_XVMCAcceleratedMPEG2); assert(ctx->do_dr1);//these are must to! assert(ctx->do_slices); //it is (vo_)ffmpeg bug if this fails - avctx->flags|= CODEC_FLAG_EMU_EDGE;//do i need that??!! avctx->slice_flags=SLICE_FLAG_CODED_ORDER|SLICE_FLAG_ALLOW_FIELD; } for(i=0;fmt[i]!=-1;i++){