gstreamer/tests/check/libs
Edward Hervey 67ae0ad225 adapter: Add methods to query current offset
API: gst_buffer_prev_offset
API: gst_buffer_get_offset_from_discont

The gst_buffer_get_offset_from_discont() method allows retrieving the current
offset based on the GST_BUFFER_OFFSET of the buffers that were pushed in.

The offset will be set initially by the GST_BUFFER_OFFSET of
DISCONT buffers, and then incremented by the sizes of the following
buffers.

The gst_buffer_prev_offset() method allows retrievent the previous
GST_BUFFER_OFFSET regardless of flags. It works in the same way as
the other gst_buffer_prev_*() methods.

https://bugzilla.gnome.org/show_bug.cgi?id=766647
2016-06-10 09:49:33 +03:00
..
.gitignore tests: ignore new harness test binary 2015-08-11 11:09:24 +01:00
adapter.c adapter: Add methods to query current offset 2016-06-10 09:49:33 +03:00
baseparse.c tests: baseparse: make work with CK_FORK=no 2016-04-11 10:44:22 +01:00
basesink.c basesink: Add test for checking that EOS always comes after the state change to PLAYING 2014-05-01 20:11:04 +02:00
basesrc.c basesrc-test: Fix race testing segment update 2015-08-20 07:49:02 -07:00
bitreader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bitreader.c Fix FSF address 2012-11-03 20:44:48 +00:00
bytereader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytereader.c tests: fix out-of-bounds memory access in bytereader unit test 2014-10-30 23:16:54 +00:00
bytewriter-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytewriter.c Fix FSF address 2012-11-03 20:44:48 +00:00
collectpads.c tests: collectpads: fix for CK_FORK=no 2016-04-10 20:57:55 +01:00
controller.c controller: Added absolute direct control binding, example and test 2015-06-12 10:07:24 +02:00
flowcombiner.c flowcombiner: add a gst_flow_combiner_clear() method 2014-09-25 15:40:42 +01:00
gstharness.c tests: fix indentation 2016-02-19 14:41:55 +00:00
gstlibscpp.cc tests: Add C++ tests for the other INIT macros we have 2016-04-07 20:29:10 +03:00
gstnetclientclock.c tests: make netclientclock test faster and less flaky 2014-03-23 12:55:22 +00:00
gstnettimeprovider.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttestclock.c testclock: add crank method 2016-02-12 17:08:32 +00:00
libsabi.c tests: fix ABI check struct sizes for ARM 2013-01-17 09:27:48 +00:00
queuearray.c tests: add unit test for queuearray expansion from 1 2014-06-07 09:46:42 +01:00
sparsefile.c sparsefile: Initialize memory in unit test to make valgrind happy 2014-06-29 19:16:05 +02:00
struct_arm.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_hppa.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_i386.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc32.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_sparc.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_x86_64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
test_transform.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
transform1.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
transform2.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
typefindhelper.c Fix FSF address 2012-11-03 20:44:48 +00:00