diff --git a/ffplayout/filters/default.py b/ffplayout/filters/default.py index 3b2c4c45..6cc2ed83 100644 --- a/ffplayout/filters/default.py +++ b/ffplayout/filters/default.py @@ -138,7 +138,8 @@ def overlay_filter(duration, advertisement, ad_last, ad_next): logo_filter = '[v]null' scale = '' - if pre.add_logo and Path(pre.logo).is_file() and not advertisement: + if pre.add_logo and pre.logo and Path(pre.logo).is_file() \ + and not advertisement: logo_chain = [] if pre.logo_scale and \ re.match(r'\d+:-?\d+', pre.logo_scale):