[vdr] Replay Problems with Extension HD

Rolf Ahrenberg rahrenbe at cc.hut.fi
Thu Oct 14 17:23:11 CEST 2010

On Thu, 14 Oct 2010, Vesa wrote:

> Next step is to add delay for subtitles. This is "dirty trick", it is only
> for eHD users. Simply add some value to Delta (add second line):
> Code:
>     Delta = LimitTo32Bit(sb->Pts()) - LimitTo32Bit(STC);
>     Delta += 500000;
> With that 50000 you will get 5.56s delay. With that eHD now works correctly
> with recording play. Live shows subtitles will be too late with this, but it
> is minor issue. I mostly watch recordings :)

Would it help to modify the plugin's GetSTC() method only when 

+ if (Replaying())
+    STC -= 500000L; // or configurable: 900L * ReelSetup.STCDelayMs;


More information about the vdr mailing list