Re: Vdr 1.7.4 replay hangs, when subtitles start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 


Yes, it works now.


Timo

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux