adapter: Rename functions and implement new functions, update test
authorSebastian Dröge <sebastian@centricular.com>
Tue, 7 Jun 2016 08:32:47 +0000 (11:32 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 10 Jun 2016 06:49:33 +0000 (09:49 +0300)
commit8c7da1d42684b434e7d504dfbbbd0de552d90b02
treed8f91012e524df280e1932e14ccef5a6f82e5c9a
parent67ae0ad22552fd857fdb1fb6a0d7c89791eaa91a
adapter: Rename functions and implement new functions, update test

We don't do calculations with different units (buffer offsets and bytes)
anymore but have functions for:
1) getting the number of bytes since the last discont
2) getting the offset (and pts/dts) at the last discont

and the previously added function to get the last offset and its distance from
the current adapter position.

https://bugzilla.gnome.org/show_bug.cgi?id=766647
docs/libs/gstreamer-libs-sections.txt
libs/gst/base/gstadapter.c
libs/gst/base/gstadapter.h
tests/check/libs/adapter.c
win32/common/libgstbase.def