summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 23:02:08 +0100
committerwm4 <wm4@nowhere>2013-02-26 01:55:52 +0100
commit8884ac9f793b1a76683783d346736eedfd9975c6 (patch)
tree5f253a3c81fcc0d971aad36aad88fd5c71a7bc38 /video
parentf242741a3ed2e873ba0928d961b2cbd74da3a561 (diff)
downloadmpv-8884ac9f793b1a76683783d346736eedfd9975c6.tar.bz2
mpv-8884ac9f793b1a76683783d346736eedfd9975c6.tar.xz
vd_lavc: better warning message for software decoding fallback
At least I hope it's better.
Diffstat (limited to 'video')
-rw-r--r--video/decode/vd_lavc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 4f99a00603..d0dff169f5 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -160,8 +160,9 @@ static int init(sh_video_t *sh, const char *decoder)
ctx->software_fallback_decoder = talloc_strdup(ctx, decoder);
decoder = lavc_hwcodec->name;
} else {
+ mp_tmsg(MSGT_DECVIDEO, MSGL_WARN, "Decoder '%s' not found in "
+ "libavcodec, using software decoding.\n", hwdec->hw_codec);
hwdec = NULL;
- mp_tmsg(MSGT_DECVIDEO, MSGL_WARN, "Using software decoding.\n");
}
}