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

Disabled cVideoRepacker in remux.c

This commit is contained in:
Klaus Schmidinger 2005-06-19 10:19:13 +02:00
parent be1b6b5e88
commit f996f10099
2 changed files with 13 additions and 2 deletions

View File

@ -3613,7 +3613,7 @@ Video Disk Recorder Revision History
- Modified cEITScanner::Process() so that it works on systems with only budget cards - Modified cEITScanner::Process() so that it works on systems with only budget cards
or a mix of DVB-S, DVB-C or DVB-T cards. or a mix of DVB-S, DVB-C or DVB-T cards.
2005-06-18: Version 1.3.27 2005-06-19: Version 1.3.27
- Fixed handling 'page down', which was broken in version 1.3.26 (thanks to Udo - Fixed handling 'page down', which was broken in version 1.3.26 (thanks to Udo
Richter). Richter).
@ -3624,3 +3624,9 @@ Video Disk Recorder Revision History
now runs fine with NPTL. now runs fine with NPTL.
- Fixed handling VPS timers, so that they only record if the event they are assigned - Fixed handling VPS timers, so that they only record if the event they are assigned
to actually has the given VPS time. to actually has the given VPS time.
- Disabled cVideoRepacker in remux.c, because it has caused several problems
during recording. If you want to test (and maybe debug) it, activate the line
//#define TEST_cVideoRepacker
in remux.c.

View File

@ -11,7 +11,7 @@
* The cDolbyRepacker code was originally written by Reinhard Nissl <rnissl@gmx.de>, * The cDolbyRepacker code was originally written by Reinhard Nissl <rnissl@gmx.de>,
* and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de. * and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de.
* *
* $Id: remux.c 1.34 2005/06/04 14:49:25 kls Exp $ * $Id: remux.c 1.35 2005/06/19 10:17:00 kls Exp $
*/ */
#include "remux.h" #include "remux.h"
@ -1155,7 +1155,12 @@ cRemux::cRemux(int VPid, const int *APids, const int *DPids, const int *SPids, b
resultBuffer = new cRingBufferLinear(RESULTBUFFERSIZE, IPACKS, false, "Result"); resultBuffer = new cRingBufferLinear(RESULTBUFFERSIZE, IPACKS, false, "Result");
resultBuffer->SetTimeouts(0, 100); resultBuffer->SetTimeouts(0, 100);
if (VPid) if (VPid)
//#define TEST_cVideoRepacker
#ifdef TEST_cVideoRepacker
ts2pes[numTracks++] = new cTS2PES(VPid, resultBuffer, IPACKS, 0x00, 0x00, new cVideoRepacker); ts2pes[numTracks++] = new cTS2PES(VPid, resultBuffer, IPACKS, 0x00, 0x00, new cVideoRepacker);
#else
ts2pes[numTracks++] = new cTS2PES(VPid, resultBuffer, IPACKS);
#endif
if (APids) { if (APids) {
int n = 0; int n = 0;
while (*APids && numTracks < MAXTRACKS && n < MAXAPIDS) while (*APids && numTracks < MAXTRACKS && n < MAXAPIDS)