mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
gst/gstpreset.c: Add some comments and TODOs.
Original commit message from CVS: * gst/gstpreset.c: Add some comments and TODOs. * gst/gstpreset.h: Add padding for future changes. * plugins/elements/gstqueue.c: Implement the iface.
This commit is contained in:
parent
819c9f4e2a
commit
3aca801f4d
4 changed files with 24 additions and 1 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
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:
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
* - 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
|
||||
*/
|
||||
|
|
|
@ -61,6 +61,9 @@ struct _GstPresetInterface
|
|||
* 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);
|
||||
|
|
|
@ -174,7 +174,15 @@ enum
|
|||
#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);
|
||||
|
|
Loading…
Reference in a new issue