[FFmpeg-cvslog] r17646 - trunk/libavcodec/mpegvideo.c
benoit
subversion
Fri Feb 27 16:51:15 CET 2009
Author: benoit
Date: Fri Feb 27 16:51:15 2009
New Revision: 17646
Log:
Make ff_print_debug_info() a no-op when using HW acceleration.
Patch by Gwenol? Beauchesne.
Modified:
trunk/libavcodec/mpegvideo.c
Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c Fri Feb 27 16:49:32 2009 (r17645)
+++ trunk/libavcodec/mpegvideo.c Fri Feb 27 16:51:15 2009 (r17646)
@@ -1096,6 +1096,7 @@ static void draw_arrow(uint8_t *buf, int
*/
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)){
More information about the ffmpeg-cvslog
mailing list