Mailing List archive

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

[vdr] Re: [ANNOUNCE] DXR3-plugin 0.2.0 problem: OSD falsely scaledon initialization



Andreas Wundsam wrote:
Hi,

in addition to the problem described in my other posting I'm experiencing one
addition problem with version 0.2.0 that did not show up in 0.1.9:

The OSD is scaled wrongly ( := it is too big to fit on the screen) on
initialization. After starting to play a recording (or starting a livestream
with the streamdev plugin), it is correctly scaled.
I see the same problem if I startup vdr with a radio channel.

Try this patch, it reverses part of the 0.2.0 changes which removed the output of a black video frame.

Jon
--- dxr3abstractiondevice.c~	2003-06-07 23:17:37.000000000 +0100
+++ dxr3abstractiondevice.c	2003-06-09 23:23:40.000000000 +0100
@@ -680,8 +680,8 @@
 }
 
 void cDxr3AbsDevice::Resuscitation(void) {
-    // extern char blackframe[];
-    // extern int blackframeLength;    
+    extern char blackframe[];
+    extern int blackframeLength;    
     time_t startt = time(&startt);
     time_t endt = 0;
     bExternalReleased = true;
@@ -692,8 +692,8 @@
     dsyslog("cDxr3AbsDevice::Resuscitation Micro code upload successfully");
     
     NonBlockingCloseOpen();
-    // write(m_fdVideo, blackframe, blackframeLength);
-    // write(m_fdVideo, blackframe, blackframeLength);
+    write(m_fdVideo, blackframe, blackframeLength);
+    write(m_fdVideo, blackframe, blackframeLength);
     bExternalReleased = false;
     
     endt = time(&endt);

Home | Main Index | Thread Index