1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed setting 'synced' in cRemux when recording radio channels

This commit is contained in:
Klaus Schmidinger 2004-12-18 13:17:10 +01:00
parent 0411cd6127
commit c1b39c523d
3 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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).

View File

@ -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);