[vdr] Vdr 1.7.4 replay hangs, when subtitles start
Timo Helkio
timolavi at mbnet.fi
Fri Jan 30 17:20:19 CET 2009
Klaus Schmidinger kirjoitti:
> 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
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
Yes, it works now.
Timo
More information about the vdr
mailing list