rtsp-media: Unprepare suspended medias too
authorSebastian Dröge <sebastian@centricular.com>
Thu, 7 Oct 2021 10:00:10 +0000 (13:00 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 7 Oct 2021 11:16:39 +0000 (11:16 +0000)
commit14d636b224f3f00779ccb165750c29f8b69eb34d
treedc5212f3ea6994a3a6813b0f7c04dacc70247658
parent314901a208366863817961097a8c7838e08ea619
rtsp-media: Unprepare suspended medias too

Previously suspended medias immediately reached the UNPREPARED state
without going through the media's unprepare() vfunc. This didn't allow
the media subclass to do any additional cleanup, and for example the
shutdown-eos property of GstRTSPMedia was ignored.

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