[cheese/camerabin2: 12/18] camerabin2: set ClutterTextureVideoSink sync=false
- From: Thiago Sousa Santos <thiagoss src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 12/18] camerabin2: set ClutterTextureVideoSink sync=false
- Date: Thu, 2 Feb 2012 13:16:41 +0000 (UTC)
commit 1229ed6e8aba37de60108ad8e45cf63defb7ca37
Author: Raluca Elena Podiuc <ralucaelena1985 gmail com>
Date: Thu Jul 28 23:13:08 2011 +0300
camerabin2: set ClutterTextureVideoSink sync=false
Without this the sink will issue a warning:
** (cheese:21655): WARNING **: Internal data flow problem.:
gstbasesink.c(3626): gst_base_sink_chain_unlocked ():
/GstCameraBin2:camerabin2/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
Received buffer without a new-segment. Assuming timestamps start from 0.
I'm not sure what the implications of this setting are. It might be
caused by the clock/time rewriting magic from camerabin2.
libcheese/cheese-camera.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 3b3b111..40abf9d 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1489,6 +1489,7 @@ cheese_camera_setup (CheeseCamera *camera, const gchar *uuid, GError **error)
cheese_camera_set_error_element_not_found (error, "cluttervideosink");
}
g_object_set (G_OBJECT (video_sink), "async", FALSE, NULL);
+ g_object_set (G_OBJECT (video_sink), "sync", FALSE, NULL);
g_object_set (G_OBJECT (priv->camerabin), "viewfinder-sink", video_sink, NULL);
cheese_camera_set_camera_source (camera);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]