summaryrefslogtreecommitdiff
path: root/mediabrowser/__init__.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-06-01 17:52:26 +0000
committerUser Jack <jack@garcon.2.localnet.cc>2016-06-01 17:54:28 +0000
commita331a508a23d00c0af783005f9d95316be8c8754 (patch)
tree9c84bf8be9a8ae37be4aa42c37ae83cc0987a5a3 /mediabrowser/__init__.py
parent0d105546a0b2f168077c8015f72a3235255d4de7 (diff)
downloadflask-mediabrowser-a331a508a23d00c0af783005f9d95316be8c8754.tar.gz
flask-mediabrowser-a331a508a23d00c0af783005f9d95316be8c8754.zip
use different poster command
Diffstat (limited to 'mediabrowser/__init__.py')
-rw-r--r--mediabrowser/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediabrowser/__init__.py b/mediabrowser/__init__.py
index 139fbf3..adbe5ad 100644
--- a/mediabrowser/__init__.py
+++ b/mediabrowser/__init__.py
@@ -149,7 +149,7 @@ def build(root_directory, cache):
@cached_stream(cache=cache, keyfunc=lambda ospath: "thumb_poster_{}".format(ospath))
def ffmpeg_thumbnail_poster(ospath):
- process = ffmpeg.thumbnail(ospath, 852, 480)
+ process = ffmpeg.poster(ospath)
return process.stdout
@blueprint.route('/<path:path>/stream/<float:ss>_<float:t>')