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:
parent
0411cd6127
commit
c1b39c523d
@ -1183,3 +1183,6 @@ Darren Salt <linux@youmustbejoking.demon.co.uk>
|
|||||||
|
|
||||||
Sean Carlos <seanc@libero.it>
|
Sean Carlos <seanc@libero.it>
|
||||||
for translating OSD texts to the Italian language
|
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
|
||||||
|
2
HISTORY
2
HISTORY
@ -3196,3 +3196,5 @@ Video Disk Recorder Revision History
|
|||||||
- Escaped the '-' and 'ö' characters in the man pages (thanks to Darren Salt for
|
- Escaped the '-' and 'ö' characters in the man pages (thanks to Darren Salt for
|
||||||
pointing this out).
|
pointing this out).
|
||||||
- Completed the Italian OSD texts (thanks to Sean Carlos).
|
- Completed the Italian OSD texts (thanks to Sean Carlos).
|
||||||
|
- Fixed setting 'synced' in cRemux when recording radio channels (thanks to
|
||||||
|
Laurence Abbott).
|
||||||
|
4
remux.c
4
remux.c
@ -8,7 +8,7 @@
|
|||||||
* the Linux DVB driver's 'tuxplayer' example and were rewritten to suit
|
* the Linux DVB driver's 'tuxplayer' example and were rewritten to suit
|
||||||
* VDR's needs.
|
* 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"
|
#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 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 also allowing 0x1FFF to not break Michael Paar's original patch,
|
||||||
// XXX but it would probably be best to only use '0'
|
// 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)
|
if (PictureType)
|
||||||
*PictureType = I_FRAME;
|
*PictureType = I_FRAME;
|
||||||
return resultBuffer->Get(Count);
|
return resultBuffer->Get(Count);
|
||||||
|
Loading…
Reference in New Issue
Block a user