summaryrefslogtreecommitdiff
path: root/mediabrowser/ffmpeg.py
diff options
context:
space:
mode:
authorUser Jack <jack@garcon.2.localnet.cc>2016-01-07 20:26:53 +0000
committerYves Fischer <yvesf-git@xapek.org>2016-01-08 20:38:18 +0100
commitc6082083cf3208180e7aef8d727d272c371c3d74 (patch)
tree6611ba69362580e505829a7d71dd565ee6f712f6 /mediabrowser/ffmpeg.py
parent478b2feb875e4ef5a458531c0d24f0b2117f5490 (diff)
downloadflask-mediabrowser-c6082083cf3208180e7aef8d727d272c371c3d74.tar.gz
flask-mediabrowser-c6082083cf3208180e7aef8d727d272c371c3d74.zip
default chunk duration to 60
Diffstat (limited to 'mediabrowser/ffmpeg.py')
-rw-r--r--mediabrowser/ffmpeg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediabrowser/ffmpeg.py b/mediabrowser/ffmpeg.py
index d132b24..816d546 100644
--- a/mediabrowser/ffmpeg.py
+++ b/mediabrowser/ffmpeg.py
@@ -103,7 +103,7 @@ def calculate_splittimes(ospath, chunk_duration):
"""
def calculate_points(media_duration):
- pos = min(20, media_duration)
+ pos = min(60, media_duration)
while pos < media_duration:
yield pos
pos += chunk_duration