Re: [vdr] Vdr 1.7.4 replay hangs, when subtitles start

2009-01-30 Thread Timo Helkio
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.c2009/01/25 11:10:56 2.11
> +++ device.c2009/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@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 


Yes, it works now.


Timo

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


Re: [vdr] Vdr 1.7.4 replay hangs, when subtitles start

2009-01-30 Thread Klaus Schmidinger
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.c2009/01/25 11:10:56 2.11
+++ device.c2009/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@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Vdr 1.7.4 replay hangs, when subtitles start

2009-01-29 Thread Timo Helkio
Timo Helkio kirjoitti:
> 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.
> 
> 
> Timo
> 
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 


Hi again

This happens only with new ts-recordings made with vdr-1.7.4

Timo

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


[vdr] Vdr 1.7.4 replay hangs, when subtitles start

2009-01-29 Thread Timo Helkio
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.


Timo

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