-/* GStreamer - GParamSpecs for for some of our types
+/* GStreamer - GParamSpecs for some of our types
* Copyright (C) 2007 Tim-Philipp Müller <tim centricular net>
*
* This library is free software; you can redistribute it and/or
#ifndef __GST_PARAMSPECS_H__
#define __GST_PARAMSPECS_H__
-#include <gst/gstelement.h>
#include <gst/gstvalue.h>
G_BEGIN_DECLS
*
* Use this flag on GObject properties of GstElements to indicate that
* they can be changed when the element is in the READY or lower state.
+ *
+ * Since: 0.10.23
*/
#define GST_PARAM_MUTABLE_READY (1 << (G_PARAM_USER_SHIFT + 2))
* Use this flag on GObject properties of GstElements to indicate that
* they can be changed when the element is in the PAUSED or lower state.
* This flag implies GST_PARAM_MUTABLE_READY.
+ *
+ * Since: 0.10.23
*/
#define GST_PARAM_MUTABLE_PAUSED (1 << (G_PARAM_USER_SHIFT + 3))
* Use this flag on GObject properties of GstElements to indicate that
* they can be changed when the element is in the PLAYING or lower state.
* This flag implies GST_PARAM_MUTABLE_PAUSED.
+ *
+ * Since: 0.10.23
*/
#define GST_PARAM_MUTABLE_PLAYING (1 << (G_PARAM_USER_SHIFT + 4))
*/
struct _GstParamSpecFraction {
GParamSpec parent_instance;
-
+
gint min_num, min_den;
gint max_num, max_den;
gint def_num, def_den;
gint min_num, gint min_denom,
gint max_num, gint max_denom,
gint default_num, gint default_denom,
- GParamFlags flags);
-
-gboolean gst_param_spec_is_mutable (GParamSpec *param_spec,
- GstElement *element);
+ GParamFlags flags) G_GNUC_MALLOC;
G_END_DECLS