rtpsource: refactor bitrate estimation
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 2 Mar 2010 11:39:20 +0000 (12:39 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 8 Mar 2010 16:48:00 +0000 (17:48 +0100)
commitc971d1a9abed161db0f9c619f34592620f6c8621
treec9af75c0da0e125e53d2b4ff0ac5ca4d58f67ad1
parenta0a6d4ff3beb4a037474a31e4608c9ce36522734
rtpsource: refactor bitrate estimation

Don't reuse the same variable we need for stats for the bitrate estimation
because we're updating it.
Refactor the bitrate estimation code so that both sender and receivers use the
same code path.
gst/rtpmanager/rtpsource.c
gst/rtpmanager/rtpsource.h