Commit 3b9166fc authored by rogerdpack's avatar rogerdpack

dshow: better error reporting

Signed-off-by: 's avatarrogerdpack <rogerpack2005@gmail.com>
parent 6d330266
...@@ -793,7 +793,7 @@ dshow_add_device(AVFormatContext *avctx, ...@@ -793,7 +793,7 @@ dshow_add_device(AVFormatContext *avctx,
codec->codec_id = dshow_codecid(bih->biCompression); codec->codec_id = dshow_codecid(bih->biCompression);
if (codec->codec_id == AV_CODEC_ID_NONE) { if (codec->codec_id == AV_CODEC_ID_NONE) {
av_log(avctx, AV_LOG_ERROR, "Unknown compression type. " 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; return AVERROR_PATCHWELCOME;
} }
codec->bits_per_coded_sample = bih->biBitCount; codec->bits_per_coded_sample = bih->biBitCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment