aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index edf85483b..a4fdf1af8 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -175,7 +175,7 @@ class FFmpegFD(ExternalFD):
args = [ffpp.executable, '-y']
- start_time = info_dict.get('start_time', 0)
+ start_time = info_dict.get('start_time') or 0
if start_time:
args += ['-ss', compat_str(start_time)]
end_time = info_dict.get('end_time')