pad: make an ACCEPT_CAPS query
[platform/upstream/gstreamer.git] / gst / gstmeta.h
index 3771bfd..7ae7a99 100644 (file)
@@ -49,6 +49,7 @@ struct _GstMeta {
 /**
  * GstMetaInitFunction:
  * @meta: a #GstMeta
+ * @params: parameters passed to the init function
  * @buffer: a #GstBuffer
  *
  * Function called when @meta is initialized in @buffer.
@@ -115,26 +116,6 @@ const GstMetaInfo *  gst_meta_register        (const gchar *api, const gchar *im
                                                GstMetaTransformFunction   transform_func);
 const GstMetaInfo *  gst_meta_get_info        (const gchar * impl);
 
-/* default metadata */
-
-/* timing metadata */
-typedef struct _GstMetaTiming GstMetaTiming;
-
-const GstMetaInfo *gst_meta_timing_get_info(void);
-#define GST_META_TIMING_INFO (gst_meta_timing_get_info())
-
-struct _GstMetaTiming {
-  GstMeta        meta;        /* common meta header */
-
-  GstClockTime   dts;         /* decoding timestamp */
-  GstClockTime   pts;         /* presentation timestamp */
-  GstClockTime   duration;    /* duration of the data */
-  GstClockTime   clock_rate;  /* clock rate for the above values */
-};
-
-#define gst_buffer_get_meta_timing(b)  ((GstMetaTiming*)gst_buffer_get_meta((b),GST_META_TIMING_INFO))
-#define gst_buffer_add_meta_timing(b)  ((GstMetaTiming*)gst_buffer_add_meta((b),GST_META_TIMING_INFO,NULL))
-
 G_END_DECLS
 
 #endif /* __GST_META_H__ */