summaryrefslogtreecommitdiff
path: root/remux.c
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 /remux.c
parent0411cd6127403b37b6ed2d2aa4284a7b2fcae559 (diff)
downloadvdr-c1b39c523d297389e01addcf7f12b756a3038ad8.tar.gz
vdr-c1b39c523d297389e01addcf7f12b756a3038ad8.tar.bz2
Fixed setting 'synced' in cRemux when recording radio channels
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c4
1 files changed, 3 insertions, 1 deletions
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);