rtsp-media: Improve skipping trickmode seek.
authorDoug Nazar <nazard@nazar.ca>
Fri, 16 Apr 2021 18:35:02 +0000 (14:35 -0400)
committerDoug Nazar <nazard@nazar.ca>
Tue, 20 Apr 2021 21:31:53 +0000 (17:31 -0400)
commit7cbc183044c04dd14a099de8e12479da21ae0087
tree517fcf2dd31532d771d4670ee3c3d14e79a11a42
parent747eaf3634062df850955833299182c4ada97390
rtsp-media: Improve skipping trickmode seek.

We can also skip the seek if the end range is already
correct.

Avoids initial seek on play start if playing full stream.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/194>
gst/rtsp-server/rtsp-media.c