common: stream: don't mention Libav in errors/warnings

This commit is contained in:
llyyr 2024-01-20 00:15:30 +05:30 committed by Dudemanguy
parent f4a09fada9
commit 8fe2af09f1
3 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ static struct mp_log *get_av_log(void *ptr)
if (!avc) { if (!avc) {
mp_warn(log_root, mp_warn(log_root,
"av_log callback called with bad parameters (NULL AVClass).\n" "av_log callback called with bad parameters (NULL AVClass).\n"
"This is a bug in one of Libav/FFmpeg libraries used.\n"); "This is a bug in one of FFmpeg libraries used.\n");
return log_root; return log_root;
} }

View File

@ -870,8 +870,8 @@ bool encoder_init_codec_and_muxer(struct encoder_context *p,
" ********************************************\n\n" " ********************************************\n\n"
"This means the output file may be broken or bad.\n" "This means the output file may be broken or bad.\n"
"Possible reasons, problems, workarounds:\n" "Possible reasons, problems, workarounds:\n"
"- Codec implementation in ffmpeg/libav is not finished yet.\n" "- Codec implementation in ffmpeg is not finished yet.\n"
" Try updating ffmpeg or libav.\n" " Try updating ffmpeg.\n"
"- Bad picture quality, blocks, blurriness.\n" "- Bad picture quality, blocks, blurriness.\n"
" Experiment with codec settings to maybe still get the\n" " Experiment with codec settings to maybe still get the\n"
" desired quality output at the expense of bitrate.\n" " desired quality output at the expense of bitrate.\n"

View File

@ -324,7 +324,7 @@ static int open_f(stream_t *stream)
if (err < 0) { if (err < 0) {
if (err == AVERROR_PROTOCOL_NOT_FOUND) if (err == AVERROR_PROTOCOL_NOT_FOUND)
MP_ERR(stream, "Protocol not found. Make sure" MP_ERR(stream, "Protocol not found. Make sure"
" ffmpeg/Libav is compiled with networking support.\n"); " FFmpeg is compiled with networking support.\n");
goto out; goto out;
} }