basedepayload: do not create segment in onvif mode
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 12 Jul 2019 14:56:52 +0000 (16:56 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 18 Jul 2019 15:54:04 +0000 (17:54 +0200)
commitc854c270be59e21b7c007163ab378972d17cf40d
tree6a42f44098bd23b735888ca64419e7888bac79d7
parent1ec112317843696464bb2f36bbe8e52c4c989aa7
basedepayload: do not create segment in onvif mode

basedepayload generates its own segment in a pretty unconventional
manner, relying on information in the caps such as npt-start or
npt-stop, usually set by rtspsrc.

In ONVIF mode, rtspsrc will generate the correct segment and this
logic in rtpbasedepayload will not be needed, this commit allows
rtspsrc to signal that through the caps.
gst-libs/gst/rtp/gstrtpbasedepayload.c