check: Don't re-declare 'GList *buffers' in the tests

It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.
This commit is contained in:
Edward Hervey 2010-04-12 18:03:20 +02:00
parent a155deaabf
commit 552f790e84
9 changed files with 0 additions and 13 deletions

View file

@ -92,8 +92,6 @@ static GstBus *bus;
static GstFlowReturn flow; static GstFlowReturn flow;
GList *buffers;
static GList *current_buf; static GList *current_buf;
static gint64 granulerate; static gint64 granulerate;

View file

@ -109,7 +109,6 @@ G_STMT_START { \
g_free (b_up); \ g_free (b_up); \
} G_STMT_END; } G_STMT_END;
GList *buffers;
static GList *current_buf; static GList *current_buf;
static guint64 granulerate; static guint64 granulerate;
static guint8 granuleshift; static guint8 granuleshift;

View file

@ -25,7 +25,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
GList *buffers = NULL;
gboolean have_eos = FALSE; gboolean have_eos = FALSE;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating

View file

@ -24,8 +24,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
GList *buffers = NULL;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating
* src and sink pads we create; otherwise we always have to do get_pad, * src and sink pads we create; otherwise we always have to do get_pad,
* get_peer, and then remove references in every test function */ * get_peer, and then remove references in every test function */

View file

@ -61,8 +61,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
GList *buffers = NULL;
/* For ease of programming we use globals to keep refs for our floating src and /* For ease of programming we use globals to keep refs for our floating src and
* sink pads we create; otherwise we always have to do get_pad, get_peer, and * sink pads we create; otherwise we always have to do get_pad, get_peer, and
* then remove references in every test function */ * then remove references in every test function */

View file

@ -24,8 +24,6 @@
#include <math.h> #include <math.h>
GList *buffers = NULL;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating
* src and sink pads we create; otherwise we always have to do get_pad, * src and sink pads we create; otherwise we always have to do get_pad,
* get_peer, and then remove references in every test function */ * get_peer, and then remove references in every test function */

View file

@ -24,7 +24,6 @@
#include <math.h> #include <math.h>
GList *buffers = NULL;
GList *events = NULL; GList *events = NULL;
/* For ease of programming we use globals to keep refs for our floating src and /* For ease of programming we use globals to keep refs for our floating src and

View file

@ -24,7 +24,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
GList *buffers = NULL;
gboolean have_eos = FALSE; gboolean have_eos = FALSE;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating

View file

@ -25,7 +25,6 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
GList *buffers = NULL;
gboolean have_eos = FALSE; gboolean have_eos = FALSE;
/* For ease of programming we use globals to keep refs for our floating /* For ease of programming we use globals to keep refs for our floating