From 8884ac9f793b1a76683783d346736eedfd9975c6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 23:02:08 +0100 Subject: vd_lavc: better warning message for software decoding fallback At least I hope it's better. --- video/decode/vd_lavc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video') 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"); } } -- cgit v1.2.3