Lines Matching refs:input1
1399 check_output (const gchar * location, struct TestInputData *input1, in check_output() argument
1404 struct TestInputData *inputs[2] = { input1, input2 }; in check_output()
1434 run_muxing_test (struct TestInputData *input1, struct TestInputData *input2) in run_muxing_test() argument
1452 input1->srcpad = setup_src_pad (qtmux, &srcvideorawtemplate, "video_%u"); in run_muxing_test()
1453 fail_unless (input1->srcpad != NULL); in run_muxing_test()
1454 gst_pad_set_active (input1->srcpad, TRUE); in run_muxing_test()
1467 input1->thread = in run_muxing_test()
1468 g_thread_new ("test-push-data-1", test_input_push_data, input1); in run_muxing_test()
1472 g_thread_join (input1->thread); in run_muxing_test()
1474 input1->thread = NULL; in run_muxing_test()
1485 check_output (location, input1, input2); in run_muxing_test()
1488 test_input_data_clean (input1); in run_muxing_test()
1499 struct TestInputData input1, input2; in GST_START_TEST() local
1502 test_input_data_init (&input1); in GST_START_TEST()
1507 input1.input = NULL; in GST_START_TEST()
1508 input1.input = in GST_START_TEST()
1509 g_list_append (input1.input, gst_event_new_stream_start ("test-1")); in GST_START_TEST()
1513 input1.input = g_list_append (input1.input, gst_event_new_caps (caps)); in GST_START_TEST()
1515 gst_segment_init (&input1.segment, GST_FORMAT_TIME); in GST_START_TEST()
1516 input1.input = in GST_START_TEST()
1517 g_list_append (input1.input, gst_event_new_segment (&input1.segment)); in GST_START_TEST()
1518 input1.input = in GST_START_TEST()
1519 g_list_append (input1.input, create_buffer (0, GST_CLOCK_TIME_NONE, in GST_START_TEST()
1521 input1.input = in GST_START_TEST()
1522 g_list_append (input1.input, create_buffer (1 * GST_SECOND, in GST_START_TEST()
1524 input1.input = in GST_START_TEST()
1525 g_list_append (input1.input, create_buffer (2 * GST_SECOND, in GST_START_TEST()
1527 input1.input = g_list_append (input1.input, gst_event_new_eos ()); in GST_START_TEST()
1548 run_muxing_test (&input1, &input2); in GST_START_TEST()
1556 struct TestInputData input1, input2; in GST_START_TEST() local
1559 test_input_data_init (&input1); in GST_START_TEST()
1564 input1.input = NULL; in GST_START_TEST()
1565 input1.input = in GST_START_TEST()
1566 g_list_append (input1.input, gst_event_new_stream_start ("test-1")); in GST_START_TEST()
1570 input1.input = g_list_append (input1.input, gst_event_new_caps (caps)); in GST_START_TEST()
1572 gst_segment_init (&input1.segment, GST_FORMAT_TIME); in GST_START_TEST()
1573 input1.segment.start = 10 * GST_SECOND; in GST_START_TEST()
1574 input1.input = in GST_START_TEST()
1575 g_list_append (input1.input, gst_event_new_segment (&input1.segment)); in GST_START_TEST()
1576 input1.input = in GST_START_TEST()
1577 g_list_append (input1.input, create_buffer (10 * GST_SECOND, in GST_START_TEST()
1579 input1.input = in GST_START_TEST()
1580 g_list_append (input1.input, create_buffer (11 * GST_SECOND, in GST_START_TEST()
1582 input1.input = in GST_START_TEST()
1583 g_list_append (input1.input, create_buffer (12 * GST_SECOND, in GST_START_TEST()
1585 input1.input = g_list_append (input1.input, gst_event_new_eos ()); in GST_START_TEST()
1586 input1.ts_offset = GST_SECOND * 10; in GST_START_TEST()
1610 run_muxing_test (&input1, &input2); in GST_START_TEST()
1618 struct TestInputData input1, input2; in GST_START_TEST() local
1621 test_input_data_init (&input1); in GST_START_TEST()
1626 input1.input = NULL; in GST_START_TEST()
1627 input1.input = in GST_START_TEST()
1628 g_list_append (input1.input, gst_event_new_stream_start ("test-1")); in GST_START_TEST()
1632 input1.input = g_list_append (input1.input, gst_event_new_caps (caps)); in GST_START_TEST()
1634 gst_segment_init (&input1.segment, GST_FORMAT_TIME); in GST_START_TEST()
1635 input1.segment.start = 5 * GST_SECOND; in GST_START_TEST()
1636 input1.input = in GST_START_TEST()
1637 g_list_append (input1.input, gst_event_new_segment (&input1.segment)); in GST_START_TEST()
1638 input1.input = in GST_START_TEST()
1639 g_list_append (input1.input, create_buffer (5 * GST_SECOND, in GST_START_TEST()
1641 input1.input = in GST_START_TEST()
1642 g_list_append (input1.input, create_buffer (6 * GST_SECOND, in GST_START_TEST()
1644 input1.input = in GST_START_TEST()
1645 g_list_append (input1.input, create_buffer (7 * GST_SECOND, in GST_START_TEST()
1647 input1.input = g_list_append (input1.input, gst_event_new_eos ()); in GST_START_TEST()
1648 input1.ts_offset = GST_SECOND * 5; in GST_START_TEST()
1672 run_muxing_test (&input1, &input2); in GST_START_TEST()
1679 struct TestInputData input1, input2; in GST_START_TEST() local
1682 test_input_data_init (&input1); in GST_START_TEST()
1687 input1.input = NULL; in GST_START_TEST()
1688 input1.input = in GST_START_TEST()
1689 g_list_append (input1.input, gst_event_new_stream_start ("test-1")); in GST_START_TEST()
1694 input1.input = g_list_append (input1.input, gst_event_new_caps (caps)); in GST_START_TEST()
1696 gst_segment_init (&input1.segment, GST_FORMAT_TIME); in GST_START_TEST()
1697 input1.segment.start = 1 * GST_SECOND; in GST_START_TEST()
1698 input1.input = in GST_START_TEST()
1699 g_list_append (input1.input, gst_event_new_segment (&input1.segment)); in GST_START_TEST()
1700 input1.input = in GST_START_TEST()
1701 g_list_append (input1.input, create_buffer (1 * GST_SECOND, in GST_START_TEST()
1703 input1.input = in GST_START_TEST()
1704 g_list_append (input1.input, create_buffer (2 * GST_SECOND, in GST_START_TEST()
1706 input1.input = in GST_START_TEST()
1707 g_list_append (input1.input, create_buffer (3 * GST_SECOND, in GST_START_TEST()
1709 input1.input = g_list_append (input1.input, gst_event_new_eos ()); in GST_START_TEST()
1713 test_input_pop_segment_start (&input1); in GST_START_TEST()
1714 test_input_push_segment_start (&input1, GST_SECOND); in GST_START_TEST()
1736 run_muxing_test (&input1, &input2); in GST_START_TEST()
1743 struct TestInputData input1, input2; in GST_START_TEST() local
1746 test_input_data_init (&input1); in GST_START_TEST()
1751 input1.input = NULL; in GST_START_TEST()
1752 input1.input = in GST_START_TEST()
1753 g_list_append (input1.input, gst_event_new_stream_start ("test-1")); in GST_START_TEST()
1758 input1.input = g_list_append (input1.input, gst_event_new_caps (caps)); in GST_START_TEST()
1760 gst_segment_init (&input1.segment, GST_FORMAT_TIME); in GST_START_TEST()
1761 input1.input = in GST_START_TEST()
1762 g_list_append (input1.input, gst_event_new_segment (&input1.segment)); in GST_START_TEST()
1764 input1.input = in GST_START_TEST()
1765 g_list_append (input1.input, gst_event_new_segment (&input1.segment)); in GST_START_TEST()
1766 input1.input = in GST_START_TEST()
1767 g_list_append (input1.input, create_buffer (1 * GST_SECOND, in GST_START_TEST()
1769 input1.input = in GST_START_TEST()
1770 g_list_append (input1.input, create_buffer (2 * GST_SECOND, in GST_START_TEST()
1772 input1.input = in GST_START_TEST()
1773 g_list_append (input1.input, create_buffer (3 * GST_SECOND, in GST_START_TEST()
1775 input1.input = g_list_append (input1.input, gst_event_new_eos ()); in GST_START_TEST()
1778 input1.expected_gap_duration = GST_SECOND; in GST_START_TEST()
1781 test_input_push_segment_start (&input1, GST_SECOND); in GST_START_TEST()
1803 run_muxing_test (&input1, &input2); in GST_START_TEST()
1805 fail_unless (input1.gap_received); in GST_START_TEST()