Skip to content

Commit 1bdb4b2

Browse files
rdpmichaelni
authored andcommitted
dshow: enhance error message
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
1 parent 6fcd4f3 commit 1bdb4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavdevice/dshow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
378378
enum AVCodecID codec_id = dshow_codecid(bih->biCompression);
379379
AVCodec *codec = avcodec_find_decoder(codec_id);
380380
if (codec_id == AV_CODEC_ID_NONE || !codec) {
381-
av_log(avctx, AV_LOG_INFO, " unknown compression type");
381+
av_log(avctx, AV_LOG_INFO, " unknown compression type 0x%X", (int) bih->biCompression);
382382
} else {
383383
av_log(avctx, AV_LOG_INFO, " vcodec=%s", codec->name);
384384
}

0 commit comments

Comments
 (0)