On 14.10.2010 19.17, Vesa wrote:
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.
OMG :) It's really working. Of course the real "problem" should be solved, but now the recordings containing dvb subtitles can be watched again using the vdr and not just other tools.
I owe you guys a beer :D
...hanu