summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-12-18 13:17:10 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-12-18 13:17:10 +0100
commitc1b39c523d297389e01addcf7f12b756a3038ad8 (patch)
tree102336b57c99698a94cbfcc456bd15dccdfe3dac
parent0411cd6127403b37b6ed2d2aa4284a7b2fcae559 (diff)
downloadvdr-c1b39c523d297389e01addcf7f12b756a3038ad8.tar.gz
vdr-c1b39c523d297389e01addcf7f12b756a3038ad8.tar.bz2
Fixed setting 'synced' in cRemux when recording radio channels
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--remux.c4
3 files changed, 8 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 7d3e04db..d4e57073 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1183,3 +1183,6 @@ Darren Salt <linux@youmustbejoking.demon.co.uk>
Sean Carlos <seanc@libero.it>
for translating OSD texts to the Italian language
+
+Laurence Abbott <laz@club-burniston.co.uk>
+ for fixing setting 'synced' in cRemux when recording radio channels
diff --git a/HISTORY b/HISTORY
index 37b34542..03086622 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3196,3 +3196,5 @@ Video Disk Recorder Revision History
- Escaped the '-' and 'ö' characters in the man pages (thanks to Darren Salt for
pointing this out).
- Completed the Italian OSD texts (thanks to Sean Carlos).
+- Fixed setting 'synced' in cRemux when recording radio channels (thanks to
+ Laurence Abbott).
diff --git a/remux.c b/remux.c
index b9c04af3..554359c5 100644
--- a/remux.c
+++ b/remux.c
@@ -8,7 +8,7 @@
* the Linux DVB driver's 'tuxplayer' example and were rewritten to suit
* VDR's needs.
*
- * $Id: remux.c 1.22 2004/11/16 16:49:03 kls Exp $
+ * $Id: remux.c 1.23 2004/12/18 13:15:02 kls Exp $
*/
#include "remux.h"
@@ -541,6 +541,8 @@ uchar *cRemux::Get(int &Count, uchar *PictureType)
// XXX actually '0' should be enough, but '1' must be used with encrypted channels (driver bug?)
// XXX also allowing 0x1FFF to not break Michael Paar's original patch,
// XXX but it would probably be best to only use '0'
+ // Force syncing of radio channels to avoid "no useful data" error
+ synced = true;
if (PictureType)
*PictureType = I_FRAME;
return resultBuffer->Get(Count);