xineliboutput subtitle crop

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

 



Hello,

On vdr 1.7.17 I have problem with xineliboutput and subtitles. It's oversized and cropped.
Problem is probably incompatibility to change OSD layer size on 1.7.17

Here is my hotfix. I am not sure, if it is correct because I don't know vdr/xineliboutput internals. But it siply works for me.

Jiri
PS: many thanks for nice piece of SW, specially thanks to Klaus.


--- osd.c.old    2011-03-18 15:55:32.681879469 +0100
+++ osd.c    2011-03-18 16:02:54.111874506 +0100
@@ -393,10 +393,13 @@

 #if VDRVERSNUM >= 10708

+#if VDRVERSNUM < 10717
if (xc.osd_spu_scaling && (m_Layer == OSD_LEVEL_SUBTITLES || m_Layer == OSD_LEVEL_TTXTSUBS)) {
     m_ExtentWidth  = 720;
     m_ExtentHeight = 576;
-  } else {
+  } else
+#endif
+  {
     double Aspect;
     int    W, H;
     m_Device->GetOsdSize(W, H, Aspect);


_______________________________________________
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