r776 - in vdr/vdr-plugin-vdrcd/trunk/debian: . patches
Thomas Günther
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 02 Jul 2005 14:07:12 +0000
Author: tom-guest
Date: 2005-07-02 14:07:12 +0000 (Sat, 02 Jul 2005)
New Revision: 776
Added:
vdr/vdr-plugin-vdrcd/trunk/debian/patches/10_mp3-kUp-fix.dpatch
Modified:
vdr/vdr-plugin-vdrcd/trunk/debian/changelog
vdr/vdr-plugin-vdrcd/trunk/debian/patches/00list
Log:
Added mp3-kUp-fix patch
Modified: vdr/vdr-plugin-vdrcd/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-vdrcd/trunk/debian/changelog 2005-07-01 07:53:44 UTC (rev 775)
+++ vdr/vdr-plugin-vdrcd/trunk/debian/changelog 2005-07-02 14:07:12 UTC (rev 776)
@@ -1,3 +1,12 @@
+vdr-plugin-vdrcd (0.0.10.1-6) unstable; urgency=low
+
+ * (NOT RELEASED YET)
+
+ * Thomas Günther <tom@toms-cafe.de>
+ - Added mp3-kUp-fix patch
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 2 Jul 2005 15:41:47 +0200
+
vdr-plugin-vdrcd (0.0.10.1-5) unstable; urgency=low
* Thomas Schmidt <tschmidt@debian.org>
Modified: vdr/vdr-plugin-vdrcd/trunk/debian/patches/00list
===================================================================
--- vdr/vdr-plugin-vdrcd/trunk/debian/patches/00list 2005-07-01 07:53:44 UTC (rev 775)
+++ vdr/vdr-plugin-vdrcd/trunk/debian/patches/00list 2005-07-02 14:07:12 UTC (rev 776)
@@ -1 +1,3 @@
01_Makefile-fPIC-fix
+
+10_mp3-kUp-fix
Added: vdr/vdr-plugin-vdrcd/trunk/debian/patches/10_mp3-kUp-fix.dpatch
===================================================================
--- vdr/vdr-plugin-vdrcd/trunk/debian/patches/10_mp3-kUp-fix.dpatch 2005-07-01 07:53:44 UTC (rev 775)
+++ vdr/vdr-plugin-vdrcd/trunk/debian/patches/10_mp3-kUp-fix.dpatch 2005-07-02 14:07:12 UTC (rev 776)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+## mp3-kUp-fix - by Thomas Günther <tom@toms-cafe.de>
+## http://toms-cafe.de/vdr/download/vdrcd-0.0.10.1-mp3-kUp-fix.diff
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes searching the cdrom entry in mp3 mode. This problem only occured
+## DP: if an entry below the cdrom entry were selected.
+
+@DPATCH@
+--- vdrcd-0.0.10.1/vdrcd.c
++++ vdrcd-0.0.10.1/vdrcd.c
+@@ -374,6 +374,14 @@
+ // Now switch into "source" mode
+ osd->ProcessKey(kGreen);
+
++ // Move to first entry
++ const char *actual = status->Current();
++ osd->ProcessKey(kUp);
++ while (actual != status->Current()) {
++ osd->ProcessKey(kUp);
++ actual = status->Current();
++ }
++
+ const char *last = NULL;
+ while (last != status->Current()) {
+ if (strcmp(status->Current() + strlen(status->Current())