baseparse: add timestamp handling, and default conversion
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 23 Nov 2009 14:48:25 +0000 (15:48 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:06:59 +0000 (18:06 +0100)
commitb766e405b302a50786d5d3877fc8c4b1ef0a8aac
tree3db3526f766a8517c8cb319f1eecad7bef84501a
parentcc203d72197041815af95a5b575bc312f1783e59
baseparse: add timestamp handling, and default conversion

In particular, (optionally) provide baseparse with a notion of frames per second
(and therefore also frame duration) and have it track frame and byte counts.
This way, subclass can provide baseparse with fps and have it provide default
buffer time metadata and conversions, though subclass can still install
callbacks to handle such itself.
gst/aacparse/gstbaseparse.c
gst/aacparse/gstbaseparse.h