Package: vdr-plugin-mp3
Version: 0.10.1-14
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu lucid ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
- mplayer.sh, vdrmplayer.sh.conf: Add support for subcp and
subfont-text-scale options.
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid
APT policy: (500, 'lucid')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-20-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u vdr-plugin-mp3-0.10.1/debian/vdrmplayer.sh.conf vdr-plugin-mp3-0.10.1/debian/vdrmplayer.sh.conf
--- vdr-plugin-mp3-0.10.1/debian/vdrmplayer.sh.conf
+++ vdr-plugin-mp3-0.10.1/debian/vdrmplayer.sh.conf
@@ -136,6 +136,8 @@
SUBPOS="80" #Vertical position 0-100
SUBCOLOR="0" #Background color 0=black 255=white
SUBALPHA="30" #Background transparency (0-255)
+SUBCP="latin1" #Codepage
+SUBSCALE="3" #Text autoscale coefficient, percentage of the screen size
# Userdefined Options - make sure they do not collide with options
# used in mplayer.sh
diff -u vdr-plugin-mp3-0.10.1/debian/mplayer.sh vdr-plugin-mp3-0.10.1/debian/mplayer.sh
--- vdr-plugin-mp3-0.10.1/debian/mplayer.sh
+++ vdr-plugin-mp3-0.10.1/debian/mplayer.sh
@@ -209,6 +209,8 @@
if ! test -z "$SUBPOS"; then SUBTITLES=" -subpos $SUBPOS"; fi
if ! test -z "$SUBCOLOR"; then SUBTITLES="$SUBTITLES -sub-bg-color $SUBCOLOR"; fi
if ! test -z "$SUBALPHA"; then SUBTITLES="$SUBTITLES -sub-bg-alpha $SUBALPHA"; fi
+ if ! test -z "$SUBCP"; then SUBTITLES="$SUBTITLES -subcp $SUBCP"; fi
+ if ! test -z "$SUBSCALE"; then SUBTITLES="$SUBTITLES -subfont-text-scale $SUBSCALE"; fi
debugvar SUBTITLE "$SUBTITLES"