diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-13 21:35:23 +0200 |
---|---|---|
committer | Wim Taymans <wim@metal.(none)> | 2009-05-13 21:35:23 +0200 |
commit | bb013081a4f8291ef5c81fca2d303206323cf359 (patch) | |
tree | 81edde14bcc8aa7f5224b39599bbd06173fe8fbc /libs/gst/base/gstadapter.h | |
parent | 763a6f676171f890c6d28117648f98962846e90b (diff) |
adapter: move new member to private struct
Move the new members to a private struct because we don't have enough padding
anymore on 32-bits platforms.
Diffstat (limited to 'libs/gst/base/gstadapter.h')
-rw-r--r-- | libs/gst/base/gstadapter.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libs/gst/base/gstadapter.h b/libs/gst/base/gstadapter.h index 34fa395da..af1c097df 100644 --- a/libs/gst/base/gstadapter.h +++ b/libs/gst/base/gstadapter.h @@ -40,6 +40,7 @@ G_BEGIN_DECLS typedef struct _GstAdapter GstAdapter; typedef struct _GstAdapterClass GstAdapterClass; +typedef struct _GstAdapterPrivate GstAdapterPrivate; /** * GstAdapter: @@ -60,16 +61,14 @@ struct _GstAdapter { guint assembled_size; guint assembled_len; + /* ABI added */ /* Remember where the end of our buffer list is to * speed up the push */ GSList *buflist_end; - union { - struct { - GstClockTime timestamp; - guint64 distance; - } ABI; - gpointer _gst_reserved[GST_PADDING - 1]; - } abidata; + + GstAdapterPrivate *priv; + + gpointer _gst_reserved[GST_PADDING - 2]; }; struct _GstAdapterClass { |