gst_plugins_base/gst-libs/gst/app/gstappsrc.c
changeset 8 4a7fac7dd34a
parent 0 0e761a78d257
child 30 7e817e7e631c
--- a/gst_plugins_base/gst-libs/gst/app/gstappsrc.c	Fri Mar 19 09:35:09 2010 +0200
+++ b/gst_plugins_base/gst-libs/gst/app/gstappsrc.c	Fri Apr 16 15:15:52 2010 +0300
@@ -113,9 +113,6 @@
 
 #include "gstapp-marshal.h"
 #include "gstappsrc.h"
-#ifdef __SYMBIAN32__
-#include <glib_global.h>
-#endif
 
 struct _GstAppSrcPrivate
 {
@@ -225,7 +222,6 @@
 static void gst_app_src_class_init (GstAppSrcClass * klass);
 static void gst_app_src_init (GstAppSrc * appsrc, GstAppSrcClass * klass);
 #endif
-
 static void gst_app_src_set_property (GObject * object, guint prop_id,
     const GValue * value, GParamSpec * pspec);
 static void gst_app_src_get_property (GObject * object, guint prop_id,
@@ -267,7 +263,6 @@
 GST_BOILERPLATE_FULL (GstAppSrc, gst_app_src, GstBaseSrc, GST_TYPE_BASE_SRC,
     _do_init);
 #else
-
 static GstBaseSrcClass *parent_class = NULL;           
 static void
 gst_app_src_class_init_trampoline (gpointer g_class,
@@ -277,7 +272,6 @@
       g_type_class_peek_parent (g_class);              
       gst_app_src_class_init ((GstAppSrcClass *)g_class);       
 }
-
 EXPORT_C GType
 gst_app_src_get_type (void)
 {
@@ -302,8 +296,6 @@
 }
 #endif
 
-
-
 static void
 gst_app_src_base_init (gpointer g_class)
 {
@@ -340,7 +332,7 @@
   g_object_class_install_property (gobject_class, PROP_CAPS,
       g_param_spec_boxed ("caps", "Caps",
           "The allowed caps for the src pad", GST_TYPE_CAPS,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::format
    *
@@ -350,7 +342,7 @@
   g_object_class_install_property (gobject_class, PROP_FORMAT,
       g_param_spec_enum ("format", "Format",
           "The format of the segment events and seek", GST_TYPE_FORMAT,
-          DEFAULT_PROP_FORMAT, G_PARAM_READWRITE));
+          DEFAULT_PROP_FORMAT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::size
    *
@@ -361,7 +353,7 @@
       g_param_spec_int64 ("size", "Size",
           "The size of the data stream in bytes (-1 if unknown)",
           -1, G_MAXINT64, DEFAULT_PROP_SIZE,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::stream-type
    *
@@ -372,7 +364,7 @@
       g_param_spec_enum ("stream-type", "Stream Type",
           "the type of the stream", GST_TYPE_APP_STREAM_TYPE,
           DEFAULT_PROP_STREAM_TYPE,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::max-bytes
    *
@@ -384,7 +376,7 @@
       g_param_spec_uint64 ("max-bytes", "Max bytes",
           "The maximum number of bytes to queue internally (0 = unlimited)",
           0, G_MAXUINT64, DEFAULT_PROP_MAX_BYTES,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::block
    *
@@ -395,7 +387,7 @@
   g_object_class_install_property (gobject_class, PROP_BLOCK,
       g_param_spec_boolean ("block", "Block",
           "Block push-buffer when max-bytes are queued",
-          DEFAULT_PROP_BLOCK, G_PARAM_READWRITE));
+          DEFAULT_PROP_BLOCK, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   /**
    * GstAppSrc::is-live
@@ -406,7 +398,7 @@
   g_object_class_install_property (gobject_class, PROP_IS_LIVE,
       g_param_spec_boolean ("is-live", "Is Live",
           "Whether to act as a live source",
-          DEFAULT_PROP_IS_LIVE, G_PARAM_READWRITE ));
+          DEFAULT_PROP_IS_LIVE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::min-latency
    *
@@ -417,7 +409,7 @@
       g_param_spec_int64 ("min-latency", "Min Latency",
           "The minimum latency (-1 = default)",
           -1, G_MAXINT64, DEFAULT_PROP_MIN_LATENCY,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   /**
    * GstAppSrc::max-latency
    *
@@ -428,7 +420,7 @@
       g_param_spec_int64 ("max-latency", "Max Latency",
           "The maximum latency (-1 = unlimited)",
           -1, G_MAXINT64, DEFAULT_PROP_MAX_LATENCY,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   /**
    * GstAppSrc::emit-signals
@@ -442,7 +434,7 @@
   g_object_class_install_property (gobject_class, PROP_EMIT_SIGNALS,
       g_param_spec_boolean ("emit-signals", "Emit signals",
           "Emit new-preroll and new-buffer signals", DEFAULT_PROP_EMIT_SIGNALS,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   /**
    * GstAppSrc::need-data: