[cheese/camerabin2: 10/18] camerabin2: set the video resolution
- From: Thiago Sousa Santos <thiagoss src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 10/18] camerabin2: set the video resolution
- Date: Thu, 2 Feb 2012 13:16:31 +0000 (UTC)
commit 3e1bee8163158db8dac75691ddb6c657035ae16c
Author: Raluca Elena Podiuc <ralucaelena1985 gmail com>
Date: Thu Jul 28 00:03:55 2011 +0300
camerabin2: set the video resolution
libcheese/cheese-camera.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 11f1184..d93bbb8 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -741,9 +741,8 @@ cheese_camera_play (CheeseCamera *camera)
if (!gst_caps_is_empty (caps))
{
- g_signal_emit_by_name (priv->camerabin, "set-video-resolution-fps",
- priv->current_format->width,
- priv->current_format->height, 0, 1, 0);
+ GST_INFO_OBJECT (camera, "SETTING caps%" GST_PTR_FORMAT, caps);
+ g_object_set (priv->camerabin, "viewfinder-caps", caps, NULL);
}
gst_caps_unref (caps);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]