[vdr] select() problem seen with vdr-plugin-streamdev 0.6.1

2015-03-26 Thread Hans Petter Selasky

Hi,

I'm seeing this strange problem that a select statement in the streamdev 
server is returning EBADF and then the streamdev server exits and refuse 
to accept more connections. This typically happens when trying to stream 
a specific channel. Trying to stream other channels does not exhibit 
this problem.


I can recompile code and try patches.

I've made simple and crude patch to make the streamdev server plugin a 
bit more fault tolerant. See attachment.


OS: FreeBSD-11-current
Driver: Wecamd (Same as what is in Linux 3.18)

BTW: Thank you for keeping VDR up to date!

--HPS
--- ./work/streamdev-0.6.1/server/server.c	2012-10-15 22:19:22.0 +0200
+++ server.c	2015-03-26 14:36:11.710805000 +0100
@@ -111,8 +111,10 @@
 		if (!Running())
 			break;
 		if (sel  0) {
-			esyslog(fatal error, server exiting: %m);
-			break;
+			//esyslog(fatal error, server exiting: %m);
+			//break;
+			sel = 0;
+			usleep(10);
 		}
 	
 		/* Ask all Server components to act on signalled sockets */
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] raspbian apt repo with up to date vdr packages?

2015-03-26 Thread Thomas Creutz
Hi

I use the yavdr vdr packages as reference, because I love the debian way :)

But I patched the most of them for faster compiling with multiple threats.

By Interest I can share infos/packages. But I dont have time to manage a
up to date repository.

Thomas

Am 09.03.2015 um 15:31 schrieb VDR User:
 Have you tried compiling the sources yourself? It'll probably take a
 while but as long as no voodoo/magic is required, I don't see why not.

 On Mon, Mar 9, 2015 at 4:33 AM, Torgeir Veimo torgeir.ve...@gmail.com wrote:
 I've been testing out VDR on a raspberry pi 2 with excellent result
 using rpihddevice and am wondering if anyone know of any good APT
 repository with up to date packages for VDR and plugins?

 Am currently using raspbian which has VDR 1.7.28, so it's a bit behind.


 --
 -Tor

 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr