[FFmpeg-cvslog] dshow: fix log message

rogerdpack git at videolan.org
Wed Feb 6 20:20:38 CET 2013


ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Tue Jan 15 23:09:54 2013 -0700| [6d33026668c460d162f5167b86b019649673eb7d] | committer: rogerdpack

dshow: fix log message

Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d33026668c460d162f5167b86b019649673eb7d
---

 libavdevice/dshow.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index aaba9bc..f0b7f32 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -786,8 +786,8 @@ dshow_add_device(AVFormatContext *avctx,
         codec->height     = bih->biHeight;
         codec->pix_fmt    = dshow_pixfmt(bih->biCompression, bih->biBitCount);
         if(bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
-          av_log(avctx, AV_LOG_ERROR, "attempt use full range for HDYC...");
-          codec->color_range = AVCOL_RANGE_MPEG;
+          av_log(avctx, AV_LOG_DEBUG, "attempt use full range for HDYC...");
+          codec->color_range = AVCOL_RANGE_MPEG; // just in case it needs this...
         }
         if (codec->pix_fmt == AV_PIX_FMT_NONE) {
             codec->codec_id = dshow_codecid(bih->biCompression);



More information about the ffmpeg-cvslog mailing list