Browse Source

fix video looping

master
Shiz 1 year ago
parent
commit
f3b3327afe
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/overlay/obs/video.py

+ 1
- 2
src/overlay/obs/video.py View File

@ -27,6 +27,5 @@ class FFmpegSource(OBSSource):
def to_ffmpeg(self, scene):
return [FFmpegChain(
FFmpegFilter('realtime'),
inputs=[FFmpegInput(self.infile, re=None)]
inputs=[FFmpegInput(self.infile, re=None, stream_loop=-1 if self.loop else 0)]
)]

Loading…
Cancel
Save