[cheese/camerabin2: 17/24] camerabin2: set ClutterTextureVideoSink sync=false
- From: Oleksij Rempel <orempel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 17/24] camerabin2: set ClutterTextureVideoSink sync=false
- Date: Sat, 24 Mar 2012 08:38:18 +0000 (UTC)
commit f4e1ba5d519793b7af8147a115ba3100feeea41c
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 39581b3..62cf350 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1505,6 +1505,7 @@ cheese_camera_setup (CheeseCamera *camera, const gchar *uuid, GError **error)
return;
}
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]