[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    [gst-cvs] gst-plugins-bad: videosignal: allow pattern-count
From:       cymacs () kemper ! freedesktop ! org (René Stadler)
Date:       2009-09-26 16:15:26
Message-ID: 20090926161526.8EECB10053 () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gst-plugins-bad
Branch: master
Commit: b24d581c78e0de7d57ccb9b015339eab174c2cd2
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=b24d581c78e0de7d57ccb9b015339eab174c2cd2


Author: René Stadler <mail@renestadler.de>
Date:   Sun Sep  6 05:36:46 2009 +0300

videosignal: allow pattern-count property to be 0

---

 gst/videosignal/gstvideodetect.c |    2 +-
 gst/videosignal/gstvideomark.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/videosignal/gstvideodetect.c b/gst/videosignal/gstvideodetect.c
index d55005f..d840dd2 100644
--- a/gst/videosignal/gstvideodetect.c
+++ b/gst/videosignal/gstvideodetect.c
@@ -468,7 +468,7 @@ gst_video_detect_class_init (gpointer klass, gpointer class_data)
           DEFAULT_PATTERN_HEIGHT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
   g_object_class_install_property (gobject_class, PROP_PATTERN_COUNT,
       g_param_spec_int ("pattern-count", "Pattern count",
-          "The number of pattern markers", 1, G_MAXINT,
+          "The number of pattern markers", 0, G_MAXINT,
           DEFAULT_PATTERN_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
   g_object_class_install_property (gobject_class, PROP_PATTERN_DATA_COUNT,
       g_param_spec_int ("pattern-data-count", "Pattern data count",
diff --git a/gst/videosignal/gstvideomark.c b/gst/videosignal/gstvideomark.c
index 4ac47a0..cbc7214 100644
--- a/gst/videosignal/gstvideomark.c
+++ b/gst/videosignal/gstvideomark.c
@@ -352,7 +352,7 @@ gst_video_mark_class_init (gpointer klass, gpointer class_data)
           DEFAULT_PATTERN_HEIGHT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
   g_object_class_install_property (gobject_class, PROP_PATTERN_COUNT,
       g_param_spec_int ("pattern-count", "Pattern count",
-          "The number of pattern markers", 1, G_MAXINT,
+          "The number of pattern markers", 0, G_MAXINT,
           DEFAULT_PATTERN_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
   g_object_class_install_property (gobject_class, PROP_PATTERN_DATA_COUNT,
       g_param_spec_int ("pattern-data-count", "Pattern data count",



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
gstreamer-cvs mailing list
gstreamer-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic