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:
kc5nra 2015-08-02 15:54:10 -05:00
parent 927a90cfa7
commit 3b2b7f2f37

View File

@ -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,