rtspsrc: fix requested range
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 11 Feb 2020 20:52:41 +0000 (21:52 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 12 Feb 2020 05:47:54 +0000 (05:47 +0000)
commit1471100f37b6cf2382baaecb9d79f86260006829
tree79867c91e8974a7e211c211a775631026ba2a2e7
parent57b0522cd7ced4f7f990c0924d54d4184aad9bd0
rtspsrc: fix requested range

When the server replies with a range "now-", it is presumed to
be a "live" stream and we should request a similar range.

This was the case prior to my refactoring to make use of
gst_rtsp_range_to_string in 5f1a732bc7b76a6f1b8aa5f26b6e76fbca0261c7,
this commit restores the behaviour for that case.
gst/rtsp/gstrtspsrc.c