r4525 - in vdr/vdr/trunk/debian: . patches

Tobias Grimm tiber-guest at alioth.debian.org
Tue May 1 19:42:36 UTC 2007


Author: tiber-guest
Date: 2007-05-01 19:42:36 +0000 (Tue, 01 May 2007)
New Revision: 4525

Added:
   vdr/vdr/trunk/debian/patches/01_maintenance-patch-01.dpatch
Modified:
   vdr/vdr/trunk/debian/changelog
   vdr/vdr/trunk/debian/patches/00list
   vdr/vdr/trunk/debian/patches/15_dvbplayer.dpatch
   vdr/vdr/trunk/debian/patches/patchtest
Log:
* Added vdr maintenance patch 1.4.6-1 and modified 15_dvbplayer.dpatch
  user vdr to be a member in additional system groups, see README.Debian

Modified: vdr/vdr/trunk/debian/changelog
===================================================================
--- vdr/vdr/trunk/debian/changelog	2007-05-01 12:32:27 UTC (rev 4524)
+++ vdr/vdr/trunk/debian/changelog	2007-05-01 19:42:36 UTC (rev 4525)
@@ -12,16 +12,17 @@
     vdr-1.4.5-subtitles-0.5.0-and-ttxtsubs-0.0.5.diff.gz (no functional changes,
     just new version numbers)
   * Added Portuguese debconf translations (closes: #415495)
+  * Added vdr maintenance patch 1.4.6-1 and modified 15_dvbplayer.dpatch
 
   [ Thomas Günther ]
   * Removed debug logs in 17_epg-conv-iso6937.dpatch
 
   [ Thomas Schmidt ]
   * Added vdr-groups.sh script which can be used by plugins which require the
-    user vdr to be a member in additional system groups, see README.Debian 
+    user vdr to be a member in additional system groups, see README.Debian
     for additional information
 
- -- Thomas Schmidt <tschmidt at debian.org>  Tue,  1 May 2007 13:50:39 +0200
+ -- Tobias Grimm <tg at e-tobi.net>  Tue,  1 May 2007 21:41:27 +0200
 
 vdr (1.4.6-1) experimental; urgency=low
 

Modified: vdr/vdr/trunk/debian/patches/00list
===================================================================
--- vdr/vdr/trunk/debian/patches/00list	2007-05-01 12:32:27 UTC (rev 4524)
+++ vdr/vdr/trunk/debian/patches/00list	2007-05-01 19:42:36 UTC (rev 4525)
@@ -1,3 +1,4 @@
+01_maintenance-patch-01
 02_Makefile-CFGDIR
 03_cmdsubmenu
 04_newplugin

Added: vdr/vdr/trunk/debian/patches/01_maintenance-patch-01.dpatch
===================================================================
--- vdr/vdr/trunk/debian/patches/01_maintenance-patch-01.dpatch	2007-05-01 12:32:27 UTC (rev 4524)
+++ vdr/vdr/trunk/debian/patches/01_maintenance-patch-01.dpatch	2007-05-01 19:42:36 UTC (rev 4525)
@@ -0,0 +1,228 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_maintenance-patch-01.dpatch by Klaus Schmidinger <Klaus.Schmidinger at cadsoft.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: VDR maintenance patch 1.4.6-1.
+
+ at DPATCH@
+diff -urNad vdr-1.4.6~/CONTRIBUTORS vdr-1.4.6/CONTRIBUTORS
+--- vdr-1.4.6~/CONTRIBUTORS	2007-02-24 12:13:59.000000000 +0100
++++ vdr-1.4.6/CONTRIBUTORS	2007-05-01 21:19:28.000000000 +0200
+@@ -1118,6 +1118,7 @@
+  for making cCommand::Execute() use cPipe instead of popen() to avoid problems
+  with open file handles when starting background commands
+  for fixing handling error status in cDvbTuner::GetFrontendStatus()
++ for fixing a busy loop in fast forward if the next video data file is missing
+ 
+ Richard Robson <richard_robson at beeb.net>
+  for reporting freezing replay if a timer starts while in Transfer Mode from the
+@@ -1392,6 +1393,7 @@
+  for reporting a problem with displaying the replay mode symbol in case of "Multi
+  speed mode"
+  for removing 'assert(0)' from cDvbSpuDecoder::setTime()
++ for fixing handling ChannelUp/Down keys if there is currently a replay running
+ 
+ Jürgen Schmitz <j.schmitz at web.de>
+  for reporting a bug in displaying the current channel when switching via the SVDRP
+@@ -2006,6 +2008,7 @@
+  for suggesting that cDevice::GetDevice() should prefer any device that's already
+  receiving and doesn't require detatching receivers
+  for improving handling Transfer Mode devices when selecting a device to receive
++ for fixing handling frequencies in NitFilter::Process()
+ 
+ Antti Hartikainen <ami+vdr at ah.fi>
+  for updating 'S13E' in 'sources.conf'
+diff -urNad vdr-1.4.6~/HISTORY vdr-1.4.6/HISTORY
+--- vdr-1.4.6~/HISTORY	2007-03-03 16:57:20.000000000 +0100
++++ vdr-1.4.6/HISTORY	2007-05-01 21:19:28.000000000 +0200
+@@ -5047,3 +5047,13 @@
+ 2007-03-03: Version 1.4.6
+ 
+ - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
++
++2007-04-30: Version 1.4.6-1
++
++- Fixed a busy loop in fast forward if the next video data file is missing
++  (thanks to Reinhard Nissl).
++- Fixed handling frequencies in NitFilter::Process() (thanks to Anssi Hannula).
++- Fixed handling ChannelUp/Down keys if there is currently a replay running
++  (thanks to Marco Schlüßler).
++- Increased the maximum number of CA system ids to cope with the AlphaCrypt
++  CAM's version 3.11 firmware.
+diff -urNad vdr-1.4.6~/ci.c vdr-1.4.6/ci.c
+--- vdr-1.4.6~/ci.c	2007-01-05 11:08:46.000000000 +0100
++++ vdr-1.4.6/ci.c	2007-05-01 21:19:28.000000000 +0200
+@@ -4,7 +4,7 @@
+  * See the main source file 'vdr.c' for copyright information and
+  * how to reach the author.
+  *
+- * $Id: ci.c 1.46 2007/01/05 10:08:46 kls Exp $
++ * $Id: ci.c 1.46.1.1 2007/04/30 12:58:41 kls Exp $
+  */
+ 
+ #include "ci.h"
+@@ -943,7 +943,7 @@
+ 
+ // --- cCiConditionalAccessSupport -------------------------------------------
+ 
+-#define MAXCASYSTEMIDS 16
++#define MAXCASYSTEMIDS 64
+ 
+ // CA Enable Ids:
+ 
+diff -urNad vdr-1.4.6~/config.h vdr-1.4.6/config.h
+--- vdr-1.4.6~/config.h	2007-02-25 13:09:29.000000000 +0100
++++ vdr-1.4.6/config.h	2007-05-01 21:19:28.000000000 +0200
+@@ -4,7 +4,7 @@
+  * See the main source file 'vdr.c' for copyright information and
+  * how to reach the author.
+  *
+- * $Id: config.h 1.282.1.3 2007/02/25 12:09:29 kls Exp $
++ * $Id: config.h 1.282.1.4 2007/04/30 09:50:37 kls Exp $
+  */
+ 
+ #ifndef __CONFIG_H
+@@ -21,7 +21,7 @@
+ 
+ // VDR's own version number:
+ 
+-#define VDRVERSION  "1.4.6"
++#define VDRVERSION  "1.4.6-1"
+ #define VDRVERSNUM   10406  // Version * 10000 + Major * 100 + Minor
+ 
+ // The plugin API's version number:
+diff -urNad vdr-1.4.6~/dvbplayer.c vdr-1.4.6/dvbplayer.c
+--- vdr-1.4.6~/dvbplayer.c	2006-04-17 14:45:48.000000000 +0200
++++ vdr-1.4.6/dvbplayer.c	2007-05-01 21:19:28.000000000 +0200
+@@ -4,7 +4,7 @@
+  * See the main source file 'vdr.c' for copyright information and
+  * how to reach the author.
+  *
+- * $Id: dvbplayer.c 1.45 2006/04/17 12:45:48 kls Exp $
++ * $Id: dvbplayer.c 1.46 2007/04/28 14:55:22 kls Exp $
+  */
+ 
+ #include "dvbplayer.h"
+@@ -402,8 +402,10 @@
+                        bool TimeShiftMode = index->IsStillRecording();
+                        int Index = index->GetNextIFrame(readIndex, playDir == pdForward, &FileNumber, &FileOffset, &Length, TimeShiftMode);
+                        if (Index >= 0) {
+-                          if (!NextFile(FileNumber, FileOffset))
++                          if (!NextFile(FileNumber, FileOffset)) {
++                             readIndex = Index;
+                              continue;
++                             }
+                           }
+                        else {
+                           if (!TimeShiftMode && playDir == pdForward) {
+diff -urNad vdr-1.4.6~/nit.c vdr-1.4.6/nit.c
+--- vdr-1.4.6~/nit.c	2006-10-28 14:31:04.000000000 +0200
++++ vdr-1.4.6/nit.c	2007-05-01 21:19:28.000000000 +0200
+@@ -4,7 +4,7 @@
+  * See the main source file 'vdr.c' for copyright information and
+  * how to reach the author.
+  *
+- * $Id: nit.c 1.13 2006/10/28 12:31:04 kls Exp $
++ * $Id: nit.c 1.14 2007/04/29 11:35:33 kls Exp $
+  */
+ 
+ #include "nit.h"
+@@ -144,17 +144,16 @@
+                  for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
+                      if (!Channel->GroupSep() && Channel->Source() == Source && Channel->Nid() == ts.getOriginalNetworkId() && Channel->Tid() == ts.getTransportStreamId()) {
+                         if (Setup.UpdateChannels >= 5) {
+-                           if (ISTRANSPONDER(cChannel::Transponder(Frequency, Polarization), Transponder())) { // only modify channels if we're actually receiving this transponder
+-                              if (!ISTRANSPONDER(cChannel::Transponder(Frequency, Polarization), Channel->Transponder())) {
+-                                 for (int n = 0; n < NumFrequencies; n++) {
+-                                     if (ISTRANSPONDER(cChannel::Transponder(Frequencies[n], Polarization), Channel->Transponder())) {
+-                                        Frequency = Frequencies[n];
+-                                        break;
+-                                        }
++                           if (!ISTRANSPONDER(cChannel::Transponder(Frequency, Polarization), Channel->Transponder())) {
++                              for (int n = 0; n < NumFrequencies; n++) {
++                                  if (ISTRANSPONDER(cChannel::Transponder(Frequencies[n], Polarization), Channel->Transponder())) {
++                                     Frequency = Frequencies[n];
++                                     break;
+                                      }
+-                                 }
+-                              Channel->SetSatTransponderData(Source, Frequency, Polarization, SymbolRate, CodeRate);
++                                  }
+                               }
++                           if (ISTRANSPONDER(cChannel::Transponder(Frequency, Polarization), Transponder())) // only modify channels if we're actually receiving this transponder
++                              Channel->SetSatTransponderData(Source, Frequency, Polarization, SymbolRate, CodeRate);
+                            }
+                         found = true;
+                         }
+@@ -195,17 +194,16 @@
+                  for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
+                      if (!Channel->GroupSep() && Channel->Source() == Source && Channel->Nid() == ts.getOriginalNetworkId() && Channel->Tid() == ts.getTransportStreamId()) {
+                         if (Setup.UpdateChannels >= 5) {
+-                           if (ISTRANSPONDER(Frequency / 1000, Transponder())) { // only modify channels if we're actually receiving this transponder
+-                              if (!ISTRANSPONDER(Frequency / 1000, Channel->Transponder())) {
+-                                 for (int n = 0; n < NumFrequencies; n++) {
+-                                     if (ISTRANSPONDER(Frequencies[n] / 1000, Channel->Transponder())) {
+-                                        Frequency = Frequencies[n];
+-                                        break;
+-                                        }
++                           if (!ISTRANSPONDER(Frequency / 1000, Channel->Transponder())) {
++                              for (int n = 0; n < NumFrequencies; n++) {
++                                  if (ISTRANSPONDER(Frequencies[n] / 1000, Channel->Transponder())) {
++                                     Frequency = Frequencies[n];
++                                     break;
+                                      }
+-                                 }
+-                              Channel->SetCableTransponderData(Source, Frequency, Modulation, SymbolRate, CodeRate);
++                                  }
+                               }
++                           if (ISTRANSPONDER(Frequency / 1000, Transponder())) // only modify channels if we're actually receiving this transponder
++                              Channel->SetCableTransponderData(Source, Frequency, Modulation, SymbolRate, CodeRate);
+                            }
+                         found = true;
+                         }
+@@ -253,17 +251,16 @@
+                  for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
+                      if (!Channel->GroupSep() && Channel->Source() == Source && Channel->Nid() == ts.getOriginalNetworkId() && Channel->Tid() == ts.getTransportStreamId()) {
+                         if (Setup.UpdateChannels >= 5) {
+-                           if (ISTRANSPONDER(Frequency / 1000000, Transponder())) { // only modify channels if we're actually receiving this transponder
+-                              if (!ISTRANSPONDER(Frequency / 1000000, Channel->Transponder())) {
+-                                 for (int n = 0; n < NumFrequencies; n++) {
+-                                     if (ISTRANSPONDER(Frequencies[n] / 1000000, Channel->Transponder())) {
+-                                        Frequency = Frequencies[n];
+-                                        break;
+-                                        }
++                           if (!ISTRANSPONDER(Frequency / 1000000, Channel->Transponder())) {
++                              for (int n = 0; n < NumFrequencies; n++) {
++                                  if (ISTRANSPONDER(Frequencies[n] / 1000000, Channel->Transponder())) {
++                                     Frequency = Frequencies[n];
++                                     break;
+                                      }
+-                                 }
+-                              Channel->SetTerrTransponderData(Source, Frequency, Bandwidth, Constellation, Hierarchy, CodeRateHP, CodeRateLP, GuardInterval, TransmissionMode);
++                                  }
+                               }
++                           if (ISTRANSPONDER(Frequency / 1000000, Transponder())) // only modify channels if we're actually receiving this transponder
++                              Channel->SetTerrTransponderData(Source, Frequency, Bandwidth, Constellation, Hierarchy, CodeRateHP, CodeRateLP, GuardInterval, TransmissionMode);
+                            }
+                         found = true;
+                         }
+diff -urNad vdr-1.4.6~/vdr.c vdr-1.4.6/vdr.c
+--- vdr-1.4.6~/vdr.c	2006-12-02 17:22:12.000000000 +0100
++++ vdr-1.4.6/vdr.c	2007-05-01 21:19:28.000000000 +0200
+@@ -22,7 +22,7 @@
+  *
+  * The project's page is at http://www.cadsoft.de/vdr
+  *
+- * $Id: vdr.c 1.282 2006/12/02 16:22:12 kls Exp $
++ * $Id: vdr.c 1.282.1.1 2007/04/30 09:48:23 kls Exp $
+  */
+ 
+ #include <getopt.h>
+@@ -947,7 +947,7 @@
+           case kChanDn:
+                if (!Interact)
+                   Menu = new cDisplayChannel(NORMALKEY(key));
+-               else if (cDisplayChannel::IsOpen()) {
++               else if (cDisplayChannel::IsOpen() || cControl::Control()) {
+                   Interact->ProcessKey(key);
+                   continue;
+                   }

Modified: vdr/vdr/trunk/debian/patches/15_dvbplayer.dpatch
===================================================================
--- vdr/vdr/trunk/debian/patches/15_dvbplayer.dpatch	2007-05-01 12:32:27 UTC (rev 4524)
+++ vdr/vdr/trunk/debian/patches/15_dvbplayer.dpatch	2007-05-01 19:42:36 UTC (rev 4525)
@@ -16,9 +16,10 @@
 ## DP: vdr-xine while moving cut marks.
 
 @DPATCH@
---- vdr-1.3.31/dvbplayer.c
-+++ vdr-1.3.31/dvbplayer.c
-@@ -349,6 +349,202 @@ void cDvbPlayer::Activate(bool On)
+diff -urNad vdr-1.4.6~/dvbplayer.c vdr-1.4.6/dvbplayer.c
+--- vdr-1.4.6~/dvbplayer.c	2007-05-01 21:22:11.000000000 +0200
++++ vdr-1.4.6/dvbplayer.c	2007-05-01 21:29:43.000000000 +0200
+@@ -363,6 +363,202 @@
       Cancel(9);
  }
  
@@ -221,15 +222,15 @@
  void cDvbPlayer::Action(void)
  {
    uchar *b = NULL;
-@@ -385,6 +581,7 @@ void cDvbPlayer::Action(void)
-                        if (Index >= 0) {
-                           if (!NextFile(FileNumber, FileOffset))
+@@ -406,6 +602,7 @@
+                              readIndex = Index;
                               continue;
+                              }
 +                          Length += IPACKS; // fixIFrame needs next video packet
                            }
                         else {
-                           // hit begin of recording: wait for device buffers to drain
-@@ -423,6 +620,8 @@ void cDvbPlayer::Action(void)
+                           if (!TimeShiftMode && playDir == pdForward) {
+@@ -450,6 +647,8 @@
                      }
                   int r = nonBlockingFileReader->Read(replayFile, b, Length);
                   if (r > 0) {
@@ -238,7 +239,7 @@
                      WaitingForData = false;
                      readFrame = new cFrame(b, -r, ftUnknown, readIndex); // hands over b to the ringBuffer
                      b = NULL;
-@@ -655,9 +854,11 @@ void cDvbPlayer::Goto(int Index, bool St
+@@ -688,9 +887,11 @@
       int FileOffset, Length;
       Index = index->GetNextIFrame(Index, false, &FileNumber, &FileOffset, &Length);
       if (Index >= 0 && NextFile(FileNumber, FileOffset) && Still) {

Modified: vdr/vdr/trunk/debian/patches/patchtest
===================================================================
--- vdr/vdr/trunk/debian/patches/patchtest	2007-05-01 12:32:27 UTC (rev 4524)
+++ vdr/vdr/trunk/debian/patches/patchtest	2007-05-01 19:42:36 UTC (rev 4525)
@@ -3,6 +3,7 @@
 # Define some patch levels here: foo="patch1 patch2 ..."
 #
 standard="\
+    01_maintenance-patch-01 \
     02_Makefile-CFGDIR \
     03_cmdsubmenu \
     04_newplugin \




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