From patchwork Mon Feb 28 10:59:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 223 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:41:01 -0000 Delivered-To: patch@linaro.org Received: by 10.224.19.208 with SMTP id c16cs89586qab; Mon, 28 Feb 2011 02:59:02 -0800 (PST) Received: by 10.52.100.10 with SMTP id eu10mr5779499vdb.123.1298890742038; Mon, 28 Feb 2011 02:59:02 -0800 (PST) Received: from mail-qw0-f50.google.com (mail-qw0-f50.google.com [209.85.216.50]) by mx.google.com with ESMTPS id by13si1542561vdb.4.2011.02.28.02.59.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Feb 2011 02:59:00 -0800 (PST) Received-SPF: neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of benjamin.gaignard@linaro.org) client-ip=209.85.216.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of benjamin.gaignard@linaro.org) smtp.mail=benjamin.gaignard@linaro.org Received: by qwk3 with SMTP id 3so3230893qwk.37 for ; Mon, 28 Feb 2011 02:59:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.64.143 with SMTP id e15mr507148qai.113.1298890740570; Mon, 28 Feb 2011 02:59:00 -0800 (PST) Received: by 10.229.91.202 with HTTP; Mon, 28 Feb 2011 02:59:00 -0800 (PST) Date: Mon, 28 Feb 2011 11:59:00 +0100 Message-ID: Subject: GStreamer: fpsdisplaysink patches From: Benjamin Gaignard To: Patch Tracking Hi, I have submit 2 patches for GStreamer fpsdisplaysink plugin the related bugs are: https://bugzilla.gnome.org/show_bug.cgi?id=643469 https://bugzilla.gnome.org/show_bug.cgi?id=643471 Benjamin >From 67bfe79a5c818de7b2c42453d65ba80cf429b5e9 Mon Sep 17 00:00:00 2001 From: benjamin gaignard Date: Mon, 28 Feb 2011 11:51:54 +0100 Subject: [PATCH] fpsdisplay: fix sync property default value --- gst/debugutils/fpsdisplaysink.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index e3be1d6..5dca63d 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -65,6 +65,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_DEBUG_CATEGORY_STATIC (fps_display_sink_debug); #define GST_CAT_DEFAULT fps_display_sink_debug +#define DEFAULT_SYNC TRUE + enum { /* FILL ME */ @@ -116,7 +118,7 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass) g_object_class_install_property (gobject_klass, ARG_SYNC, g_param_spec_boolean ("sync", "Sync", "Sync on the clock (if the internally used sink doesn't " - "have this property it will be ignored", TRUE, + "have this property it will be ignored", DEFAULT_SYNC, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE)); g_object_class_install_property (gobject_klass, ARG_TEXT_OVERLAY, @@ -323,7 +325,7 @@ static void fps_display_sink_init (GstFPSDisplaySink * self, GstFPSDisplaySinkClass * g_class) { - self->sync = FALSE; + self->sync = DEFAULT_SYNC; self->signal_measurements = DEFAULT_SIGNAL_FPS_MEASUREMENTS; self->use_text_overlay = TRUE; self->fps_update_interval = GST_MSECOND * DEFAULT_FPS_UPDATE_INTERVAL_MS; -- 1.7.0.4