Browse Source

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.
kc5nra 10 years ago
parent
commit
3b2b7f2f37
1 changed files with 1 additions and 3 deletions
  1. 1 3
      libobs/obs-source.c

+ 1 - 3
libobs/obs-source.c

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