Просмотр исходного кода

obs-outputs: Allow forced stop even when stopping

jp9000 9 лет назад
Родитель
Сommit
50d7cc8ae6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/obs-outputs/rtmp-stream.c

+ 1 - 1
plugins/obs-outputs/rtmp-stream.c

@@ -225,7 +225,7 @@ static void rtmp_stream_stop(void *data, uint64_t ts)
 {
 	struct rtmp_stream *stream = data;
 
-	if (stopping(stream))
+	if (stopping(stream) && ts != 0)
 		return;
 
 	if (connecting(stream))