audiortppay: handle gaps
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 3 Sep 2009 15:53:47 +0000 (17:53 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 3 Sep 2009 15:59:00 +0000 (17:59 +0200)
commitc1db9ebb20a8907ca3c411e4534dc969a335e400
tree0e0fbf061433a910f04d0cc0ef43999b2410b6c8
parent3a3c6f309c6b4da41a8e752310cdde8cfa80573c
audiortppay: handle gaps

Add various conversion functions between time<->bytes<->rtptime that will be
used later on.
Refactor the min/max packet length code so that it can be used for both
sample/frame based payloaders. Cache the returned values.
code cleanups.
When we discover a DISCONT buffer, make the outgoing RTP timestamps have the
same gap as the GStreamer timestamps gap.
gst-libs/gst/rtp/gstbasertpaudiopayload.c