srt: Add a property to disable automatic reconnect
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Tue, 8 Dec 2020 15:55:26 +0000 (16:55 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Nov 2022 22:23:02 +0000 (22:23 +0000)
commit28628a67e57d2a1ab9495f680f2211928887e610
tree1ba4d79a7f7ab236685399be6693b802ce366753
parent40800fa1175c86dd7cbb79466f2cafb413acdb55
srt: Add a property to disable automatic reconnect

This adds a new boolean property `auto-reconnect`, defaulting to `true`.

Setting it to `false` makes the elements (in caller mode) immediately
report an error to the application instead of trying to reconnect.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3326>
subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c
subprojects/gst-plugins-bad/ext/srt/gstsrtobject.h