[FFmpeg-cvslog] dshow: enhance error message
rogerdpack
git at videolan.org
Sat Sep 29 15:56:05 CEST 2012
ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Fri Sep 7 15:52:32 2012 -0600| [1bdb4b26a8324b8147c191607d65f1c15ef36446] | committer: Michael Niedermayer
dshow: enhance error message
Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
Reviewed-by: Stefano Sabatini <stefasab at gmail.com>
Reviewed-by: Ramiro Polla <ramiro.polla at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1bdb4b26a8324b8147c191607d65f1c15ef36446
---
libavdevice/dshow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 120ddd9..1e86732 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);
}
More information about the ffmpeg-cvslog
mailing list