mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
tests: remove newlines between variable decls (old gst-indent failure)
This commit is contained in:
parent
a513a7be75
commit
35232cd490
2 changed files with 0 additions and 32 deletions
|
@ -41,7 +41,6 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_request_pads)
|
||||
{
|
||||
GstElement *interleave;
|
||||
|
||||
GstPad *pad1, *pad2;
|
||||
|
||||
interleave = gst_element_factory_make ("interleave", NULL);
|
||||
|
@ -67,13 +66,9 @@ GST_START_TEST (test_request_pads)
|
|||
GST_END_TEST;
|
||||
|
||||
static GstPad **mysrcpads, *mysinkpad;
|
||||
|
||||
static GstBus *bus;
|
||||
|
||||
static GstElement *interleave;
|
||||
|
||||
static gint have_data;
|
||||
|
||||
static gfloat input[2];
|
||||
|
||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
|
@ -103,7 +98,6 @@ static GstFlowReturn
|
|||
interleave_chain_func (GstPad * pad, GstBuffer * buffer)
|
||||
{
|
||||
gfloat *outdata;
|
||||
|
||||
gint i;
|
||||
|
||||
fail_unless (GST_IS_BUFFER (buffer));
|
||||
|
@ -128,15 +122,10 @@ interleave_chain_func (GstPad * pad, GstBuffer * buffer)
|
|||
GST_START_TEST (test_interleave_2ch)
|
||||
{
|
||||
GstElement *queue;
|
||||
|
||||
GstPad *sink0, *sink1, *src, *tmp;
|
||||
|
||||
GstCaps *caps;
|
||||
|
||||
gint i;
|
||||
|
||||
GstBuffer *inbuf;
|
||||
|
||||
gfloat *indata;
|
||||
|
||||
mysrcpads = g_new0 (GstPad *, 2);
|
||||
|
@ -253,15 +242,10 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_interleave_2ch_1eos)
|
||||
{
|
||||
GstElement *queue;
|
||||
|
||||
GstPad *sink0, *sink1, *src, *tmp;
|
||||
|
||||
GstCaps *caps;
|
||||
|
||||
gint i;
|
||||
|
||||
GstBuffer *inbuf;
|
||||
|
||||
gfloat *indata;
|
||||
|
||||
mysrcpads = g_new0 (GstPad *, 2);
|
||||
|
@ -468,9 +452,7 @@ sink_handoff_float32 (GstElement * element, GstBuffer * buffer, GstPad * pad,
|
|||
GST_START_TEST (test_interleave_2ch_pipeline)
|
||||
{
|
||||
GstElement *pipeline, *queue, *src1, *src2, *interleave, *sink;
|
||||
|
||||
GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2;
|
||||
|
||||
GstMessage *msg;
|
||||
|
||||
have_data = 0;
|
||||
|
@ -552,9 +534,7 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_interleave_2ch_pipeline_input_chanpos)
|
||||
{
|
||||
GstElement *pipeline, *queue, *src1, *src2, *interleave, *sink;
|
||||
|
||||
GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2;
|
||||
|
||||
GstMessage *msg;
|
||||
|
||||
have_data = 0;
|
||||
|
@ -637,11 +617,8 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_interleave_2ch_pipeline_custom_chanpos)
|
||||
{
|
||||
GstElement *pipeline, *queue, *src1, *src2, *interleave, *sink;
|
||||
|
||||
GstPad *sinkpad0, *sinkpad1, *tmp, *tmp2;
|
||||
|
||||
GstMessage *msg;
|
||||
|
||||
GValueArray *arr;
|
||||
GValue val = { 0, };
|
||||
|
||||
|
@ -736,7 +713,6 @@ static Suite *
|
|||
interleave_suite (void)
|
||||
{
|
||||
Suite *s = suite_create ("interleave");
|
||||
|
||||
TCase *tc_chain = tcase_create ("general");
|
||||
|
||||
suite_add_tcase (s, tc_chain);
|
||||
|
|
|
@ -32,7 +32,6 @@ bus_handler (GstBus * bus, GstMessage * message, gpointer data)
|
|||
case GST_MESSAGE_WARNING:
|
||||
case GST_MESSAGE_ERROR:{
|
||||
GError *gerror;
|
||||
|
||||
gchar *debug;
|
||||
|
||||
gst_message_parse_error (message, &gerror, &debug);
|
||||
|
@ -90,15 +89,11 @@ fakesink_handoff (GstElement * object, GstBuffer * buffer, GstPad * pad,
|
|||
GST_START_TEST (test_encode_decode)
|
||||
{
|
||||
GstElement *pipeline;
|
||||
|
||||
GstElement *audiotestsrc, *identity1, *wavpackenc, *identity2, *wavpackdec,
|
||||
*identity3, *fakesink;
|
||||
GstAdapter *srcadapter, *sinkadapter;
|
||||
|
||||
GstBus *bus;
|
||||
|
||||
GMainLoop *loop;
|
||||
|
||||
GstBuffer *in, *out;
|
||||
|
||||
srcadapter = gst_adapter_new ();
|
||||
|
@ -192,7 +187,6 @@ static Suite *
|
|||
wavpack_suite (void)
|
||||
{
|
||||
Suite *s = suite_create ("Wavpack");
|
||||
|
||||
TCase *tc_chain = tcase_create ("linear");
|
||||
|
||||
/* time out after 60s, not the default 3 */
|
||||
|
@ -208,9 +202,7 @@ int
|
|||
main (int argc, char **argv)
|
||||
{
|
||||
int nf;
|
||||
|
||||
Suite *s = wavpack_suite ();
|
||||
|
||||
SRunner *sr = srunner_create (s);
|
||||
|
||||
gst_check_init (&argc, &argv);
|
||||
|
|
Loading…
Reference in a new issue