mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08: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:
+1
-5
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user