From 3030cec8b5b5b58d792e7c6f44cc1cb2feaff250 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Wed, 28 Jul 2004 15:28:18 +0000 Subject: [PATCH] Fix binary compatibility with 0.8.{0-3}. Closes bug 148692. Original commit message from CVS: Fix binary compatibility with 0.8.{0-3}. Closes bug 148692. --- gst/gstqueue.h | 5 +++-- plugins/elements/gstqueue.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gst/gstqueue.h b/gst/gstqueue.h index aab0c3b4db..e473f404ef 100644 --- a/gst/gstqueue.h +++ b/gst/gstqueue.h @@ -91,11 +91,12 @@ struct _GstQueue { GTimeVal *timeval; /* the timeout for the queue locking */ GQueue *events; /* upstream events get decoupled here */ - GMutex *event_lock; /* lock when handling the events queue */ GstCaps *negotiated_caps; - gpointer _gst_reserved[GST_PADDING]; + GMutex *event_lock; /* lock when handling the events queue */ + + gpointer _gst_reserved[GST_PADDING - 1]; }; struct _GstQueueClass { diff --git a/plugins/elements/gstqueue.h b/plugins/elements/gstqueue.h index aab0c3b4db..e473f404ef 100644 --- a/plugins/elements/gstqueue.h +++ b/plugins/elements/gstqueue.h @@ -91,11 +91,12 @@ struct _GstQueue { GTimeVal *timeval; /* the timeout for the queue locking */ GQueue *events; /* upstream events get decoupled here */ - GMutex *event_lock; /* lock when handling the events queue */ GstCaps *negotiated_caps; - gpointer _gst_reserved[GST_PADDING]; + GMutex *event_lock; /* lock when handling the events queue */ + + gpointer _gst_reserved[GST_PADDING - 1]; }; struct _GstQueueClass {