提交 3b2b7f2f 编写于 作者: K kc5nra

libobs: Remove flag check when resetting timestamp

Removes obsolete check when resetting a timestamp as some sources
can register for Audio/Video async yet only output audio frames.
上级 927a90cf
......@@ -860,9 +860,7 @@ static inline void handle_ts_jump(obs_source_t *source, uint64_t expected,
"expected value %"PRIu64", input value %"PRIu64,
source->context.name, diff, expected, ts);
/* if has video, ignore audio data until reset */
if (!(source->info.output_flags & OBS_SOURCE_ASYNC))
reset_audio_timing(source, ts, os_time);
reset_audio_timing(source, ts, os_time);
}
static void source_signal_audio_data(obs_source_t *source,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册