rtpbasedepayload: Add max-reorder property
authorStian Selnes <stian@pexip.com>
Thu, 13 Jun 2019 08:36:05 +0000 (10:36 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 13 Jun 2019 16:41:11 +0000 (19:41 +0300)
commiteaade964092b1dc35f2a1fd9a38b85bbec62a9a5
tree69f957aad1a4563645a0a7eac676182c24250ac8
parentbb1650cfda6c78edafa1d04929b13cba9c9842c0
rtpbasedepayload: Add max-reorder property

Add max-reorder property to make the old hard coded reordering limit of
100 configurable. It's particularly useful in some scenarios to set
max-reorder=0 to disable the behavior that the depayloader will drop
packets.

Note that although the default value is 100, the default limit has
increased with one because of the changed if-test. This was done to
allow the max-reorder value to be more intuitive. See tests.
gst-libs/gst/rtp/gstrtpbasedepayload.c
tests/check/libs/rtpbasedepayload.c