rtspsrc: do not try to send EOS with invalid seqnum
authorThiago Santos <thiagossantos@gmail.com>
Fri, 3 May 2019 05:14:35 +0000 (22:14 -0700)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Aug 2019 07:49:34 +0000 (08:49 +0100)
commit9ee320f66e2676564040240b2e71c2f30be7cd6f
tree3164e40e4e1d4ec684ca96d15a1e56c0c4c280f9
parent49e87840251fdcac9ffb1ed857410127ad01fc17
rtspsrc: do not try to send EOS with invalid seqnum

The second udpsrc (rtcp) might not have seen the segment event if it was
not enabled or if rtcp is not available on the server. So if the
application tries to send an EOS event it will try to set an invalid
seqnum to the event.
gst/rtsp/gstrtspsrc.c