Commit 38150ed3 authored by Alessio Treglia's avatar Alessio Treglia

debian/patches/04-update_imagemagick.patch

- Update movie-title script to make it work with latest version of
  ImageMagick.
parent d4f9f243
Description: Refresh src/movie-title.in against ImageMagick's latest version.
Origin: upstream
From:
http://sourceforge.net/p/videotrans/bugs/18/
http://sourceforge.net/p/videotrans/bugs/17/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778866
---
src/movie-title.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- videotrans.orig/src/movie-title.in
+++ videotrans/src/movie-title.in
@@ -275,7 +275,7 @@ fi
# Find out how large the title images are and decide on a mode accordingly
###############################################################################
-identify -format "%w %h" "${TITLE}/${title_frames%% *}" > "${TEMP}"
+identify -format "%w %h\n" "${TITLE}/${title_frames%% *}" > "${TEMP}"
read xx yy < "${TEMP}"
rm -f "${TEMP}"
message "Title images are ${xx} by ${yy} pixels."
@@ -679,7 +679,7 @@ done > "${TEMP}.convert"
# Create the overlay image using the commands that were generated above
-convert -depth 8 -matte -colorspace Transparent -type PaletteMatte \
+convert -depth 8 -matte -colorspace Transparent \
"${datadir}/videotrans/null.png" \
-background "rgba(0,0,0,0)" -splice "`expr ${xx} - 1 || :`x`expr ${yy} - 1 || :`+0+0" \
-draw "@${TEMP}.convert" "${OUTPUT}-overlay.png"
01-fix_shebang.patch
02-buildsystem.patch
03-ffmpeg_to_avconv.patch
04-update_imagemagick.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment