]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/mpegvideo.c
Make ff_print_debug_info() a no-op when using HW acceleration.
[frescor/ffmpeg.git] / libavcodec / mpegvideo.c
index b417c68e4597c5ecb8a2bc9b6e55059154c5bea8..2af239b6bd791663d5016240a33a74f65b22ed77 100644 (file)
@@ -1096,6 +1096,7 @@ static void draw_arrow(uint8_t *buf, int sx, int sy, int ex, int ey, int w, 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)){