mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
parent
06c2987d38
commit
231d4d9bdc
1 changed files with 3 additions and 0 deletions
|
@ -2258,6 +2258,9 @@ refuse_renegotiation:
|
||||||
static guint32
|
static guint32
|
||||||
adjust_rate (guint64 rate)
|
adjust_rate (guint64 rate)
|
||||||
{
|
{
|
||||||
|
if (rate == 0)
|
||||||
|
return 10000;
|
||||||
|
|
||||||
while (rate >= 10000)
|
while (rate >= 10000)
|
||||||
rate /= 10;
|
rate /= 10;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue