mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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:
parent
b997b0545a
commit
58cc2ede0a
54 changed files with 195 additions and 116 deletions
60
ChangeLog
60
ChangeLog
|
@ -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>
|
2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* gst/gstconfig.h.in:
|
* gst/gstconfig.h.in:
|
||||||
|
|
|
@ -81,7 +81,7 @@ struct _GstElementDetails
|
||||||
* Macro to initialize #GstElementDetails.
|
* Macro to initialize #GstElementDetails.
|
||||||
*/
|
*/
|
||||||
#define GST_ELEMENT_DETAILS(longname,klass,description,author) \
|
#define GST_ELEMENT_DETAILS(longname,klass,description,author) \
|
||||||
{ longname, klass, description, author, {0} }
|
{ longname, klass, description, author, {NULL} }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GST_IS_ELEMENT_DETAILS:
|
* GST_IS_ELEMENT_DETAILS:
|
||||||
|
|
|
@ -523,7 +523,7 @@ GST_START_TEST (test_eos2)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
fakesink_suite (void)
|
fakesink_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("fakesink");
|
Suite *s = suite_create ("fakesink");
|
||||||
|
|
|
@ -24,16 +24,16 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#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",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS_ANY);
|
GST_STATIC_CAPS_ANY);
|
||||||
|
|
||||||
gboolean
|
static gboolean
|
||||||
event_func (GstPad * pad, GstEvent * event)
|
event_func (GstPad * pad, GstEvent * event)
|
||||||
{
|
{
|
||||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||||
|
@ -46,8 +46,8 @@ event_func (GstPad * pad, GstEvent * event)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GstElement *
|
static GstElement *
|
||||||
setup_fakesrc ()
|
setup_fakesrc (void)
|
||||||
{
|
{
|
||||||
GstElement *fakesrc;
|
GstElement *fakesrc;
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ setup_fakesrc ()
|
||||||
return fakesrc;
|
return fakesrc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
cleanup_fakesrc (GstElement * fakesrc)
|
cleanup_fakesrc (GstElement * fakesrc)
|
||||||
{
|
{
|
||||||
gst_pad_set_active (mysinkpad, FALSE);
|
gst_pad_set_active (mysinkpad, FALSE);
|
||||||
|
@ -236,7 +236,7 @@ GST_START_TEST (test_no_preroll)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
fakesrc_suite (void)
|
fakesrc_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("fakesrc");
|
Suite *s = suite_create ("fakesrc");
|
||||||
|
|
|
@ -27,16 +27,16 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#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",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS_ANY);
|
GST_STATIC_CAPS_ANY);
|
||||||
|
|
||||||
gboolean
|
static gboolean
|
||||||
event_func (GstPad * pad, GstEvent * event)
|
event_func (GstPad * pad, GstEvent * event)
|
||||||
{
|
{
|
||||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||||
|
@ -49,8 +49,8 @@ event_func (GstPad * pad, GstEvent * event)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GstElement *
|
static GstElement *
|
||||||
setup_fdsrc ()
|
setup_fdsrc (void)
|
||||||
{
|
{
|
||||||
GstElement *fdsrc;
|
GstElement *fdsrc;
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ setup_fdsrc ()
|
||||||
return fdsrc;
|
return fdsrc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
cleanup_fdsrc (GstElement * fdsrc)
|
cleanup_fdsrc (GstElement * fdsrc)
|
||||||
{
|
{
|
||||||
gst_pad_set_active (mysinkpad, FALSE);
|
gst_pad_set_active (mysinkpad, FALSE);
|
||||||
|
@ -180,7 +180,7 @@ GST_START_TEST (test_seeking)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
fdsrc_suite (void)
|
fdsrc_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("fdsrc");
|
Suite *s = suite_create ("fdsrc");
|
||||||
|
|
|
@ -34,9 +34,7 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
gboolean have_eos = FALSE;
|
static GstPad *mysrcpad;
|
||||||
|
|
||||||
GstPad *mysrcpad;
|
|
||||||
|
|
||||||
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
|
@ -44,7 +42,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_STATIC_CAPS_ANY);
|
GST_STATIC_CAPS_ANY);
|
||||||
|
|
||||||
static GstElement *
|
static GstElement *
|
||||||
setup_filesink ()
|
setup_filesink (void)
|
||||||
{
|
{
|
||||||
GstElement *filesink;
|
GstElement *filesink;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS_ANY);
|
GST_STATIC_CAPS_ANY);
|
||||||
|
|
||||||
gboolean
|
static gboolean
|
||||||
event_func (GstPad * pad, GstEvent * event)
|
event_func (GstPad * pad, GstEvent * event)
|
||||||
{
|
{
|
||||||
gboolean res = TRUE;
|
gboolean res = TRUE;
|
||||||
|
@ -54,7 +54,7 @@ event_func (GstPad * pad, GstEvent * event)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
wait_eos (void)
|
wait_eos (void)
|
||||||
{
|
{
|
||||||
g_mutex_lock (event_mutex);
|
g_mutex_lock (event_mutex);
|
||||||
|
@ -66,8 +66,8 @@ wait_eos (void)
|
||||||
g_mutex_unlock (event_mutex);
|
g_mutex_unlock (event_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
GstElement *
|
static GstElement *
|
||||||
setup_filesrc ()
|
setup_filesrc (void)
|
||||||
{
|
{
|
||||||
GstElement *filesrc;
|
GstElement *filesrc;
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ setup_filesrc ()
|
||||||
return filesrc;
|
return filesrc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
cleanup_filesrc (GstElement * filesrc)
|
cleanup_filesrc (GstElement * filesrc)
|
||||||
{
|
{
|
||||||
gst_pad_set_active (mysinkpad, FALSE);
|
gst_pad_set_active (mysinkpad, FALSE);
|
||||||
|
@ -376,7 +376,7 @@ GST_START_TEST (test_uri_interface)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
filesrc_suite (void)
|
filesrc_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("filesrc");
|
Suite *s = suite_create ("filesrc");
|
||||||
|
|
|
@ -24,12 +24,12 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#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
|
/* 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 */
|
||||||
GstPad *mysrcpad, *mysinkpad;
|
static GstPad *mysrcpad, *mysinkpad;
|
||||||
|
|
||||||
|
|
||||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
|
@ -41,7 +41,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS_ANY);
|
GST_STATIC_CAPS_ANY);
|
||||||
|
|
||||||
gboolean
|
static gboolean
|
||||||
event_func (GstPad * pad, GstEvent * event)
|
event_func (GstPad * pad, GstEvent * event)
|
||||||
{
|
{
|
||||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||||
|
@ -54,8 +54,8 @@ event_func (GstPad * pad, GstEvent * event)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GstElement *
|
static GstElement *
|
||||||
setup_identity ()
|
setup_identity (void)
|
||||||
{
|
{
|
||||||
GstElement *identity;
|
GstElement *identity;
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ setup_identity ()
|
||||||
return identity;
|
return identity;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
cleanup_identity (GstElement * identity)
|
cleanup_identity (GstElement * identity)
|
||||||
{
|
{
|
||||||
GST_DEBUG ("cleanup_identity");
|
GST_DEBUG ("cleanup_identity");
|
||||||
|
@ -112,7 +112,7 @@ GST_START_TEST (test_one_buffer)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
identity_suite (void)
|
identity_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("identity");
|
Suite *s = suite_create ("identity");
|
||||||
|
|
|
@ -164,7 +164,7 @@ GST_START_TEST (test_stress)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
tee_suite (void)
|
tee_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("tee");
|
Suite *s = suite_create ("tee");
|
||||||
|
|
|
@ -1244,7 +1244,7 @@ GST_START_TEST (test_async_done_eos)
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
/* test: try changing state of sinks */
|
/* test: try changing state of sinks */
|
||||||
Suite *
|
static Suite *
|
||||||
gst_sinks_suite (void)
|
gst_sinks_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("Sinks");
|
Suite *s = suite_create ("Sinks");
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
static GList *elements = NULL;
|
static GList *elements = NULL;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
setup ()
|
setup (void)
|
||||||
{
|
{
|
||||||
GList *features, *f;
|
GList *features, *f;
|
||||||
GList *plugins, *p;
|
GList *plugins, *p;
|
||||||
|
@ -88,7 +88,7 @@ setup ()
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
teardown ()
|
teardown (void)
|
||||||
{
|
{
|
||||||
GList *e;
|
GList *e;
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ GST_START_TEST (test_state_changes_down_seq)
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
states_suite (void)
|
states_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("states");
|
Suite *s = suite_create ("states");
|
||||||
|
|
|
@ -92,7 +92,7 @@ GST_START_TEST (test_version)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_suite (void)
|
gst_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("Gst");
|
Suite *s = suite_create ("Gst");
|
||||||
|
|
|
@ -58,7 +58,7 @@ GST_START_TEST (test_ABI)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gstabi_suite (void)
|
gstabi_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstABI");
|
Suite *s = suite_create ("GstABI");
|
||||||
|
|
|
@ -891,7 +891,7 @@ GST_START_TEST (test_iterate_sorted)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_bin_suite (void)
|
gst_bin_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstBin");
|
Suite *s = suite_create ("GstBin");
|
||||||
|
|
|
@ -45,7 +45,7 @@ pound_bus_with_messages (gpointer data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pull_messages ()
|
pull_messages (void)
|
||||||
{
|
{
|
||||||
GstMessage *m;
|
GstMessage *m;
|
||||||
const GstStructure *s;
|
const GstStructure *s;
|
||||||
|
@ -428,7 +428,7 @@ GST_START_TEST (test_timed_pop_thread)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_bus_suite (void)
|
gst_bus_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstBus");
|
Suite *s = suite_create ("GstBus");
|
||||||
|
|
|
@ -580,7 +580,7 @@ GST_START_TEST (test_intersect)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_caps_suite (void)
|
gst_caps_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstCaps");
|
Suite *s = suite_create ("GstCaps");
|
||||||
|
|
|
@ -205,7 +205,7 @@ GST_START_TEST (test_class)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_element_suite (void)
|
gst_element_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstElement");
|
Suite *s = suite_create ("GstElement");
|
||||||
|
|
|
@ -268,9 +268,9 @@ GST_START_TEST (create_events)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
GTimeVal sent_event_time;
|
static GTimeVal sent_event_time;
|
||||||
GstEvent *got_event_before_q, *got_event_after_q;
|
static GstEvent *got_event_before_q, *got_event_after_q;
|
||||||
GTimeVal got_event_time;
|
static GTimeVal got_event_time;
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
|
event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
|
||||||
|
@ -478,7 +478,7 @@ GST_START_TEST (send_custom_events)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_event_suite (void)
|
gst_event_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstEvent");
|
Suite *s = suite_create ("GstEvent");
|
||||||
|
|
|
@ -602,7 +602,7 @@ GST_START_TEST (test_ghost_pads_new_no_target_from_template)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_ghost_pad_suite (void)
|
gst_ghost_pad_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstGhostPad");
|
Suite *s = suite_create ("GstGhostPad");
|
||||||
|
|
|
@ -167,7 +167,7 @@ GST_START_TEST (test_fold)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_iterator_suite (void)
|
gst_iterator_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstIterator");
|
Suite *s = suite_create ("GstIterator");
|
||||||
|
|
|
@ -192,7 +192,7 @@ GST_START_TEST (test_parsing)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_message_suite (void)
|
gst_message_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstMessage");
|
Suite *s = suite_create ("GstMessage");
|
||||||
|
|
|
@ -95,11 +95,11 @@ GST_START_TEST (test_make_writable)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
gint num_threads = 10;
|
static gint num_threads = 10;
|
||||||
gint refs_per_thread = 10000;
|
static gint refs_per_thread = 10000;
|
||||||
|
|
||||||
/* test thread-safe refcounting of GstMiniObject */
|
/* test thread-safe refcounting of GstMiniObject */
|
||||||
void
|
static void
|
||||||
thread_ref (GstMiniObject * mobj)
|
thread_ref (GstMiniObject * mobj)
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
|
@ -135,7 +135,7 @@ GST_START_TEST (test_ref_threaded)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
void
|
static void
|
||||||
thread_unref (GstMiniObject * mobj)
|
thread_unref (GstMiniObject * mobj)
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
|
@ -191,9 +191,10 @@ enum
|
||||||
PROP_BUFFER = 1
|
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;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_mini_object_suite (void)
|
gst_mini_object_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstMiniObject");
|
Suite *s = suite_create ("GstMiniObject");
|
||||||
|
|
|
@ -38,12 +38,12 @@ struct _GstFakeObjectClass
|
||||||
GstObjectClass parent_class;
|
GstObjectClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
GType _gst_fake_object_type = 0;
|
static GType _gst_fake_object_type = 0;
|
||||||
|
|
||||||
//static GstObjectClass *parent_class = NULL;
|
//static GstObjectClass *parent_class = NULL;
|
||||||
//static guint gst_fake_object_signals[LAST_SIGNAL] = { 0 };
|
//static guint gst_fake_object_signals[LAST_SIGNAL] = { 0 };
|
||||||
|
|
||||||
GType
|
static GType
|
||||||
gst_fake_object_get_type (void)
|
gst_fake_object_get_type (void)
|
||||||
{
|
{
|
||||||
if (!_gst_fake_object_type) {
|
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");
|
fail_unless (object == NULL, "Created an instance of abstract GstObject");
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
/* g_object_new on GstFakeObject should succeed */
|
/* g_object_new on GstFakeObject should succeed */
|
||||||
GST_START_TEST (test_fake_object_new)
|
GST_START_TEST (test_fake_object_new)
|
||||||
{
|
{
|
||||||
|
@ -88,7 +89,8 @@ GST_START_TEST (test_fake_object_new)
|
||||||
gst_object_unref (object);
|
gst_object_unref (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
/* GstFakeObject name tests */
|
/* GstFakeObject name tests */
|
||||||
GST_START_TEST (test_fake_object_name)
|
GST_START_TEST (test_fake_object_name)
|
||||||
{
|
{
|
||||||
|
@ -129,9 +131,11 @@ GST_START_TEST (test_fake_object_name)
|
||||||
gst_object_unref (object);
|
gst_object_unref (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
/* thread function for threaded name change 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 ());
|
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_object_unref (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
/*
|
/*
|
||||||
* main thread creates lots of objects
|
* main thread creates lots of objects
|
||||||
* child threads sets default names on objects
|
* child threads sets default names on objects
|
||||||
* then main thread checks uniqueness of object names
|
* then main thread checks uniqueness of object names
|
||||||
*/
|
*/
|
||||||
GList * object_list = NULL;
|
|
||||||
gint num_objects = 1000;
|
static GList *object_list = NULL;
|
||||||
gint num_threads = 5;
|
static gint num_objects = 1000;
|
||||||
|
static gint num_threads = 5;
|
||||||
|
|
||||||
/* thread function for threaded default name change test */
|
/* thread function for threaded default name change test */
|
||||||
gpointer
|
static gpointer
|
||||||
thread_name_object_default (int *i)
|
thread_name_object_default (int *i)
|
||||||
{
|
{
|
||||||
int j;
|
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);
|
g_list_foreach (object_list, (GFunc) g_object_unref, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
/* parentage test on GstFakeObject */
|
/* parentage test on GstFakeObject */
|
||||||
GST_START_TEST (test_fake_object_parentage)
|
GST_START_TEST (test_fake_object_parentage)
|
||||||
{
|
{
|
||||||
|
@ -409,7 +415,8 @@ GST_START_TEST (test_fake_object_parentage)
|
||||||
gst_object_unref (object2);
|
gst_object_unref (object2);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
/* parentage test dispose on GstFakeObject, since our testcase
|
/* parentage test dispose on GstFakeObject, since our testcase
|
||||||
* does not handle the parent relation completely, the parent does
|
* does not handle the parent relation completely, the parent does
|
||||||
* not hold a ref to the child, we cannot dispose the parent to
|
* 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_object_unref (object2);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
/* test: try renaming a parented object, make sure it fails */
|
/* 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");
|
Suite *s = suite_create ("GstObject");
|
||||||
TCase *tc_chain = tcase_create ("general");
|
TCase *tc_chain = tcase_create ("general");
|
||||||
|
|
|
@ -63,9 +63,9 @@ GST_END_TEST;
|
||||||
|
|
||||||
/* threaded link/unlink */
|
/* threaded link/unlink */
|
||||||
/* use globals */
|
/* use globals */
|
||||||
GstPad *src, *sink;
|
static GstPad *src, *sink;
|
||||||
|
|
||||||
void
|
static void
|
||||||
thread_link_unlink (gpointer data)
|
thread_link_unlink (gpointer data)
|
||||||
{
|
{
|
||||||
THREAD_START ();
|
THREAD_START ();
|
||||||
|
@ -603,7 +603,7 @@ GST_START_TEST (test_get_caps_must_be_copy)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_pad_suite (void)
|
gst_pad_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstPad");
|
Suite *s = suite_create ("GstPad");
|
||||||
|
|
|
@ -356,7 +356,7 @@ GST_START_TEST (test_version_checks)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_plugin_suite (void)
|
gst_plugin_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstPlugin");
|
Suite *s = suite_create ("GstPlugin");
|
||||||
|
|
|
@ -357,7 +357,7 @@ GST_START_TEST (test_poll_wait_select)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_poll_suite (void)
|
gst_poll_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstPoll");
|
Suite *s = suite_create ("GstPoll");
|
||||||
|
|
|
@ -249,7 +249,7 @@ GST_START_TEST (test_queries)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_query_suite (void)
|
gst_query_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstQuery");
|
Suite *s = suite_create ("GstQuery");
|
||||||
|
|
|
@ -1624,7 +1624,7 @@ GST_START_TEST (segment_newsegment_accum2)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_segment_suite (void)
|
gst_segment_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstSegment");
|
Suite *s = suite_create ("GstSegment");
|
||||||
|
|
|
@ -365,7 +365,7 @@ GST_START_TEST (test_structure_nested)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_structure_suite (void)
|
gst_structure_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstStructure");
|
Suite *s = suite_create ("GstStructure");
|
||||||
|
|
|
@ -40,7 +40,8 @@ GST_START_TEST (test_range)
|
||||||
fail_unless (time2 == GST_TIME_AS_MSECONDS (time));
|
fail_unless (time2 == GST_TIME_AS_MSECONDS (time));
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
GST_START_TEST (test_signedness)
|
GST_START_TEST (test_signedness)
|
||||||
{
|
{
|
||||||
GstClockTime time[] = { 0, 1, G_MAXUINT64 / GST_SECOND };
|
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)
|
#define TIME_UNIT (GST_SECOND / 5)
|
||||||
static void
|
static void
|
||||||
gst_clock_debug (GstClock * clock)
|
gst_clock_debug (GstClock * clock)
|
||||||
{
|
{
|
||||||
GstClockTime time;
|
GstClockTime time;
|
||||||
|
@ -174,7 +176,8 @@ GST_START_TEST (test_single_shot)
|
||||||
g_usleep (TIME_UNIT / (2 * 1000));
|
g_usleep (TIME_UNIT / (2 * 1000));
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
GST_START_TEST (test_periodic_shot)
|
GST_START_TEST (test_periodic_shot)
|
||||||
{
|
{
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
|
@ -236,7 +239,8 @@ GST_START_TEST (test_periodic_shot)
|
||||||
gst_clock_id_unref (id);
|
gst_clock_id_unref (id);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
GST_START_TEST (test_async_order)
|
GST_START_TEST (test_async_order)
|
||||||
{
|
{
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
|
@ -273,7 +277,8 @@ GST_START_TEST (test_async_order)
|
||||||
g_list_free (cb_list);
|
g_list_free (cb_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
GST_START_TEST (test_periodic_multi)
|
GST_START_TEST (test_periodic_multi)
|
||||||
{
|
{
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
|
@ -316,7 +321,8 @@ GST_START_TEST (test_periodic_multi)
|
||||||
fail_unless (gst_clock_get_time (clock) < base + 4 * TIME_UNIT);
|
fail_unless (gst_clock_get_time (clock) < base + 4 * TIME_UNIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST
|
GST_END_TEST;
|
||||||
|
|
||||||
GST_START_TEST (test_diff)
|
GST_START_TEST (test_diff)
|
||||||
{
|
{
|
||||||
GstClockTime time1[] = { 0, (GstClockTime) - 1, 0, 1, 2 * GST_SECOND,
|
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
|
/* test if a blocking wait, unblocked by an async entry continues to be
|
||||||
* scheduled */
|
* scheduled */
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
GstClockID id;
|
GstClockID id;
|
||||||
|
@ -400,7 +407,9 @@ GST_START_TEST (test_mixed)
|
||||||
gst_object_unref (info.clock);
|
gst_object_unref (info.clock);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST Suite *
|
GST_END_TEST;
|
||||||
|
|
||||||
|
static Suite *
|
||||||
gst_systemclock_suite (void)
|
gst_systemclock_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstSystemClock");
|
Suite *s = suite_create ("GstSystemClock");
|
||||||
|
|
|
@ -184,7 +184,7 @@ GST_START_TEST (test_create)
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_task_suite (void)
|
gst_task_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstTask");
|
Suite *s = suite_create ("GstTask");
|
||||||
|
|
|
@ -590,7 +590,7 @@ GST_START_TEST (test_set_value_from_string)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_utils_suite (void)
|
gst_utils_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstUtils");
|
Suite *s = suite_create ("GstUtils");
|
||||||
|
|
|
@ -1618,7 +1618,7 @@ GST_START_TEST (test_serialize_deserialize_format_enum)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_value_suite (void)
|
gst_value_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstValue");
|
Suite *s = suite_create ("GstValue");
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstBin", sizeof (GstBin), 192},
|
{"GstBin", sizeof (GstBin), 192},
|
||||||
{"GstBinClass", sizeof (GstBinClass), 288},
|
{"GstBinClass", sizeof (GstBinClass), 288},
|
||||||
{"GstBuffer", sizeof (GstBuffer), 88},
|
{"GstBuffer", sizeof (GstBuffer), 88},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstBin", sizeof (GstBin), 184},
|
{"GstBin", sizeof (GstBin), 184},
|
||||||
{"GstBinClass", sizeof(GstBinClass), 288},
|
{"GstBinClass", sizeof(GstBinClass), 288},
|
||||||
{"GstBuffer", sizeof(GstBuffer), 80},
|
{"GstBuffer", sizeof(GstBuffer), 80},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstBin", sizeof (GstBin), 192},
|
{"GstBin", sizeof (GstBin), 192},
|
||||||
{"GstBinClass", sizeof (GstBinClass), 288},
|
{"GstBinClass", sizeof (GstBinClass), 288},
|
||||||
{"GstBuffer", sizeof (GstBuffer), 88},
|
{"GstBuffer", sizeof (GstBuffer), 88},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstBin", sizeof (GstBin), 336},
|
{"GstBin", sizeof (GstBin), 336},
|
||||||
{"GstBinClass", sizeof (GstBinClass), 568},
|
{"GstBinClass", sizeof (GstBinClass), 568},
|
||||||
{"GstBuffer", sizeof (GstBuffer), 120} ,
|
{"GstBuffer", sizeof (GstBuffer), 120} ,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstBin", sizeof (GstBin), 336},
|
{"GstBin", sizeof (GstBin), 336},
|
||||||
{"GstBinClass", sizeof (GstBinClass), 568},
|
{"GstBinClass", sizeof (GstBinClass), 568},
|
||||||
{"GstBuffer", sizeof (GstBuffer), 120} ,
|
{"GstBuffer", sizeof (GstBuffer), 120} ,
|
||||||
|
|
|
@ -172,7 +172,7 @@ GST_START_TEST (test_take3)
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
static GstAdapter *
|
static GstAdapter *
|
||||||
create_and_fill_adapter ()
|
create_and_fill_adapter (void)
|
||||||
{
|
{
|
||||||
GstAdapter *adapter;
|
GstAdapter *adapter;
|
||||||
gint i, j;
|
gint i, j;
|
||||||
|
@ -244,7 +244,7 @@ GST_START_TEST (test_take_buf_order)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_adapter_suite (void)
|
gst_adapter_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("adapter");
|
Suite *s = suite_create ("adapter");
|
||||||
|
|
|
@ -482,7 +482,7 @@ GST_START_TEST (basesrc_eos_events_pull_live_eos)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_basesrc_suite (void)
|
gst_basesrc_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstBaseSrc");
|
Suite *s = suite_create ("GstBaseSrc");
|
||||||
|
|
|
@ -972,7 +972,7 @@ GST_START_TEST (controller_interpolation_linear_value_array)
|
||||||
GstElement *elem;
|
GstElement *elem;
|
||||||
gboolean res;
|
gboolean res;
|
||||||
GValue val_ulong = { 0, };
|
GValue val_ulong = { 0, };
|
||||||
GstValueArray values = { 0, };
|
GstValueArray values = { NULL, };
|
||||||
|
|
||||||
gst_controller_init (NULL, NULL);
|
gst_controller_init (NULL, NULL);
|
||||||
|
|
||||||
|
|
|
@ -409,7 +409,7 @@ GST_END_TEST;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_dp_suite (void)
|
gst_dp_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("data protocol");
|
Suite *s = suite_create ("data protocol");
|
||||||
|
|
|
@ -110,7 +110,7 @@ GST_START_TEST (test_functioning)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_net_client_clock_suite (void)
|
gst_net_client_clock_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstNetClientClock");
|
Suite *s = suite_create ("GstNetClientClock");
|
||||||
|
|
|
@ -109,7 +109,7 @@ GST_START_TEST (test_functioning)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
gst_net_time_provider_suite (void)
|
gst_net_time_provider_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("GstNetTimeProvider");
|
Suite *s = suite_create ("GstNetTimeProvider");
|
||||||
|
|
|
@ -71,7 +71,7 @@ GST_START_TEST (test_ABI)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
libsabi_suite (void)
|
libsabi_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("LibsABI");
|
Suite *s = suite_create ("LibsABI");
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstAdapter", sizeof (GstAdapter), 52},
|
{"GstAdapter", sizeof (GstAdapter), 52},
|
||||||
{"GstAdapterClass", sizeof (GstAdapterClass), 84},
|
{"GstAdapterClass", sizeof (GstAdapterClass), 84},
|
||||||
{"GstBaseSink", sizeof (GstBaseSink), 408},
|
{"GstBaseSink", sizeof (GstBaseSink), 408},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstAdapter", sizeof(GstAdapter), 52},
|
{"GstAdapter", sizeof(GstAdapter), 52},
|
||||||
{"GstAdapterClass", sizeof(GstAdapterClass), 84},
|
{"GstAdapterClass", sizeof(GstAdapterClass), 84},
|
||||||
{"GstBaseSink", sizeof(GstBaseSink), 384},
|
{"GstBaseSink", sizeof(GstBaseSink), 384},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstAdapter", sizeof (GstAdapter), 52},
|
{"GstAdapter", sizeof (GstAdapter), 52},
|
||||||
{"GstAdapterClass", sizeof (GstAdapterClass), 84},
|
{"GstAdapterClass", sizeof (GstAdapterClass), 84},
|
||||||
{"GstBaseSink", sizeof (GstBaseSink), 408},
|
{"GstBaseSink", sizeof (GstBaseSink), 408},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstAdapter", sizeof (GstAdapter), 88}
|
{"GstAdapter", sizeof (GstAdapter), 88}
|
||||||
,
|
,
|
||||||
{"GstAdapterClass", sizeof (GstAdapterClass), 168}
|
{"GstAdapterClass", sizeof (GstAdapterClass), 168}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GstCheckABIStruct list[] = {
|
static GstCheckABIStruct list[] = {
|
||||||
{"GstAdapter", sizeof (GstAdapter), 88}
|
{"GstAdapter", sizeof (GstAdapter), 88}
|
||||||
,
|
,
|
||||||
{"GstAdapterClass", sizeof (GstAdapterClass), 168}
|
{"GstAdapterClass", sizeof (GstAdapterClass), 168}
|
||||||
|
|
|
@ -102,7 +102,7 @@ GST_START_TEST (test_pipeline_unref)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
cleanup_suite (void)
|
cleanup_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("Pipeline cleanup");
|
Suite *s = suite_create ("Pipeline cleanup");
|
||||||
|
|
|
@ -319,7 +319,7 @@ GST_START_TEST (test_stop_from_app)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
simple_launch_lines_suite (void)
|
simple_launch_lines_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("Pipelines");
|
Suite *s = suite_create ("Pipelines");
|
||||||
|
|
|
@ -115,7 +115,7 @@ GST_START_TEST (test_stress)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
stress_suite (void)
|
stress_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("stress");
|
Suite *s = suite_create ("stress");
|
||||||
|
|
|
@ -655,6 +655,7 @@ EXPORTS
|
||||||
gst_poll_fd_ctl_write
|
gst_poll_fd_ctl_write
|
||||||
gst_poll_fd_has_closed
|
gst_poll_fd_has_closed
|
||||||
gst_poll_fd_has_error
|
gst_poll_fd_has_error
|
||||||
|
gst_poll_fd_init
|
||||||
gst_poll_free
|
gst_poll_free
|
||||||
gst_poll_get_mode
|
gst_poll_get_mode
|
||||||
gst_poll_mode_get_type
|
gst_poll_mode_get_type
|
||||||
|
|
Loading…
Reference in a new issue