Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 20:48:15 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Hans Petter Selasky <hselasky@freebsd.org>
Cc:        me@janh.de, kde@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>, freebsd-multimedia@freebsd.org, Joe Marcus Clarke <marcus@freebsd.org>, gnome@freebsd.org
Subject:   Re: kaffeine-1.0 and webcamd based DVB-T?
Message-ID:  <20100831184815.GA93400@triton8.kn-bremen.de>
In-Reply-To: <201008302322.20299.hselasky@freebsd.org>
References:  <4C66C4BC.4040504@janh.de> <201008252350.05592.hselasky@freebsd.org> <20100826183543.GA39319@triton8.kn-bremen.de> <201008302322.20299.hselasky@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 30, 2010 at 11:22:20PM +0200, Hans Petter Selasky wrote:
> Hi,
Hi!
> 
> I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To 
> enable HAL support build like this:
> 
> make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib
> 
> Run like this:
> 
> ./webcamd -H

 There's an initialization missing so the code did nothing...
(works now for dvb, v4l untested due to lack of device.)

 Cheers,
	Juergen

Index: webcamd_hal.c
===================================================================
--- webcamd_hal.c	(revision 1628)
+++ webcamd_hal.c	(working copy)
@@ -69,6 +69,8 @@
 	char **ppdev;
 	int n;
 
+	if (!(hal_conn = dbus_bus_get(DBUS_BUS_SYSTEM, NULL)))
+		return;
 	hal_ctx = libhal_ctx_new();
 	if (hal_ctx == NULL)
 		return;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100831184815.GA93400>