[vdr] Vdr 1.7.4 replay hangs, when subtitles start

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Fri Jan 30 17:04:32 CET 2009


On 29.01.2009 20:07, Timo Helkio wrote:
> Hi all,
> 
> 
> Vdr-1.7.4 stops playing recordings with subtitles, when subtitles start 
> and in the log is seen "subtitleConverter thread started". There are no 
> other messages in the log and replay goes on if you press FF and play 
> buttons again. I have a Nexus-s card as tv-output and this happens with 
> "pure" Vdr, no patches and plugins installed.

Here's the fix:

--- device.c    2009/01/25 11:10:56     2.11
+++ device.c    2009/01/30 16:01:53
@@ -1304,8 +1304,9 @@
   if (!dvbSubtitleConverter)
      dvbSubtitleConverter = new cDvbSubtitleConverter;
   tsToPesSubtitle.PutTs(Data, Length);
-  if (const uchar *p = tsToPesSubtitle.GetPes(Length)) {
-     dvbSubtitleConverter->Convert(p, Length);
+  int l;
+  if (const uchar *p = tsToPesSubtitle.GetPes(l)) {
+     dvbSubtitleConverter->Convert(p, l);
      tsToPesSubtitle.Reset();
      }
   return Length;


Klaus



More information about the vdr mailing list