r5922 - in /vdr/vdr-plugin-mp3/trunk/debian: changelog patches/00list patches/04_mplayer.sh-cache-min.dpatch

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Nov 25 10:21:00 UTC 2007


Author: tiber-guest
Date: Sun Nov 25 10:20:59 2007
New Revision: 5922

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=5922
Log:
* Added 04_mplayer.sh-cache-min.dpatch too allow configuration
  of the minimum percentage the cache must be filled, before
  playback starts

Added:
    vdr/vdr-plugin-mp3/trunk/debian/patches/04_mplayer.sh-cache-min.dpatch
Modified:
    vdr/vdr-plugin-mp3/trunk/debian/changelog
    vdr/vdr-plugin-mp3/trunk/debian/patches/00list

Modified: vdr/vdr-plugin-mp3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-mp3/trunk/debian/changelog?rev=5922&op=diff
==============================================================================
--- vdr/vdr-plugin-mp3/trunk/debian/changelog (original)
+++ vdr/vdr-plugin-mp3/trunk/debian/changelog Sun Nov 25 10:20:59 2007
@@ -1,3 +1,11 @@
+vdr-plugin-mp3 (0.10.1-5) unstable; urgency=low
+
+  * Added 04_mplayer.sh-cache-min.dpatch too allow configuration
+    of the minimum percentage the cache must be filled, before
+    playback starts
+
+ -- Tobias Grimm <tg at e-tobi.net>  Sat, 24 Nov 2007 19:40:28 +0100
+
 vdr-plugin-mp3 (0.10.1-4) unstable; urgency=low
 
   * Release for vdrdevel 1.5.12

Modified: vdr/vdr-plugin-mp3/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-mp3/trunk/debian/patches/00list?rev=5922&op=diff
==============================================================================
--- vdr/vdr-plugin-mp3/trunk/debian/patches/00list (original)
+++ vdr/vdr-plugin-mp3/trunk/debian/patches/00list Sun Nov 25 10:20:59 2007
@@ -1,5 +1,6 @@
 01_mp3-ogg-conv-utf8
 02_mplayer.sh-mysterix
 03_mplayer.sh-websources
+04_mplayer.sh-cache-min
 10_debian-fhs-defaults
 11_mplayer.sh.conf-defaults

Added: vdr/vdr-plugin-mp3/trunk/debian/patches/04_mplayer.sh-cache-min.dpatch
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-mp3/trunk/debian/patches/04_mplayer.sh-cache-min.dpatch?rev=5922&op=file
==============================================================================
--- vdr/vdr-plugin-mp3/trunk/debian/patches/04_mplayer.sh-cache-min.dpatch (added)
+++ vdr/vdr-plugin-mp3/trunk/debian/patches/04_mplayer.sh-cache-min.dpatch Sun Nov 25 10:20:59 2007
@@ -1,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_mplayer.sh-cache-min.dpatch by Tobias Grimm <tg at e-tobi.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds CACHE_MIN option to allow configuration of the minimum
+## DP: percantage, the cache must be filled, before playback starts.
+
+ at DPATCH@
+diff -urNad 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	2007-11-24 19:28:39.000000000 +0100
++++ vdr-plugin-mp3-0.10.1/debian/mplayer.sh	2007-11-24 19:32:50.000000000 +0100
+@@ -190,7 +190,11 @@
+     echolog "*** Option CACHE not set in config file - calling mplayer without Cache!"
+     CACHESTR="-nocache"
+   else
+-    CACHESTR="-cache $CACHE"; debugvar CACHE "$CACHE"; debugvar CACHESTR "$CACHESTR"
++    CACHESTR="-cache $CACHE"; debugvar CACHE "$CACHE"
++    if test -n $CACHE_MIN; then
++        CACHESTR="$CACHE_STR -cache-min $CACHE_MIN"; debugvar CACHE_MIN "$CACHE_MIN"
++    fi
++    debugvar CACHESTR "$CACHESTR"
+   fi
+ 
+   if test -z "$FRAMEDROP" -o "$FRAMEDROP" != "true"; then FRAMEDROP=false; fi
+diff -urNad 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	2007-11-24 19:28:39.000000000 +0100
++++ vdr-plugin-mp3-0.10.1/debian/vdrmplayer.sh.conf	2007-11-24 19:36:27.000000000 +0100
+@@ -96,6 +96,9 @@
+ # Cache Option for MPlayer
+ CACHE="4096"
+ 
++# Cache percantage before playback starts
++CACHE_MIN=10
++
+ # Framedrop
+ FRAMEDROP="true"
+ 




More information about the pkg-vdr-dvb-changes mailing list