From 9843562616ed0def7b2b2e914a2da47c5cec17f8 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 3 Jan 2019 14:15:16 +0100 Subject: [PATCH] validate:tests: s/discount_buffer/discont_buffer/ --- validate/tests/check/validate/padmonitor.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/validate/tests/check/validate/padmonitor.c b/validate/tests/check/validate/padmonitor.c index 664b27d..70d1370 100644 --- a/validate/tests/check/validate/padmonitor.c +++ b/validate/tests/check/validate/padmonitor.c @@ -83,7 +83,7 @@ _check_reports_refcount (GstPad * pad, gint refcount) } static GstBuffer * -gst_discount_buffer_new (void) +gst_discont_buffer_new (void) { GstBuffer *buffer = gst_buffer_new (); @@ -125,7 +125,7 @@ GST_START_TEST (buffer_before_segment) { _gst_check_expecting_log = TRUE; fail_unless_equals_int (gst_pad_push (srcpad, - gst_discount_buffer_new ()), GST_FLOW_OK); + gst_discont_buffer_new ()), GST_FLOW_OK); reports = gst_validate_runner_get_reports (runner); assert_equals_int (g_list_length (reports), 1); @@ -139,7 +139,7 @@ GST_START_TEST (buffer_before_segment) { _gst_check_expecting_log = FALSE; gst_check_setup_events (srcpad, sink, NULL, GST_FORMAT_TIME); - fail_unless_equals_int (gst_pad_push (srcpad, gst_discount_buffer_new ()), + fail_unless_equals_int (gst_pad_push (srcpad, gst_discont_buffer_new ()), GST_FLOW_OK); reports = gst_validate_runner_get_reports (runner); assert_equals_int (g_list_length (reports), 1); @@ -209,7 +209,7 @@ GST_START_TEST (buffer_outside_segment) /* Pushing a buffer that is outside the segment */ { - buffer = gst_discount_buffer_new (); + buffer = gst_discont_buffer_new (); GST_BUFFER_PTS (buffer) = 10 * GST_SECOND; GST_BUFFER_DURATION (buffer) = GST_SECOND; fail_unless (gst_pad_push (srcpad, buffer)); @@ -224,7 +224,7 @@ GST_START_TEST (buffer_outside_segment) /* Pushing a buffer inside the segment */ { - fail_unless (gst_pad_push (srcpad, gst_discount_buffer_new ())); + fail_unless (gst_pad_push (srcpad, gst_discont_buffer_new ())); reports = gst_validate_runner_get_reports (runner); assert_equals_int (g_list_length (reports), 1); g_list_free_full (reports, (GDestroyNotify) gst_validate_report_unref); @@ -322,7 +322,7 @@ _test_flow_aggregation (GstFlowReturn flow, GstFlowReturn flow1, pmonitor2->last_flow_return = flow2; FAKE_DEMUXER (demuxer)->return_value = demux_flow; - fail_unless_equals_int (gst_pad_push (srcpad, gst_discount_buffer_new ()), + fail_unless_equals_int (gst_pad_push (srcpad, gst_discont_buffer_new ()), demux_flow); reports = gst_validate_runner_get_reports (runner); @@ -924,7 +924,7 @@ GST_START_TEST (buffer_timestamp_out_of_received_range) fail_unless (gst_pad_push_event (srcpad, gst_event_new_segment (&segment))); { - buffer = gst_discount_buffer_new (); + buffer = gst_discont_buffer_new (); GST_BUFFER_PTS (buffer) = 0 * GST_SECOND; GST_BUFFER_DURATION (buffer) = 0.1 * GST_SECOND; fail_unless (gst_pad_push (srcpad, buffer) == GST_FLOW_OK); @@ -933,7 +933,7 @@ GST_START_TEST (buffer_timestamp_out_of_received_range) decoder_srcpad = gst_element_get_static_pad (decoder, "src"); { - buffer = gst_discount_buffer_new (); + buffer = gst_discont_buffer_new (); GST_BUFFER_PTS (buffer) = 0.9 * GST_SECOND; GST_BUFFER_DURATION (buffer) = 0.1 * GST_SECOND; fail_unless (gst_pad_push (decoder_srcpad, buffer) == GST_FLOW_OK); -- 2.7.4