[FFmpeg-cvslog] dshow: better error reporting

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


ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Tue Jan 15 15:08:23 2013 -0700| [3b9166fc7efb5375f81c3447cf9d418bdd76187d] | committer: rogerdpack

dshow: better error reporting

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

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

 libavdevice/dshow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index f0b7f32..d47f36e 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -793,7 +793,7 @@ dshow_add_device(AVFormatContext *avctx,
             codec->codec_id = dshow_codecid(bih->biCompression);
             if (codec->codec_id == AV_CODEC_ID_NONE) {
                 av_log(avctx, AV_LOG_ERROR, "Unknown compression type. "
-                                 "Please report verbose (-v 9) debug information.\n");
+                                 "Please report type 0x%X.\n", (int) bih->biCompression);
                 return AVERROR_PATCHWELCOME;
             }
             codec->bits_per_coded_sample = bih->biBitCount;



More information about the ffmpeg-cvslog mailing list