Browse Source

dshow: better error reporting

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
rogerdpack 12 years ago
parent
commit
3b9166fc7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavdevice/dshow.c

+ 1 - 1
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;