mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
audioaggregator: Document that the pad's audio info is read-only and needs the object lock
Also fix indentation in the header a bit.
This commit is contained in:
parent
103b011026
commit
fae7f790be
1 changed files with 7 additions and 6 deletions
|
@ -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];
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue