From patchwork Tue Mar 22 08:31:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 721 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:45:10 -0000 Delivered-To: patch@linaro.org Received: by 10.204.113.5 with SMTP id y5cs93783bkp; Tue, 22 Mar 2011 01:31:07 -0700 (PDT) Received: by 10.229.1.151 with SMTP id 23mr4609184qcf.117.1300782666231; Tue, 22 Mar 2011 01:31:06 -0700 (PDT) Received: from mail-qw0-f50.google.com (mail-qw0-f50.google.com [209.85.216.50]) by mx.google.com with ESMTPS id k14si4025399qcu.100.2011.03.22.01.31.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 01:31:05 -0700 (PDT) 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 qwe5 with SMTP id 5so5692599qwe.37 for ; Tue, 22 Mar 2011 01:31:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.65.218 with SMTP id k26mr4311522qci.270.1300782662873; Tue, 22 Mar 2011 01:31:02 -0700 (PDT) Received: by 10.229.30.206 with HTTP; Tue, 22 Mar 2011 01:31:02 -0700 (PDT) Date: Tue, 22 Mar 2011 09:31:02 +0100 Message-ID: Subject: GStreamer: fpsdisplaysink patchs From: Benjamin Gaignard To: Patch Tracking Hi, 2 patches upstreamed to GStreamer, see bugs: 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