[MPlayer-cvslog] r28598 - trunk/libmpcodecs/vd_ffmpeg.c
reimar
subversion at mplayerhq.hu
Sun Feb 15 17:57:08 CET 2009
Author: reimar
Date: Sun Feb 15 17:57:08 2009
New Revision: 28598
Log:
Reuse the code for the general do_dr1 case to set get_buffer/release_buffer for XvMC.
Modified:
trunk/libmpcodecs/vd_ffmpeg.c
Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c Sun Feb 15 16:42:58 2009 (r28597)
+++ trunk/libmpcodecs/vd_ffmpeg.c Sun Feb 15 17:57:08 2009 (r28598)
@@ -248,11 +248,9 @@ static int init(sh_video_t *sh){
assert(ctx->do_dr1);//these are must to!
assert(ctx->do_slices); //it is (vo_)ffmpeg bug if this fails
avctx->get_format= get_format;//for now only this decoder will use it
- avctx->get_buffer= get_buffer;
- avctx->release_buffer= release_buffer;
avctx->draw_horiz_band = draw_slice;
avctx->slice_flags=SLICE_FLAG_CODED_ORDER|SLICE_FLAG_ALLOW_FIELD;
- }else
+ }
#endif /* CONFIG_XVMC */
if(ctx->do_dr1){
avctx->flags|= CODEC_FLAG_EMU_EDGE;
More information about the MPlayer-cvslog
mailing list