diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-04 17:51:39 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-04 17:51:39 +0000 |
commit | 409f2f0ada8b845299351016caf2f6713115eb4f (patch) | |
tree | ae145be56b9fdafed64176b2fdccdcfc783c09d4 /libmpcodecs | |
parent | 8222cbcc9b712e786119c9c59317aafcc0a429d1 (diff) |
move some verbose msg to dbg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9277 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_palette.c | 8 | ||||
-rw-r--r-- | libmpcodecs/vf_scale.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/libmpcodecs/vf_palette.c b/libmpcodecs/vf_palette.c index 1105b920e3..b7f2cd7d2d 100644 --- a/libmpcodecs/vf_palette.c +++ b/libmpcodecs/vf_palette.c @@ -40,7 +40,7 @@ static unsigned int find_best(struct vf_instance_s* vf, unsigned int fmt){ else return 0; while(*p){ ret=vf->next->query_format(vf->next,*p); - mp_msg(MSGT_VFILTER,MSGL_V,"[%s] query(%s) -> %d\n",vf->info->name,vo_format_name(*p),ret&3); + mp_msg(MSGT_VFILTER,MSGL_DBG2,"[%s] query(%s) -> %d\n",vf->info->name,vo_format_name(*p),ret&3); if(ret&VFCAP_CSP_SUPPORTED_BY_HW){ best=*p; break;} // no conversion -> bingo! if(ret&VFCAP_CSP_SUPPORTED && !best) best=*p; // best with conversion ++p; @@ -52,6 +52,7 @@ static unsigned int find_best(struct vf_instance_s* vf, unsigned int fmt){ struct vf_priv_s { unsigned int fmt; + int pal_msg; }; static int config(struct vf_instance_s* vf, @@ -78,7 +79,10 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ if (!mpi->planes[1]) { - mp_msg(MSGT_VFILTER,MSGL_V,"[%s] no palette given, assuming builtin grayscale one\n",vf->info->name); + if(!vf->priv->pal_msg){ + mp_msg(MSGT_VFILTER,MSGL_V,"[%s] no palette given, assuming builtin grayscale one\n",vf->info->name); + vf->priv->pal_msg=1; + } mpi->planes[1] = (unsigned char*)gray_pal; } diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c index d5e0f33ebc..e6f505a62a 100644 --- a/libmpcodecs/vf_scale.c +++ b/libmpcodecs/vf_scale.c @@ -66,7 +66,7 @@ static unsigned int find_best_out(vf_instance_t *vf){ // find the best outfmt: while(*p){ int ret=vf_next_query_format(vf,*p); - mp_msg(MSGT_VFILTER,MSGL_V,"scale: query(%s) -> %d\n",vo_format_name(*p),ret&3); + mp_msg(MSGT_VFILTER,MSGL_DBG2,"scale: query(%s) -> %d\n",vo_format_name(*p),ret&3); if(ret&VFCAP_CSP_SUPPORTED_BY_HW){ best=*p; break;} // no conversion -> bingo! if(ret&VFCAP_CSP_SUPPORTED && !best) best=*p; // best with conversion ++p; |