rtspsrc: Do not overwrite the known duration after a seek
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 9 Apr 2021 21:23:51 +0000 (02:53 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 13 Apr 2021 14:30:54 +0000 (14:30 +0000)
commitfb97ca94587f6396e7d2a3c54b7967ee5e641ce4
tree36e9d0cc316ac88040935f7399533071aba3047e
parent99ee5fb2d96ee5eaa1d81a05a968a2c92051bde6
rtspsrc: Do not overwrite the known duration after a seek

This breaks the duration query and also the seeking query.

Broke in 5f1a732bc7b76a6f1b8aa5f26b6e76fbca0261c7

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/940>
gst/rtsp/gstrtspsrc.c