[ANNOUNCE] VDR developer version 1.7.1
Commit Message
The sky plugin does not compile any more, because it uses PID_MASK_HI
which got renamed to TS_PID_MASK_HI. Patch is attached. A similar
problem strikes for streamdev.
Cheers,
Udo
Comments
On 09/07/08 13:48, Udo Richter wrote:
> The sky plugin does not compile any more, because it uses PID_MASK_HI
> which got renamed to TS_PID_MASK_HI. Patch is attached.
Thanks.
At some point I guess I should just drop the sky plugin, since it's
of no real use any more...
Klaus
@@ -160,12 +160,12 @@
Data = tsBuffer->Get();
if (Data) {
// insert the actual PIDs:
- int Pid = (((uint16_t)Data[1] & PID_MASK_HI) << 8) | Data[2];
+ int Pid = (((uint16_t)Data[1] & TS_PID_MASK_HI) << 8) | Data[2];
if (Pid == DUMMYAPID)
Pid = apid;
else if (Pid == DUMMYVPID)
Pid = vpid;
- Data[1] = ((Pid >> 8) & 0xFF) | (Data[1] & ~PID_MASK_HI);
+ Data[1] = ((Pid >> 8) & 0xFF) | (Data[1] & ~TS_PID_MASK_HI);
Data[2] = Pid & 0xFF;
}
return true;