X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstelement.h;h=ea2b3101ca51a18b54615906e143078cb4c2e82c;hb=066b515985897495cae32fca5b7eeeec260c40c9;hp=5269b685d3b6e0c5b08f51f578a9eb7b8efee440;hpb=1074a4e99a473efd5ee690da9ecd797c55cec23a;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstelement.h b/gst/gstelement.h index 5269b68..ea2b310 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -313,8 +313,6 @@ typedef enum /*< flags=0 >*/ /** * GstElementFlags: - * @GST_ELEMENT_FLAG_UNPARENTING: Child is being removed from the parent bin. - * gst_bin_remove() on a child already being removed immediately returns FALSE * @GST_ELEMENT_FLAG_LOCKED_STATE: ignore state changes from parent * @GST_ELEMENT_FLAG_SINK: the element is a sink * @GST_ELEMENT_FLAG_SOURCE: the element is a source. Since 0.10.31 @@ -327,13 +325,12 @@ typedef enum /*< flags=0 >*/ */ typedef enum { - GST_ELEMENT_FLAG_UNPARENTING = (GST_OBJECT_FLAG_LAST << 0), - GST_ELEMENT_FLAG_LOCKED_STATE = (GST_OBJECT_FLAG_LAST << 1), - GST_ELEMENT_FLAG_SINK = (GST_OBJECT_FLAG_LAST << 2), - GST_ELEMENT_FLAG_SOURCE = (GST_OBJECT_FLAG_LAST << 3), - GST_ELEMENT_FLAG_PROVIDE_CLOCK = (GST_OBJECT_FLAG_LAST << 4), - GST_ELEMENT_FLAG_REQUIRE_CLOCK = (GST_OBJECT_FLAG_LAST << 5), - GST_ELEMENT_FLAG_INDEXABLE = (GST_OBJECT_FLAG_LAST << 6), + GST_ELEMENT_FLAG_LOCKED_STATE = (GST_OBJECT_FLAG_LAST << 0), + GST_ELEMENT_FLAG_SINK = (GST_OBJECT_FLAG_LAST << 1), + GST_ELEMENT_FLAG_SOURCE = (GST_OBJECT_FLAG_LAST << 2), + GST_ELEMENT_FLAG_PROVIDE_CLOCK = (GST_OBJECT_FLAG_LAST << 3), + GST_ELEMENT_FLAG_REQUIRE_CLOCK = (GST_OBJECT_FLAG_LAST << 4), + GST_ELEMENT_FLAG_INDEXABLE = (GST_OBJECT_FLAG_LAST << 5), /* padding */ GST_ELEMENT_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 10) } GstElementFlags; @@ -535,11 +532,11 @@ G_STMT_START { \ * state will yield the running_time against the clock. * @start_time: the running_time of the last PAUSED state * @numpads: number of pads of the element, includes both source and sink pads. - * @pads: list of pads + * @pads: (element-type Gst.Pad): list of pads * @numsrcpads: number of source pads of the element. - * @srcpads: list of source pads + * @srcpads: (element-type Gst.Pad): list of source pads * @numsinkpads: number of sink pads of the element. - * @sinkpads: list of sink pads + * @sinkpads: (element-type Gst.Pad): list of sink pads * @pads_cookie: updated whenever the a pad is added or removed * * GStreamer element abstract base class. @@ -669,8 +666,15 @@ void gst_element_class_set_metadata (GstElementClass const gchar *classification, const gchar *description, const gchar *author); +void gst_element_class_set_static_metadata (GstElementClass *klass, + const gchar *longname, + const gchar *classification, + const gchar *description, + const gchar *author); void gst_element_class_add_metadata (GstElementClass * klass, const gchar * key, const gchar * value); +void gst_element_class_add_static_metadata (GstElementClass * klass, + const gchar * key, const gchar * value); const gchar * gst_element_class_get_metadata (GstElementClass * klass, const gchar * key);