From 92de127111e8064ce70ab0951aadaa8f609ebf5f Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sat, 9 Nov 2019 21:29:13 +0100 Subject: [PATCH] only log and check sync when _playlist.length is set --- ffplayout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplayout.py b/ffplayout.py index 45808e99..a808bf20 100755 --- a/ffplayout.py +++ b/ffplayout.py @@ -880,7 +880,7 @@ def timed_source(src, begin, dur, seek, out, first, last): src, dur, seek, out) else: - if not stdin_args.loop: + if not stdin_args.loop and _playlist.length: check_sync(current_delta) messenger.debug('current_delta: {:f}'.format(current_delta)) messenger.debug('total_delta: {:f}'.format(total_delta))