[cheese] recording: lower max-(page)-delay. Should fix #585761
- From: Filippo Argiolas <fargiolas src gnome org>
- To: svn-commits-list gnome org
- Subject: [cheese] recording: lower max-(page)-delay. Should fix #585761
- Date: Sun, 14 Jun 2009 14:55:38 -0400 (EDT)
commit d25b64149249be6a1329880ae42d4accc0db06d3
Author: Filippo Argiolas <filippo argiolas gmail com>
Date: Sun Jun 14 20:51:46 2009 +0200
recording: lower max-(page)-delay. Should fix #585761
Lower max-delay and max-page-delay oggmux properties from 5 to 0.5
seconds. Should prevent out of sync audio in recorded videos and
hopefully fix bug #585761.
src/cheese-webcam.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-webcam.c b/src/cheese-webcam.c
index 7a938f2..c9b2f74 100644
--- a/src/cheese-webcam.c
+++ b/src/cheese-webcam.c
@@ -1129,7 +1129,12 @@ cheese_webcam_create_video_save_bin (CheeseWebcam *webcam, GError **error)
if ((mux = gst_element_factory_make ("oggmux", "mux")) == NULL)
{
cheese_webcam_set_error_element_not_found (error, "oggmux");
+ } else {
+ g_object_set (G_OBJECT (mux),
+ "max-delay", (guint64) 10000000,
+ "max-page-delay", (guint64) 10000000, NULL);
}
+
if ((priv->video_file_sink = gst_element_factory_make ("filesink", "video_file_sink")) == NULL)
{
cheese_webcam_set_error_element_not_found (error, "filesink");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]