+2007-11-17 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/gstpreset.c:
+ Add some comments and TODOs.
+
+ * gst/gstpreset.h:
+ Add padding for future changes.
+
+ * plugins/elements/gstqueue.c:
+ Implement the iface.
+
2007-11-17 Stefan Kost <ensonic@users.sf.net>
* docs/gst/gstreamer-docs.sgml:
* - how can we support both Preferences and Presets, a flag for _get_preset_names ?
* - should there be a 'preset-list' property to get the preset list
* (and to connect a notify:: to to listen for changes)
+ * - do we want to ship presets for some elements?
*
* http://www.buzztard.org/index.php/Preset_handling_interface
*/
* instances of a type and if the list changes, we trigger the signal for all
* instance
*/
+
+ /*< private >*/
+ gpointer _gst_reserved[GST_PADDING];
};
GType gst_preset_get_type(void);
#define _do_init(bla) \
GST_DEBUG_CATEGORY_INIT (queue_debug, "queue", 0, "queue element"); \
GST_DEBUG_CATEGORY_INIT (queue_dataflow, "queue_dataflow", 0, \
- "dataflow inside the queue element");
+ "dataflow inside the queue element"); \
+ { \
+ const GInterfaceInfo preset_interface_info = { \
+ NULL, /* interface_init */ \
+ NULL, /* interface_finalize */ \
+ NULL /* interface_data */ \
+ }; \
+ g_type_add_interface_static(object_type, GST_TYPE_PRESET, &preset_interface_info); \
+ }
GST_BOILERPLATE_FULL (GstQueue, gst_queue, GstElement,
GST_TYPE_ELEMENT, _do_init);