0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

vd_lavc: demote software decoding message to verbose log level

If hardware decoding is enabled (via --hwdec anything), the player was
printing an informational message that software decdoing is used.
Basically, this confuses users, because they think there is a problem or
such. Just disable the message, it's semi-useless anyway.

This was suggested on IRC, after yet another user was asking why this
message was shown (with a follow up discussion which CPUs can decode
what kind of video codecs).
This commit is contained in:
wm4 2017-01-13 18:52:07 +01:00
parent e48f1f31cb
commit ddaab3349b

View File

@ -938,7 +938,7 @@ static bool receive_frame(struct dec_video *vd, struct mp_image **out_image)
MP_INFO(vd, "Using hardware decoding (%s).\n",
m_opt_choice_str(mp_hwdec_names, ctx->hwdec->type));
} else {
MP_INFO(vd, "Using software decoding.\n");
MP_VERBOSE(vd, "Using software decoding.\n");
}
ctx->hwdec_notified = true;
}