dashdemux: change bitrates based on the stream bitrate
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 5 Feb 2013 17:22:51 +0000 (14:22 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 21:14:39 +0000 (18:14 -0300)
commit94dcb601278d63e597f4ba426f860030e4dd8513
treee289a6df938bfb77e12725ed9f6b74cbcb3327a8
parent770df6277ae6dbc2a20cdcacb0bf3157df0eda29
dashdemux: change bitrates based on the stream bitrate

Do not use a global bitrate as the sizes of the fragments matter
when calculating the download rate as the connection setup time is
also being taken into the download duration, a smaller fragment
will have a lower bitrate than a larger one.

This avoids switching the bitrates for streams frequently because
of bitrate mismatches
ext/dash/gstdashdemux.c
ext/dash/gstdashdemux.h