deps/media-playback: Remove unnecessary log line

Every time a media player instance would be initialized, it would
create a new `Set FFmpeg options:` log message. With lots of looping
media sources, this gets incredibly spammy. It's already being logged
by the media source itself, so this line is pretty much unnecessary.
This commit is contained in:
tt2468 2023-04-02 17:41:34 -07:00
parent b620dd4c50
commit 57e6053c81

View file

@ -704,14 +704,10 @@ static bool init_avformat(mp_media_t *m)
if (m->ffmpeg_options) {
int ret = av_dict_parse_string(&opts, m->ffmpeg_options, "=",
" ", 0);
if (ret) {
if (ret)
blog(LOG_WARNING,
"Failed to parse FFmpeg options: %s\n%s",
av_err2str(ret), m->ffmpeg_options);
} else {
blog(LOG_INFO, "Set FFmpeg options: %s",
m->ffmpeg_options);
}
}
m->fmt = avformat_alloc_context();