En/na Rolf Ahrenberg ha escrit:
On Thu, 30 Aug 2007, Luca Olivetti wrote:

With a quick look (and I remark "quick" so I may be wrong) it seems that
the patches now don't change anymore the osd but use the new osd level
in vdr-1.5.9.

Yes. I've set subtitles to use level 10 and ttxtsubs to 20.

I'd like to know if the new patch is supposed to be working, or the
cause the subtitles aren't showing is my hurriedly patched dxr3 and xine
plugins.

DVB subtitles are working nicely in my FF setup and someone reported that ttxtsubs are working with xineliboutput.

I somewhat doubt it, since I had to bypass the "IsOpen" test to make it work with a properly (I think) patched dxr3 plugin.
Patch attached.

Bye
--
Luca

--- ttxtsubsdisplay.c.orig	2007-09-02 13:38:44.621547000 +0200
+++ ttxtsubsdisplay.c	2007-09-02 15:07:14.774866000 +0200
@@ -413,12 +413,12 @@
     delete tmp;
   }
 
+#if defined(APIVERSNUM) && APIVERSNUM < 10509
   if (cOsd::IsOpen()) {
      //dprint("NOT displaying subtitles because of other OSD activities!\n");
      return;
      }
   else {
-#if defined(APIVERSNUM) && APIVERSNUM < 10509
      mOsd = cOsdProvider::NewOsd(SCREENLEFT, SCREENTOP);
 #else
      mOsd = cOsdProvider::NewOsd(SCREENLEFT, SCREENTOP, 20); // level 20
@@ -427,7 +427,9 @@
        //dprint("Error: cOsdProvider::NewOsd() returned NULL!\n");
        return;
        }
+#if defined(APIVERSNUM) && APIVERSNUM < 10509
      }
+#endif
 
 #if defined(APIVERSNUM) && APIVERSNUM < 10503
   cFont::SetCode(I18nCharSets()[globals.i18nLanguage()]);
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to