Lines Matching refs:inbuffer
294 GstBuffer *inbuffer; in GST_START_TEST() local
309 inbuffer = gst_buffer_new_and_alloc (0); in GST_START_TEST()
310 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
315 fail_unless_equals_int (gst_pad_push (mydecsrcpad, inbuffer), GST_FLOW_ERROR); in GST_START_TEST()
332 GstBuffer *inbuffer; in GST_START_TEST() local
346 inbuffer = in GST_START_TEST()
348 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
349 gst_buffer_ref (inbuffer); in GST_START_TEST()
353 fail_unless (gst_pad_push (mydecsrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
355 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
356 gst_buffer_unref (inbuffer); in GST_START_TEST()
359 inbuffer = in GST_START_TEST()
361 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
362 gst_buffer_ref (inbuffer); in GST_START_TEST()
365 fail_unless (gst_pad_push (mydecsrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
367 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
368 gst_buffer_unref (inbuffer); in GST_START_TEST()
436 GstBuffer *inbuffer; in GST_START_TEST() local
446 inbuffer = gst_buffer_new_and_alloc (0); in GST_START_TEST()
447 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
449 GST_BUFFER_DURATION (inbuffer) = 5 * GST_SECOND; in GST_START_TEST()
450 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
459 fail_unless (gst_pad_push (myencsrcpad, inbuffer) == GST_FLOW_ERROR); in GST_START_TEST()
479 GstBuffer *inbuffer; in GST_START_TEST() local
492 inbuffer = gst_buffer_new_memdup (test_string, strlen (test_string) + 1); in GST_START_TEST()
494 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
496 GST_BUFFER_DURATION (inbuffer) = 5 * GST_SECOND; in GST_START_TEST()
497 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
503 gst_buffer_ref (inbuffer); in GST_START_TEST()
507 fail_unless_equals_int (gst_pad_push (myencsrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
509 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
510 gst_buffer_unref (inbuffer); in GST_START_TEST()
533 GstBuffer *inbuffer; in GST_START_TEST() local
545 inbuffer = gst_buffer_new_memdup (kate_spu, sizeof (kate_spu)); in GST_START_TEST()
547 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
549 GST_BUFFER_DURATION (inbuffer) = 5 * GST_SECOND; in GST_START_TEST()
550 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
556 gst_buffer_ref (inbuffer); in GST_START_TEST()
560 fail_unless_equals_int (gst_pad_push (myencsrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
562 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
563 gst_buffer_unref (inbuffer); in GST_START_TEST()
652 GstBuffer *inbuffer; in test_kate_send_headers() local
662 inbuffer = in test_kate_send_headers()
664 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
665 fail_unless_equals_int (gst_pad_push (pad, inbuffer), GST_FLOW_OK); in test_kate_send_headers()
667 inbuffer = in test_kate_send_headers()
669 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
670 fail_unless_equals_int (gst_pad_push (pad, inbuffer), GST_FLOW_OK); in test_kate_send_headers()
673 inbuffer = in test_kate_send_headers()
675 fail_if (gst_buffer_map (inbuffer, &info, GST_MAP_WRITE) != TRUE); in test_kate_send_headers()
677 gst_buffer_unmap (inbuffer, &info); in test_kate_send_headers()
678 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
679 fail_unless_equals_int (gst_pad_push (pad, inbuffer), GST_FLOW_OK); in test_kate_send_headers()
682 inbuffer = in test_kate_send_headers()
684 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
685 fail_unless_equals_int (gst_pad_push (pad, inbuffer), GST_FLOW_OK); in test_kate_send_headers()
691 GstBuffer *inbuffer; in GST_START_TEST() local
705 inbuffer = in GST_START_TEST()
707 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
709 GST_BUFFER_DURATION (inbuffer) = 5 * GST_SECOND; in GST_START_TEST()
710 GST_BUFFER_OFFSET_END (inbuffer) = (GST_BUFFER_TIMESTAMP (inbuffer) << 32); /* granpos */ in GST_START_TEST()
711 fail_unless_equals_int (gst_pad_push (myparsesrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
714 inbuffer = in GST_START_TEST()
716 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
718 GST_BUFFER_DURATION (inbuffer) = 0; in GST_START_TEST()
719 GST_BUFFER_OFFSET_END (inbuffer) = (GST_BUFFER_TIMESTAMP (inbuffer) << 32); /* granpos */ in GST_START_TEST()
720 fail_unless_equals_int (gst_pad_push (myparsesrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()