vd_lavc: better warning message for software decoding fallback

At least I hope it's better.
This commit is contained in:
wm4 2013-02-24 23:02:08 +01:00
parent f242741a3e
commit 8884ac9f79
1 changed files with 2 additions and 1 deletions

View File

@ -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");
}
}