diff options
author | rogerdpack <rogerpack2005@gmail.com> | 2015-01-26 02:03:48 -0700 |
---|---|---|
committer | rogerdpack <rogerpack2005@gmail.com> | 2015-01-26 02:04:30 -0700 |
commit | 61974c7dcca833687d4f3834c7e8200a63a7b4af (patch) | |
tree | c3555f95981b1a3fbfddb9967ea83331c8230b14 /libavdevice/dshow.c | |
parent | 7c2e26270124fc81babcfc7b9d070bb8bd8ab6fa (diff) | |
download | ffmpeg-61974c7dcca833687d4f3834c7e8200a63a7b4af.tar.gz |
dshow: tweak logging
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r-- | libavdevice/dshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 9ca2519dd7..d03670e36f 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -1044,7 +1044,7 @@ static int dshow_read_header(AVFormatContext *avctx) if (ctx->device_name[AudioDevice]) { if ((r = dshow_open_device(avctx, devenum, AudioDevice, AudioSourceDevice)) < 0 || (r = dshow_add_device(avctx, AudioDevice)) < 0) { - av_log(avctx, AV_LOG_INFO, "Searching for audio device within video devices %s\n", ctx->device_name[AudioDevice]); + av_log(avctx, AV_LOG_INFO, "Searching for audio device within video devices for %s\n", ctx->device_name[AudioDevice]); /* see if there's a video source with an audio pin with the given audio name */ if ((r = dshow_open_device(avctx, devenum, AudioDevice, VideoSourceDevice)) < 0 || (r = dshow_add_device(avctx, AudioDevice)) < 0) { @@ -1104,7 +1104,7 @@ static int dshow_read_header(AVFormatContext *avctx) r = IMediaControl_GetState(control, 0, &pfs); } if (r != S_OK) { - av_log(avctx, AV_LOG_ERROR, "Could not run filter\n"); + av_log(avctx, AV_LOG_ERROR, "Could not run graph (sometimes caused by a device already in use by other application)\n"); goto error; } |