mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
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:
parent
a155deaabf
commit
552f790e84
9 changed files with 0 additions and 13 deletions
|
@ -92,8 +92,6 @@ static GstBus *bus;
|
|||
|
||||
static GstFlowReturn flow;
|
||||
|
||||
GList *buffers;
|
||||
|
||||
static GList *current_buf;
|
||||
|
||||
static gint64 granulerate;
|
||||
|
|
|
@ -109,7 +109,6 @@ G_STMT_START { \
|
|||
g_free (b_up); \
|
||||
} G_STMT_END;
|
||||
|
||||
GList *buffers;
|
||||
static GList *current_buf;
|
||||
static guint64 granulerate;
|
||||
static guint8 granuleshift;
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
gboolean have_eos = FALSE;
|
||||
|
||||
/* For ease of programming we use globals to keep refs for our floating
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
|
||||
/* 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 then remove references in every test function */
|
||||
|
|
|
@ -61,8 +61,6 @@
|
|||
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
|
||||
/* 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
|
||||
* then remove references in every test function */
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
|
||||
/* 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 then remove references in every test function */
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
GList *events = NULL;
|
||||
|
||||
/* For ease of programming we use globals to keep refs for our floating src and
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
gboolean have_eos = FALSE;
|
||||
|
||||
/* For ease of programming we use globals to keep refs for our floating
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include <gst/check/gstcheck.h>
|
||||
|
||||
GList *buffers = NULL;
|
||||
gboolean have_eos = FALSE;
|
||||
|
||||
/* For ease of programming we use globals to keep refs for our floating
|
||||
|
|
Loading…
Reference in a new issue