From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 31 18:50:14 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A53110656C7; Tue, 31 Aug 2010 18:50:14 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id B74798FC0C; Tue, 31 Aug 2010 18:50:13 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id F0F8A1E0072D; Tue, 31 Aug 2010 20:50:11 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o7VImFin093745; Tue, 31 Aug 2010 20:48:15 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o7VImFEW093744; Tue, 31 Aug 2010 20:48:15 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 31 Aug 2010 20:48:15 +0200 To: Hans Petter Selasky Message-ID: <20100831184815.GA93400@triton8.kn-bremen.de> References: <4C66C4BC.4040504@janh.de> <201008252350.05592.hselasky@freebsd.org> <20100826183543.GA39319@triton8.kn-bremen.de> <201008302322.20299.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008302322.20299.hselasky@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 18:50:14 -0000 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;