aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/helpers
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-09-17 17:13:40 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-09-17 17:13:40 +0300
commit7cdbd91d83c02a79c22783ca489ef82e82b31a51 (patch)
tree57b14b18297b7ee2e5fd1fbbb498c639e4afe092 /lib/pleroma/helpers
parenta781f41f969bd1a929005b2b5006a40d42855ae8 (diff)
downloadpleroma-7cdbd91d83c02a79c22783ca489ef82e82b31a51.tar.gz
[#2497] Configurability of :min_content_length (preview proxy). Refactoring, documentation, tests.
Diffstat (limited to 'lib/pleroma/helpers')
-rw-r--r--lib/pleroma/helpers/media_helper.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/helpers/media_helper.ex b/lib/pleroma/helpers/media_helper.ex
index 9b7348ee2..b6f35a24b 100644
--- a/lib/pleroma/helpers/media_helper.ex
+++ b/lib/pleroma/helpers/media_helper.ex
@@ -58,6 +58,7 @@ defmodule Pleroma.Helpers.MediaHelper do
defp prepare_image_resize_args(_), do: {:error, :missing_options}
+ # Note: video thumbnail is intentionally not resized (always has original dimensions)
def video_framegrab(url) do
with executable when is_binary(executable) <- System.find_executable("ffmpeg"),
{:ok, env} <- HTTP.get(url, [], pool: :media),