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.
This commit is contained in:
parent
927a90cfa7
commit
3b2b7f2f37
@ -860,9 +860,7 @@ static inline void handle_ts_jump(obs_source_t *source, uint64_t expected,
|
|||||||
"expected value %"PRIu64", input value %"PRIu64,
|
"expected value %"PRIu64", input value %"PRIu64,
|
||||||
source->context.name, diff, expected, ts);
|
source->context.name, diff, expected, ts);
|
||||||
|
|
||||||
/* if has video, ignore audio data until reset */
|
reset_audio_timing(source, ts, os_time);
|
||||||
if (!(source->info.output_flags & OBS_SOURCE_ASYNC))
|
|
||||||
reset_audio_timing(source, ts, os_time);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void source_signal_audio_data(obs_source_t *source,
|
static void source_signal_audio_data(obs_source_t *source,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user