[vlc-commits] sharpen: change unsupported chroma msg_Err to msg_Dbg

Victorien Le Couviour--Tuffet git at videolan.org
Wed May 10 10:10:43 CEST 2017


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Fri Apr 21 17:02:12 2017 +0200| [28d5741fdcae728d9969da2eee7114bde20ad215] | committer: Thomas Guillem

sharpen: change unsupported chroma msg_Err to msg_Dbg

This is a probing error. We should not print it as error since there may be
more than one sharpen module (like the vdpau one).

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28d5741fdcae728d9969da2eee7114bde20ad215
---

 modules/video_filter/sharpen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/sharpen.c b/modules/video_filter/sharpen.c
index 19f74b8bad..f3c62cb913 100644
--- a/modules/video_filter/sharpen.c
+++ b/modules/video_filter/sharpen.c
@@ -109,7 +109,7 @@ static int Create( vlc_object_t *p_this )
         (p_chroma->pixel_size != 1 &&
          p_filter->fmt_in.video.i_chroma != VLC_CODEC_I420_10L &&
          p_filter->fmt_in.video.i_chroma != VLC_CODEC_I420_10B)) {
-        msg_Err( p_filter, "Unsupported chroma (%4.4s)", (char*)&fourcc );
+        msg_Dbg( p_filter, "Unsupported chroma (%4.4s)", (char*)&fourcc );
         return VLC_EGENERIC;
     }
 



More information about the vlc-commits mailing list