[vdr] Replay Problems with Extension HD

Vesa vesa-s at nic.fi
Thu Oct 14 18:17:54 CEST 2010


> From: Rolf Ahrenberg
> 
> Would it help to modify the plugin's GetSTC() method only when
> replaying?
> 
> + if (Replaying())
> +    STC -= 500000L; // or configurable: 900L * ReelSetup.STCDelayMs;
> 

Yes, that works. Complete fix for ReelBoxDevice.c around line 996:

- return (stc == 0) ? -1LL : stc;
+ if (Replaying())
+ stc -= 520000L;
+ return (stc == 0) ? -1LL : (stc & 0x00000000FFFFFFFF);


With this change Reelbox delivers stc in correct format and timing is
correct for live show. For recordings 520000 is suitable mid range offset on
Yle SD feed. I assume that eHD buffer is for mpeg/h264 and delay is based on
bit/s.

-- 
Vesa




More information about the vdr mailing list