rtsp-client: Store the timeout source by pointer instead of id
authorSebastian Dröge <sebastian@centricular.com>
Tue, 28 Apr 2020 20:33:49 +0000 (23:33 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 28 Apr 2020 20:33:49 +0000 (23:33 +0300)
commite7802c1be78f42d9f311c8332a25ca3fb33e6232
tree6bb56f6f09a3bcc0ea0b5c067dd20af80a8dd382
parent4188dbb99bd11807a6ee6e091a0eaa81ae08f066
rtsp-client: Store the timeout source by pointer instead of id

That way we don't have to retrieve it again from the main context when
destroying it but can directly do so.

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