And correct even more valid sparse warnings.

Original commit message from CVS:
* gst/gstelementfactory.h:
* tests/check/elements/fakesink.c:
* tests/check/elements/fakesrc.c: (setup_fakesrc):
* tests/check/elements/fdsrc.c: (setup_fdsrc):
* tests/check/elements/filesink.c: (setup_filesink):
* tests/check/elements/filesrc.c: (setup_filesrc):
* tests/check/elements/identity.c: (setup_identity):
* tests/check/elements/tee.c:
* tests/check/generic/sinks.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/gst/gst.c:
* tests/check/gst/gstabi.c:
* tests/check/gst/gstbin.c:
* tests/check/gst/gstbus.c: (pull_messages):
* tests/check/gst/gstcaps.c:
* tests/check/gst/gstelement.c:
* tests/check/gst/gstevent.c:
* tests/check/gst/gstghostpad.c:
* tests/check/gst/gstiterator.c:
* tests/check/gst/gstmessage.c:
* tests/check/gst/gstminiobject.c: (my_foo_init):
* tests/check/gst/gstobject.c: (thread_name_object),
(gst_object_suite):
* tests/check/gst/gstpad.c:
* tests/check/gst/gstplugin.c:
* tests/check/gst/gstpoll.c:
* tests/check/gst/gstquery.c:
* tests/check/gst/gstsegment.c:
* tests/check/gst/gststructure.c:
* tests/check/gst/gstsystemclock.c:
* tests/check/gst/gsttask.c:
* tests/check/gst/gstutils.c:
* tests/check/gst/gstvalue.c:
* tests/check/gst/struct_hppa.h:
* tests/check/gst/struct_i386.h:
* tests/check/gst/struct_ppc32.h:
* tests/check/gst/struct_ppc64.h:
* tests/check/gst/struct_x86_64.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter):
* tests/check/libs/basesrc.c:
* tests/check/libs/controller.c: (GST_START_TEST):
* tests/check/libs/gdp.c:
* tests/check/libs/gstnetclientclock.c:
* tests/check/libs/gstnettimeprovider.c:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_hppa.h:
* tests/check/libs/struct_i386.h:
* tests/check/libs/struct_ppc32.h:
* tests/check/libs/struct_ppc64.h:
* tests/check/libs/struct_x86_64.h:
* tests/check/pipelines/cleanup.c:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/stress.c:
And correct even more valid sparse warnings.
* win32/common/libgstreamer.def:
Add gst_poll_fd_init to the list of symbols.
This commit is contained in:
Sebastian Dröge 2008-02-29 13:59:24 +00:00
parent b997b0545a
commit 58cc2ede0a
54 changed files with 195 additions and 116 deletions

View file

@ -1,3 +1,63 @@
2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
* gst/gstelementfactory.h:
* tests/check/elements/fakesink.c:
* tests/check/elements/fakesrc.c: (setup_fakesrc):
* tests/check/elements/fdsrc.c: (setup_fdsrc):
* tests/check/elements/filesink.c: (setup_filesink):
* tests/check/elements/filesrc.c: (setup_filesrc):
* tests/check/elements/identity.c: (setup_identity):
* tests/check/elements/tee.c:
* tests/check/generic/sinks.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/gst/gst.c:
* tests/check/gst/gstabi.c:
* tests/check/gst/gstbin.c:
* tests/check/gst/gstbus.c: (pull_messages):
* tests/check/gst/gstcaps.c:
* tests/check/gst/gstelement.c:
* tests/check/gst/gstevent.c:
* tests/check/gst/gstghostpad.c:
* tests/check/gst/gstiterator.c:
* tests/check/gst/gstmessage.c:
* tests/check/gst/gstminiobject.c: (my_foo_init):
* tests/check/gst/gstobject.c: (thread_name_object),
(gst_object_suite):
* tests/check/gst/gstpad.c:
* tests/check/gst/gstplugin.c:
* tests/check/gst/gstpoll.c:
* tests/check/gst/gstquery.c:
* tests/check/gst/gstsegment.c:
* tests/check/gst/gststructure.c:
* tests/check/gst/gstsystemclock.c:
* tests/check/gst/gsttask.c:
* tests/check/gst/gstutils.c:
* tests/check/gst/gstvalue.c:
* tests/check/gst/struct_hppa.h:
* tests/check/gst/struct_i386.h:
* tests/check/gst/struct_ppc32.h:
* tests/check/gst/struct_ppc64.h:
* tests/check/gst/struct_x86_64.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter):
* tests/check/libs/basesrc.c:
* tests/check/libs/controller.c: (GST_START_TEST):
* tests/check/libs/gdp.c:
* tests/check/libs/gstnetclientclock.c:
* tests/check/libs/gstnettimeprovider.c:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_hppa.h:
* tests/check/libs/struct_i386.h:
* tests/check/libs/struct_ppc32.h:
* tests/check/libs/struct_ppc64.h:
* tests/check/libs/struct_x86_64.h:
* tests/check/pipelines/cleanup.c:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/stress.c:
And correct even more valid sparse warnings.
* win32/common/libgstreamer.def:
Add gst_poll_fd_init to the list of symbols.
2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
* gst/gstconfig.h.in:

View file

@ -81,7 +81,7 @@ struct _GstElementDetails
* Macro to initialize #GstElementDetails.
*/
#define GST_ELEMENT_DETAILS(longname,klass,description,author) \
{ longname, klass, description, author, {0} }
{ longname, klass, description, author, {NULL} }
/**
* GST_IS_ELEMENT_DETAILS:

View file

@ -523,7 +523,7 @@ GST_START_TEST (test_eos2)
GST_END_TEST;
Suite *
static Suite *
fakesink_suite (void)
{
Suite *s = suite_create ("fakesink");

View file

@ -24,16 +24,16 @@
#include <gst/check/gstcheck.h>
gboolean have_eos = FALSE;
static gboolean have_eos = FALSE;
GstPad *mysinkpad;
static GstPad *mysinkpad;
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
gboolean
static gboolean
event_func (GstPad * pad, GstEvent * event)
{
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
@ -46,8 +46,8 @@ event_func (GstPad * pad, GstEvent * event)
return FALSE;
}
GstElement *
setup_fakesrc ()
static GstElement *
setup_fakesrc (void)
{
GstElement *fakesrc;
@ -59,7 +59,7 @@ setup_fakesrc ()
return fakesrc;
}
void
static void
cleanup_fakesrc (GstElement * fakesrc)
{
gst_pad_set_active (mysinkpad, FALSE);
@ -236,7 +236,7 @@ GST_START_TEST (test_no_preroll)
GST_END_TEST;
Suite *
static Suite *
fakesrc_suite (void)
{
Suite *s = suite_create ("fakesrc");

View file

@ -27,16 +27,16 @@
#include <gst/check/gstcheck.h>
gboolean have_eos = FALSE;
static gboolean have_eos = FALSE;
GstPad *mysinkpad;
static GstPad *mysinkpad;
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
gboolean
static gboolean
event_func (GstPad * pad, GstEvent * event)
{
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
@ -49,8 +49,8 @@ event_func (GstPad * pad, GstEvent * event)
return FALSE;
}
GstElement *
setup_fdsrc ()
static GstElement *
setup_fdsrc (void)
{
GstElement *fdsrc;
@ -62,7 +62,7 @@ setup_fdsrc ()
return fdsrc;
}
void
static void
cleanup_fdsrc (GstElement * fdsrc)
{
gst_pad_set_active (mysinkpad, FALSE);
@ -180,7 +180,7 @@ GST_START_TEST (test_seeking)
GST_END_TEST;
Suite *
static Suite *
fdsrc_suite (void)
{
Suite *s = suite_create ("fdsrc");

View file

@ -34,9 +34,7 @@
#include <gst/check/gstcheck.h>
gboolean have_eos = FALSE;
GstPad *mysrcpad;
static GstPad *mysrcpad;
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
@ -44,7 +42,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_STATIC_CAPS_ANY);
static GstElement *
setup_filesink ()
setup_filesink (void)
{
GstElement *filesink;

View file

@ -36,7 +36,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
gboolean
static gboolean
event_func (GstPad * pad, GstEvent * event)
{
gboolean res = TRUE;
@ -54,7 +54,7 @@ event_func (GstPad * pad, GstEvent * event)
return res;
}
void
static void
wait_eos (void)
{
g_mutex_lock (event_mutex);
@ -66,8 +66,8 @@ wait_eos (void)
g_mutex_unlock (event_mutex);
}
GstElement *
setup_filesrc ()
static GstElement *
setup_filesrc (void)
{
GstElement *filesrc;
@ -83,7 +83,7 @@ setup_filesrc ()
return filesrc;
}
void
static void
cleanup_filesrc (GstElement * filesrc)
{
gst_pad_set_active (mysinkpad, FALSE);
@ -376,7 +376,7 @@ GST_START_TEST (test_uri_interface)
GST_END_TEST;
Suite *
static Suite *
filesrc_suite (void)
{
Suite *s = suite_create ("filesrc");

View file

@ -24,12 +24,12 @@
#include <gst/check/gstcheck.h>
gboolean have_eos = FALSE;
static gboolean have_eos = FALSE;
/* 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 */
GstPad *mysrcpad, *mysinkpad;
static GstPad *mysrcpad, *mysinkpad;
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
@ -41,7 +41,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
gboolean
static gboolean
event_func (GstPad * pad, GstEvent * event)
{
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
@ -54,8 +54,8 @@ event_func (GstPad * pad, GstEvent * event)
return FALSE;
}
GstElement *
setup_identity ()
static GstElement *
setup_identity (void)
{
GstElement *identity;
@ -71,7 +71,7 @@ setup_identity ()
return identity;
}
void
static void
cleanup_identity (GstElement * identity)
{
GST_DEBUG ("cleanup_identity");
@ -112,7 +112,7 @@ GST_START_TEST (test_one_buffer)
GST_END_TEST;
Suite *
static Suite *
identity_suite (void)
{
Suite *s = suite_create ("identity");

View file

@ -164,7 +164,7 @@ GST_START_TEST (test_stress)
GST_END_TEST;
Suite *
static Suite *
tee_suite (void)
{
Suite *s = suite_create ("tee");

View file

@ -1244,7 +1244,7 @@ GST_START_TEST (test_async_done_eos)
GST_END_TEST;
/* test: try changing state of sinks */
Suite *
static Suite *
gst_sinks_suite (void)
{
Suite *s = suite_create ("Sinks");

View file

@ -31,7 +31,7 @@
static GList *elements = NULL;
static void
setup ()
setup (void)
{
GList *features, *f;
GList *plugins, *p;
@ -88,7 +88,7 @@ setup ()
}
static void
teardown ()
teardown (void)
{
GList *e;
@ -204,7 +204,7 @@ GST_START_TEST (test_state_changes_down_seq)
GST_END_TEST;
Suite *
static Suite *
states_suite (void)
{
Suite *s = suite_create ("states");

View file

@ -92,7 +92,7 @@ GST_START_TEST (test_version)
GST_END_TEST;
Suite *
static Suite *
gst_suite (void)
{
Suite *s = suite_create ("Gst");

View file

@ -58,7 +58,7 @@ GST_START_TEST (test_ABI)
GST_END_TEST;
Suite *
static Suite *
gstabi_suite (void)
{
Suite *s = suite_create ("GstABI");

View file

@ -891,7 +891,7 @@ GST_START_TEST (test_iterate_sorted)
GST_END_TEST;
Suite *
static Suite *
gst_bin_suite (void)
{
Suite *s = suite_create ("GstBin");

View file

@ -45,7 +45,7 @@ pound_bus_with_messages (gpointer data)
}
static void
pull_messages ()
pull_messages (void)
{
GstMessage *m;
const GstStructure *s;
@ -428,7 +428,7 @@ GST_START_TEST (test_timed_pop_thread)
GST_END_TEST;
Suite *
static Suite *
gst_bus_suite (void)
{
Suite *s = suite_create ("GstBus");

View file

@ -580,7 +580,7 @@ GST_START_TEST (test_intersect)
GST_END_TEST;
Suite *
static Suite *
gst_caps_suite (void)
{
Suite *s = suite_create ("GstCaps");

View file

@ -205,7 +205,7 @@ GST_START_TEST (test_class)
GST_END_TEST;
Suite *
static Suite *
gst_element_suite (void)
{
Suite *s = suite_create ("GstElement");

View file

@ -268,9 +268,9 @@ GST_START_TEST (create_events)
GST_END_TEST;
GTimeVal sent_event_time;
GstEvent *got_event_before_q, *got_event_after_q;
GTimeVal got_event_time;
static GTimeVal sent_event_time;
static GstEvent *got_event_before_q, *got_event_after_q;
static GTimeVal got_event_time;
static gboolean
event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
@ -478,7 +478,7 @@ GST_START_TEST (send_custom_events)
GST_END_TEST;
Suite *
static Suite *
gst_event_suite (void)
{
Suite *s = suite_create ("GstEvent");

View file

@ -602,7 +602,7 @@ GST_START_TEST (test_ghost_pads_new_no_target_from_template)
GST_END_TEST;
Suite *
static Suite *
gst_ghost_pad_suite (void)
{
Suite *s = suite_create ("GstGhostPad");

View file

@ -167,7 +167,7 @@ GST_START_TEST (test_fold)
GST_END_TEST;
Suite *
static Suite *
gst_iterator_suite (void)
{
Suite *s = suite_create ("GstIterator");

View file

@ -192,7 +192,7 @@ GST_START_TEST (test_parsing)
GST_END_TEST;
Suite *
static Suite *
gst_message_suite (void)
{
Suite *s = suite_create ("GstMessage");

View file

@ -95,11 +95,11 @@ GST_START_TEST (test_make_writable)
GST_END_TEST;
gint num_threads = 10;
gint refs_per_thread = 10000;
static gint num_threads = 10;
static gint refs_per_thread = 10000;
/* test thread-safe refcounting of GstMiniObject */
void
static void
thread_ref (GstMiniObject * mobj)
{
int j;
@ -135,7 +135,7 @@ GST_START_TEST (test_ref_threaded)
GST_END_TEST;
void
static void
thread_unref (GstMiniObject * mobj)
{
int j;
@ -191,9 +191,10 @@ enum
PROP_BUFFER = 1
};
G_DEFINE_TYPE (MyFoo, my_foo, G_TYPE_OBJECT)
G_DEFINE_TYPE (MyFoo, my_foo, G_TYPE_OBJECT);
static void my_foo_init (MyFoo * foo)
static void
my_foo_init (MyFoo * foo)
{
}
@ -270,7 +271,7 @@ GST_START_TEST (test_value_collection)
GST_END_TEST;
Suite *
static Suite *
gst_mini_object_suite (void)
{
Suite *s = suite_create ("GstMiniObject");

View file

@ -38,12 +38,12 @@ struct _GstFakeObjectClass
GstObjectClass parent_class;
};
GType _gst_fake_object_type = 0;
static GType _gst_fake_object_type = 0;
//static GstObjectClass *parent_class = NULL;
//static guint gst_fake_object_signals[LAST_SIGNAL] = { 0 };
GType
static GType
gst_fake_object_get_type (void)
{
if (!_gst_fake_object_type) {
@ -75,7 +75,8 @@ GST_START_TEST (test_fail_abstract_new)
fail_unless (object == NULL, "Created an instance of abstract GstObject");
}
GST_END_TEST
GST_END_TEST;
/* g_object_new on GstFakeObject should succeed */
GST_START_TEST (test_fake_object_new)
{
@ -88,7 +89,8 @@ GST_START_TEST (test_fake_object_new)
gst_object_unref (object);
}
GST_END_TEST
GST_END_TEST;
/* GstFakeObject name tests */
GST_START_TEST (test_fake_object_name)
{
@ -129,9 +131,11 @@ GST_START_TEST (test_fake_object_name)
gst_object_unref (object);
}
GST_END_TEST
GST_END_TEST;
/* thread function for threaded name change test */
gpointer thread_name_object (GstObject * object)
static gpointer
thread_name_object (GstObject * object)
{
gchar *thread_id = g_strdup_printf ("%p", g_thread_self ());
@ -227,18 +231,19 @@ GST_START_TEST (test_fake_object_name_threaded_right)
gst_object_unref (object);
}
GST_END_TEST
GST_END_TEST;
/*
* main thread creates lots of objects
* child threads sets default names on objects
* then main thread checks uniqueness of object names
*/
GList * object_list = NULL;
gint num_objects = 1000;
gint num_threads = 5;
static GList *object_list = NULL;
static gint num_objects = 1000;
static gint num_threads = 5;
/* thread function for threaded default name change test */
gpointer
static gpointer
thread_name_object_default (int *i)
{
int j;
@ -333,7 +338,8 @@ GST_START_TEST (test_fake_object_name_threaded_unique)
g_list_foreach (object_list, (GFunc) g_object_unref, NULL);
}
GST_END_TEST
GST_END_TEST;
/* parentage test on GstFakeObject */
GST_START_TEST (test_fake_object_parentage)
{
@ -409,7 +415,8 @@ GST_START_TEST (test_fake_object_parentage)
gst_object_unref (object2);
}
GST_END_TEST
GST_END_TEST;
/* parentage test dispose on GstFakeObject, since our testcase
* does not handle the parent relation completely, the parent does
* not hold a ref to the child, we cannot dispose the parent to
@ -438,9 +445,12 @@ GST_START_TEST (test_fake_object_parentage_dispose)
gst_object_unref (object2);
}
GST_END_TEST
GST_END_TEST;
/* test: try renaming a parented object, make sure it fails */
Suite * gst_object_suite (void)
static Suite *
gst_object_suite (void)
{
Suite *s = suite_create ("GstObject");
TCase *tc_chain = tcase_create ("general");

View file

@ -63,9 +63,9 @@ GST_END_TEST;
/* threaded link/unlink */
/* use globals */
GstPad *src, *sink;
static GstPad *src, *sink;
void
static void
thread_link_unlink (gpointer data)
{
THREAD_START ();
@ -603,7 +603,7 @@ GST_START_TEST (test_get_caps_must_be_copy)
GST_END_TEST;
Suite *
static Suite *
gst_pad_suite (void)
{
Suite *s = suite_create ("GstPad");

View file

@ -356,7 +356,7 @@ GST_START_TEST (test_version_checks)
GST_END_TEST;
Suite *
static Suite *
gst_plugin_suite (void)
{
Suite *s = suite_create ("GstPlugin");

View file

@ -357,7 +357,7 @@ GST_START_TEST (test_poll_wait_select)
GST_END_TEST;
Suite *
static Suite *
gst_poll_suite (void)
{
Suite *s = suite_create ("GstPoll");

View file

@ -249,7 +249,7 @@ GST_START_TEST (test_queries)
GST_END_TEST;
Suite *
static Suite *
gst_query_suite (void)
{
Suite *s = suite_create ("GstQuery");

View file

@ -1624,7 +1624,7 @@ GST_START_TEST (segment_newsegment_accum2)
GST_END_TEST;
Suite *
static Suite *
gst_segment_suite (void)
{
Suite *s = suite_create ("GstSegment");

View file

@ -365,7 +365,7 @@ GST_START_TEST (test_structure_nested)
GST_END_TEST;
Suite *
static Suite *
gst_structure_suite (void)
{
Suite *s = suite_create ("GstStructure");

View file

@ -40,7 +40,8 @@ GST_START_TEST (test_range)
fail_unless (time2 == GST_TIME_AS_MSECONDS (time));
}
GST_END_TEST
GST_END_TEST;
GST_START_TEST (test_signedness)
{
GstClockTime time[] = { 0, 1, G_MAXUINT64 / GST_SECOND };
@ -56,9 +57,10 @@ GST_START_TEST (test_signedness)
}
}
GST_END_TEST
GST_END_TEST;
#define TIME_UNIT (GST_SECOND / 5)
static void
static void
gst_clock_debug (GstClock * clock)
{
GstClockTime time;
@ -174,7 +176,8 @@ GST_START_TEST (test_single_shot)
g_usleep (TIME_UNIT / (2 * 1000));
}
GST_END_TEST
GST_END_TEST;
GST_START_TEST (test_periodic_shot)
{
GstClock *clock;
@ -236,7 +239,8 @@ GST_START_TEST (test_periodic_shot)
gst_clock_id_unref (id);
}
GST_END_TEST
GST_END_TEST;
GST_START_TEST (test_async_order)
{
GstClock *clock;
@ -273,7 +277,8 @@ GST_START_TEST (test_async_order)
g_list_free (cb_list);
}
GST_END_TEST
GST_END_TEST;
GST_START_TEST (test_periodic_multi)
{
GstClock *clock;
@ -316,7 +321,8 @@ GST_START_TEST (test_periodic_multi)
fail_unless (gst_clock_get_time (clock) < base + 4 * TIME_UNIT);
}
GST_END_TEST
GST_END_TEST;
GST_START_TEST (test_diff)
{
GstClockTime time1[] = { 0, (GstClockTime) - 1, 0, 1, 2 * GST_SECOND,
@ -332,10 +338,11 @@ GST_START_TEST (test_diff)
}
}
GST_END_TEST
GST_END_TEST;
/* test if a blocking wait, unblocked by an async entry continues to be
* scheduled */
typedef struct
typedef struct
{
GstClock *clock;
GstClockID id;
@ -400,7 +407,9 @@ GST_START_TEST (test_mixed)
gst_object_unref (info.clock);
}
GST_END_TEST Suite *
GST_END_TEST;
static Suite *
gst_systemclock_suite (void)
{
Suite *s = suite_create ("GstSystemClock");

View file

@ -184,7 +184,7 @@ GST_START_TEST (test_create)
GST_END_TEST;
Suite *
static Suite *
gst_task_suite (void)
{
Suite *s = suite_create ("GstTask");

View file

@ -590,7 +590,7 @@ GST_START_TEST (test_set_value_from_string)
GST_END_TEST;
Suite *
static Suite *
gst_utils_suite (void)
{
Suite *s = suite_create ("GstUtils");

View file

@ -1618,7 +1618,7 @@ GST_START_TEST (test_serialize_deserialize_format_enum)
GST_END_TEST;
Suite *
static Suite *
gst_value_suite (void)
{
Suite *s = suite_create ("GstValue");

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstBin", sizeof (GstBin), 192},
{"GstBinClass", sizeof (GstBinClass), 288},
{"GstBuffer", sizeof (GstBuffer), 88},

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstBin", sizeof (GstBin), 184},
{"GstBinClass", sizeof(GstBinClass), 288},
{"GstBuffer", sizeof(GstBuffer), 80},

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstBin", sizeof (GstBin), 192},
{"GstBinClass", sizeof (GstBinClass), 288},
{"GstBuffer", sizeof (GstBuffer), 88},

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstBin", sizeof (GstBin), 336},
{"GstBinClass", sizeof (GstBinClass), 568},
{"GstBuffer", sizeof (GstBuffer), 120} ,

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstBin", sizeof (GstBin), 336},
{"GstBinClass", sizeof (GstBinClass), 568},
{"GstBuffer", sizeof (GstBuffer), 120} ,

View file

@ -172,7 +172,7 @@ GST_START_TEST (test_take3)
GST_END_TEST;
static GstAdapter *
create_and_fill_adapter ()
create_and_fill_adapter (void)
{
GstAdapter *adapter;
gint i, j;
@ -244,7 +244,7 @@ GST_START_TEST (test_take_buf_order)
GST_END_TEST;
Suite *
static Suite *
gst_adapter_suite (void)
{
Suite *s = suite_create ("adapter");

View file

@ -482,7 +482,7 @@ GST_START_TEST (basesrc_eos_events_pull_live_eos)
GST_END_TEST;
Suite *
static Suite *
gst_basesrc_suite (void)
{
Suite *s = suite_create ("GstBaseSrc");

View file

@ -972,7 +972,7 @@ GST_START_TEST (controller_interpolation_linear_value_array)
GstElement *elem;
gboolean res;
GValue val_ulong = { 0, };
GstValueArray values = { 0, };
GstValueArray values = { NULL, };
gst_controller_init (NULL, NULL);

View file

@ -409,7 +409,7 @@ GST_END_TEST;
#endif
Suite *
static Suite *
gst_dp_suite (void)
{
Suite *s = suite_create ("data protocol");

View file

@ -110,7 +110,7 @@ GST_START_TEST (test_functioning)
GST_END_TEST;
Suite *
static Suite *
gst_net_client_clock_suite (void)
{
Suite *s = suite_create ("GstNetClientClock");

View file

@ -109,7 +109,7 @@ GST_START_TEST (test_functioning)
GST_END_TEST;
Suite *
static Suite *
gst_net_time_provider_suite (void)
{
Suite *s = suite_create ("GstNetTimeProvider");

View file

@ -71,7 +71,7 @@ GST_START_TEST (test_ABI)
GST_END_TEST;
Suite *
static Suite *
libsabi_suite (void)
{
Suite *s = suite_create ("LibsABI");

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstAdapter", sizeof (GstAdapter), 52},
{"GstAdapterClass", sizeof (GstAdapterClass), 84},
{"GstBaseSink", sizeof (GstBaseSink), 408},

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstAdapter", sizeof(GstAdapter), 52},
{"GstAdapterClass", sizeof(GstAdapterClass), 84},
{"GstBaseSink", sizeof(GstBaseSink), 384},

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstAdapter", sizeof (GstAdapter), 52},
{"GstAdapterClass", sizeof (GstAdapterClass), 84},
{"GstBaseSink", sizeof (GstBaseSink), 408},

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstAdapter", sizeof (GstAdapter), 88}
,
{"GstAdapterClass", sizeof (GstAdapterClass), 168}

View file

@ -1,4 +1,4 @@
GstCheckABIStruct list[] = {
static GstCheckABIStruct list[] = {
{"GstAdapter", sizeof (GstAdapter), 88}
,
{"GstAdapterClass", sizeof (GstAdapterClass), 168}

View file

@ -102,7 +102,7 @@ GST_START_TEST (test_pipeline_unref)
GST_END_TEST;
Suite *
static Suite *
cleanup_suite (void)
{
Suite *s = suite_create ("Pipeline cleanup");

View file

@ -319,7 +319,7 @@ GST_START_TEST (test_stop_from_app)
GST_END_TEST;
Suite *
static Suite *
simple_launch_lines_suite (void)
{
Suite *s = suite_create ("Pipelines");

View file

@ -115,7 +115,7 @@ GST_START_TEST (test_stress)
GST_END_TEST;
Suite *
static Suite *
stress_suite (void)
{
Suite *s = suite_create ("stress");

View file

@ -655,6 +655,7 @@ EXPORTS
gst_poll_fd_ctl_write
gst_poll_fd_has_closed
gst_poll_fd_has_error
gst_poll_fd_init
gst_poll_free
gst_poll_get_mode
gst_poll_mode_get_type