commit: 2ddf4e09f92471737f84d5d7d20d47c663948886
parent: cdc49c6b4b3b75844d66d645e09de4be294881da
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Wed, 12 Oct 2016 14:39:54 +0200
Change how convert options are escaped
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
@@ -51,7 +51,7 @@ private
small: {
convert_options: {
output: {
- vf: 'scale="min(510\, iw):min(680\, ih)":force_original_aspect_ratio=decrease'
+ vf: 'scale=\'min(510\, iw):min(680\, ih)\':force_original_aspect_ratio=decrease'
}
},
format: 'png',