diff options
author | rogerdpack <rogerpack2005@gmail.com> | 2012-09-07 15:52:32 -0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-29 15:48:49 +0200 |
commit | 1bdb4b26a8324b8147c191607d65f1c15ef36446 (patch) | |
tree | 0199b676f0eba5e041703b8d8432b4569dd9aeec | |
parent | 6fcd4f3c7255014eeb883385d32abc7442426314 (diff) | |
download | ffmpeg-1bdb4b26a8324b8147c191607d65f1c15ef36446.tar.gz |
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>
-rw-r--r-- | libavdevice/dshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 120ddd9a64..1e867325d0 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -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); } |