Commit fae7f790 authored by Sebastian Dröge's avatar Sebastian Dröge

audioaggregator: Document that the pad's audio info is read-only and needs the object lock

Also fix indentation in the header a bit.
parent 103b0110
......@@ -68,10 +68,11 @@ struct _GstAudioAggregatorPad
{
GstAggregatorPad parent;
/* read-only, with OBJECT_LOCK */
GstAudioInfo info;
/*< private >*/
GstAudioAggregatorPadPrivate * priv;
GstAudioAggregatorPadPrivate *priv;
gpointer _gst_reserved[GST_PADDING];
};
......@@ -119,7 +120,7 @@ struct _GstAudioAggregatorConvertPad
GstAudioAggregatorPad parent;
/*< private >*/
GstAudioAggregatorConvertPadPrivate * priv;
GstAudioAggregatorConvertPadPrivate *priv;
gpointer _gst_reserved[GST_PADDING];
};
......@@ -160,17 +161,17 @@ GType gst_audio_aggregator_convert_pad_get_type (void);
*/
struct _GstAudioAggregator
{
GstAggregator parent;
GstAggregator parent;
/* All member are read only for subclasses, must hold OBJECT lock */
GstAudioInfo info;
GstAudioInfo info;
GstCaps *current_caps;
GstCaps *current_caps;
/*< private >*/
GstAudioAggregatorPrivate *priv;
gpointer _gst_reserved[GST_PADDING];
gpointer _gst_reserved[GST_PADDING];
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment