Bug#467512: vdr restarts reproducably when viewing some recordings info

Darren Salt linux at youmustbejoking.demon.co.uk
Fri Feb 29 18:45:05 UTC 2008


I demand that Tobias Grimm may or may not have written...

> Sven Mueller wrote:
>> I have a number of recordings which cause vdr to restart (emergency

> Thanks for reporting this!

> I did some debugging and figured out, it's a minor bug in the text
> rendering, when the text contains invalid characters (in your case 0x0A - a
> Latin1 NON-BREAKIN-SPACE)

> See also: http://www.linuxtv.org/pipermail/vdr/2008-February/015906.html

> I've already fixed this in vdr 1.5.16-1ctvdr1, which went online on
> e-tobi.net today.

> The next Debian release in experimental will be vdr 1.6.0, coming in the
> next weeks.

A newer vdr-plugin-xine will be needed – and is, in fact, needed now since
xine-lib-1.2 won't work with the version currently in experimental. You'll
find this useful for building it for vdr 1.4.x (but you'll lose
translations):

----8<----
diff -urNad vdr-plugin-xine-0.8.1~/xine.c vdr-plugin-xine-0.8.1/xine.c
--- vdr-plugin-xine-0.8.1~/xine.c
+++ vdr-plugin-xine-0.8.1/xine.c
@@ -18,7 +18,7 @@
 
 
 static const char VERSION[]       = "0.8.1";
-static const char DESCRIPTION[]   = tr("Software based playback using
xine");
+static const char DESCRIPTION[]   = TR("Software based playback using
xine");
 //static const char MAINMENUENTRY[] = "xine - Toggle prebuffer setting";
 
 
diff -urNad vdr-plugin-xine-0.8.1~/xineCommon.h
vdr-plugin-xine-0.8.1/xineCommon.h
--- vdr-plugin-xine-0.8.1~/xineCommon.h
+++ vdr-plugin-xine-0.8.1/xineCommon.h
@@ -26,7 +26,11 @@
 #define APIVERSNUM VDRVERSNUM
 #endif
 
-
+#if VDRVERSNUM < 10500
+#define TR(x) x
+#else
+#define TR(x) tr((x))
+#endif
 
 namespace PluginXine
 {
----8<----

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING.

Waste not fresh tears over old griefs.



More information about the pkg-vdr-dvb-devel mailing list