[cheese] Video filter on camera_source applies to all modes
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Video filter on camera_source applies to all modes
- Date: Mon, 3 Sep 2012 19:57:31 +0000 (UTC)
commit d15ce8cc55a02fd3f8bcdf06147a7960aec8d035
Author: Raluca Elena Podiuc <ralucaelena1985 gmail com>
Date: Wed Jul 13 19:38:19 2011 +0300
Video filter on camera_source applies to all modes
If the effect is applied on camera_source, the effect will be available
in viewfinder and image/video capture modes.
libcheese/cheese-camera.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 14e05e3..a72d02a 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1561,11 +1561,7 @@ cheese_camera_setup (CheeseCamera *camera, const gchar *uuid, GError **error)
return;
}
- //raluca: TODO: set video-filter, preview-filter, image-filter?
- g_object_set (G_OBJECT (priv->camerabin), "viewfinder-filter", priv->video_filter_bin, NULL);
- //g_object_set (G_OBJECT (priv->camerabin), "video-filter", priv->video_filter_bin, NULL);
- //g_object_set (G_OBJECT (priv->camerabin), "preview-filter", priv->video_filter_bin, NULL);
- //g_object_set (G_OBJECT (priv->camerabin), "image-filter", priv->video_filter_bin, NULL);
+ g_object_set (G_OBJECT (priv->camera_source), "video-source-filter", priv->video_filter_bin, NULL);
priv->bus = gst_element_get_bus (priv->camerabin);
gst_bus_add_signal_watch (priv->bus);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]