mirror of https://github.com/mpv-player/mpv
common: stream: don't mention Libav in errors/warnings
This commit is contained in:
parent
f4a09fada9
commit
8fe2af09f1
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue