mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
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:
parent
b620dd4c50
commit
57e6053c81
6
deps/media-playback/media-playback/media.c
vendored
6
deps/media-playback/media-playback/media.c
vendored
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user