[cheese/capsrework] Fix cheese-test-monitor
- From: Filippo Argiolas <fargiolas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [cheese/capsrework] Fix cheese-test-monitor
- Date: Mon, 14 Dec 2009 20:09:03 +0000 (UTC)
commit 252c338f8dbf8cbc898639c685b3dd738841d99d
Author: Filippo Argiolas <filippo argiolas gmail com>
Date: Mon Dec 14 21:06:31 2009 +0100
Fix cheese-test-monitor
CheeseWebcamDevice uses gstreamer to retrieve caps so gst_init is needed
tests/cheese-test-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/cheese-test-monitor.c b/tests/cheese-test-monitor.c
index c7779c7..f9151c0 100644
--- a/tests/cheese-test-monitor.c
+++ b/tests/cheese-test-monitor.c
@@ -23,7 +23,7 @@ int main (int argc, char **argv)
{
CheeseCameraDeviceMonitor *monitor;
- g_type_init ();
+ gst_init (&argc, &argv);
monitor = cheese_camera_device_monitor_new ();
g_signal_connect (G_OBJECT (monitor), "added",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]