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;
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to