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
@ -68,10 +68,11 @@ struct _GstAudioAggregatorPad
|
|||||||
{
|
{
|
||||||
GstAggregatorPad parent;
|
GstAggregatorPad parent;
|
||||||
|
|
||||||
|
/* read-only, with OBJECT_LOCK */
|
||||||
GstAudioInfo info;
|
GstAudioInfo info;
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
GstAudioAggregatorPadPrivate * priv;
|
GstAudioAggregatorPadPrivate *priv;
|
||||||
|
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
@ -119,7 +120,7 @@ struct _GstAudioAggregatorConvertPad
|
|||||||
GstAudioAggregatorPad parent;
|
GstAudioAggregatorPad parent;
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
GstAudioAggregatorConvertPadPrivate * priv;
|
GstAudioAggregatorConvertPadPrivate *priv;
|
||||||
|
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
@ -160,17 +161,17 @@ GType gst_audio_aggregator_convert_pad_get_type (void);
|
|||||||
*/
|
*/
|
||||||
struct _GstAudioAggregator
|
struct _GstAudioAggregator
|
||||||
{
|
{
|
||||||
GstAggregator parent;
|
GstAggregator parent;
|
||||||
|
|
||||||
/* All member are read only for subclasses, must hold OBJECT lock */
|
/* All member are read only for subclasses, must hold OBJECT lock */
|
||||||
GstAudioInfo info;
|
GstAudioInfo info;
|
||||||
|
|
||||||
GstCaps *current_caps;
|
GstCaps *current_caps;
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
GstAudioAggregatorPrivate *priv;
|
GstAudioAggregatorPrivate *priv;
|
||||||
|
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user