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