gmodule-export-2.0
gobject-2.0
gsettings-desktop-schemas
- gstreamer-0.10 >= $GSTREAMER_REQUIRED
- gstreamer-interfaces-0.10
libxml-2.0
telepathy-glib >= $TELEPATHY_GLIB_REQUIRED
telepathy-logger-0.2 >= $TELEPATHY_LOGGER
clutter-1.0 >= $CLUTTER_REQUIRED
clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
clutter-gst-1.0 >= $CLUTTER_GST_REQUIRED
+ gstreamer-0.10 >= $GSTREAMER_REQUIRED
+ gstreamer-interfaces-0.10
])
AC_DEFINE(EMPATHY_GOA_PROVIDER, "org.gnome.OnlineAccounts",
#define EMPATHY_CAMERA_DEVICE_MONITOR_ERROR empathy_camera_device_monitor_error_quark ()
-GST_DEBUG_CATEGORY (empathy_device_monitor_cat);
-#define GST_CAT_DEFAULT empathy_device_monitor_cat
+#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
+#include <libempathy/empathy-debug.h>
enum EmpathyCameraDeviceMonitorError
{
const gchar *devpath = g_udev_device_get_property (udevice, "DEVPATH");
- GST_INFO ("Checking udev device '%s'", devpath);
+ DEBUG ("Checking udev device '%s'", devpath);
bus = g_udev_device_get_property (udevice, "ID_BUS");
if (g_strcmp0 (bus, "usb") == 0)
product_id = g_ascii_strtoll (product, NULL, 16);
if (vendor_id == 0 || product_id == 0)
{
- GST_WARNING ("Error getting vendor and product id");
+ DEBUG ("Error getting vendor and product id");
}
else
{
- GST_INFO ("Found device %04x:%04x, getting capabilities...", vendor_id, product_id);
+ DEBUG ("Found device %04x:%04x, getting capabilities...", vendor_id, product_id);
}
}
else
{
- GST_INFO ("Not an usb device, skipping vendor and model id retrieval");
+ DEBUG ("Not an usb device, skipping vendor and model id retrieval");
}
device_file = g_udev_device_get_device_file (udevice);
if (device_file == NULL)
{
- GST_WARNING ("Error getting V4L device");
+ DEBUG ("Error getting V4L device");
return;
}
* so detect them by device name */
if (strstr (device_file, "vbi"))
{
- GST_INFO ("Skipping vbi device: %s", device_file);
+ DEBUG ("Skipping vbi device: %s", device_file);
return;
}
caps = g_udev_device_get_property (udevice, "ID_V4L_CAPABILITIES");
if (caps == NULL || strstr (caps, ":capture:") == NULL)
{
- GST_WARNING ("Device %s seems to not have the capture capability, (radio tuner?)"
+ DEBUG ("Device %s seems to not have the capture capability, (radio tuner?)"
"Removing it from device list.", device_file);
return;
}
}
else if (v4l_version == 0)
{
- GST_ERROR ("Fix your udev installation to include v4l_id, ignoring %s", device_file);
+ DEBUG ("Fix your udev installation to include v4l_id, ignoring %s", device_file);
return;
}
else
if (priv->client == NULL)
return;
- GST_INFO ("Probing devices with udev...");
+ DEBUG ("Probing devices with udev...");
devices = g_udev_client_query_by_subsystem (priv->client, "video4linux");
}
g_list_free (devices);
- if (i == 0) GST_WARNING ("No device found");
+ if (i == 0) DEBUG ("No device found");
}
#else /* HAVE_UDEV */
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- if (empathy_device_monitor_cat == NULL)
- GST_DEBUG_CATEGORY_INIT (empathy_device_monitor_cat,
- "empathy-device-monitor",
- 0, "Empathy Camera Device Monitor");
-
object_class->finalize = empathy_camera_device_monitor_finalize;
/**