Commit 1bdb4b26 authored by rogerdpack's avatar rogerdpack Committed by Michael Niedermayer

dshow: enhance error message

Signed-off-by: 's avatarrogerdpack <rogerpack2005@gmail.com>
Reviewed-by: 's avatarStefano Sabatini <stefasab@gmail.com>
Reviewed-by: 's avatarRamiro Polla <ramiro.polla@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6fcd4f3c
......@@ -378,7 +378,7 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
enum AVCodecID codec_id = dshow_codecid(bih->biCompression);
AVCodec *codec = avcodec_find_decoder(codec_id);
if (codec_id == AV_CODEC_ID_NONE || !codec) {
av_log(avctx, AV_LOG_INFO, " unknown compression type");
av_log(avctx, AV_LOG_INFO, " unknown compression type 0x%X", (int) bih->biCompression);
} else {
av_log(avctx, AV_LOG_INFO, " vcodec=%s", codec->name);
}
......
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