mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +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;
|
static GstFlowReturn flow;
|
||||||
|
|
||||||
GList *buffers;
|
|
||||||
|
|
||||||
static GList *current_buf;
|
static GList *current_buf;
|
||||||
|
|
||||||
static gint64 granulerate;
|
static gint64 granulerate;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue