changeset 32569:e1027d24244b

Do not dump image description by default.
author reimar
date Sat, 27 Nov 2010 12:23:20 +0000
parents 356050e526ad
children ee42c625f5ba
files libmpcodecs/vd_qtvideo.c libmpcodecs/ve_qtvideo.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_qtvideo.c	Sat Nov 27 10:36:14 2010 +0000
+++ b/libmpcodecs/vd_qtvideo.c	Sat Nov 27 12:23:20 2010 +0000
@@ -175,6 +175,7 @@
         idesc->width  = sh->disp_w;
         idesc->height = sh->disp_h;
     }
+    if (mp_msg_test(MSGT_DECVIDEO, MSGL_V))
     dump_ImageDescription(*framedescHandle);
 
     (**framedescHandle).cType = bswap_32(sh->format);
--- a/libmpcodecs/ve_qtvideo.c	Sat Nov 27 10:36:14 2010 +0000
+++ b/libmpcodecs/ve_qtvideo.c	Sat Nov 27 12:23:20 2010 +0000
@@ -258,6 +258,7 @@
     mp_msg(MSGT_MENCODER,MSGL_DBG2,"CompressSequenceBegin returned:%i\n",cres&0xFFFF);
     mp_msg(MSGT_MENCODER,MSGL_DBG2,"Sequence ID:%i\n",seq);
 
+    if (mp_msg_test(MSGT_MENCODER, MSGL_DBG2))
     dump_ImageDescription(*desc);
     codec_initialized++;
 }