Mailing List archive

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

[vdr] [PATCH] dxr3 Fix "oversize" screen for radio display, by sendingblack frame of video



A problem was introduced with setting up the dxr3 video output for radio channels in the dxr3-0.2.0 release. If vdr is started up with a radio channel selected at startup then the OSD output is distorted and goes off the screen. I fixed this by re-introducing the output of the "blackframe" video output into the resuscitation code (this was present in the 0.1.9 release).

Does this look OK, or was this removed for a reason?

Thanks,
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