From 22b0e5082ad03033e750c603eccbf9e701bf309c Mon Sep 17 00:00:00 2001 From: C-A de Salaberry Date: Tue, 16 Jun 2015 12:41:11 -0400 Subject: [PATCH] Fix: Fixes #16 Exit gracefully on already optimised files. --- qtfaststart/processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qtfaststart/processor.py b/qtfaststart/processor.py index efc1e1c..008173a 100644 --- a/qtfaststart/processor.py +++ b/qtfaststart/processor.py @@ -228,9 +228,9 @@ def process(infilename, outfilename, limit=float('inf'), to_end=False, if offset == 0: # No free atoms to process and moov is correct, we are done! - msg = "This file appears to already be setup!" + msg = "This file appears to be already optimised for streaming. Nothing to do." log.error(msg) - raise FastStartSetupError(msg) + return # Check for compressed moov atom is_compressed = _moov_is_compressed(datastream, moov_atom)