# HG changeset patch # User benoit # Date 1235749875 0 # Node ID 520877b559cbe90911787b46e91fee22d8be9433 # Parent 80f632c55670c11175666c4310f05023bcfc834a Make ff_print_debug_info() a no-op when using HW acceleration. Patch by Gwenol«± Beauchesne. diff -r 80f632c55670 -r 520877b559cb mpegvideo.c --- a/mpegvideo.c Fri Feb 27 15:49:32 2009 +0000 +++ b/mpegvideo.c Fri Feb 27 15:51:15 2009 +0000 @@ -1096,6 +1096,7 @@ */ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){ + if(s->avctx->hwaccel) return; if(!pict || !pict->mb_type) return; if(s->avctx->debug&(FF_DEBUG_SKIP | FF_DEBUG_QP | FF_DEBUG_MB_TYPE)){