gstreamer/girs
Sebastian Dröge 55c961a4dc rtsp-server: media-factory: Make sure a shared media is actually still usable
Previously it was possible that a shared media was just in the process
of being unprepared because the last client disappeared, while another
client retrieved it from the cache and then tried to use it. Unless the
media was reusable this would've then failed unnecessarily.

To avoid this it is necessary to lock the media directly in
gst_rtsp_media_factory_construct() and return a locked media. After
locking the cached media it is necessary to check if the media was ever
unprepared or is actually reusable and based on that either reuse it or
create a new media.

This minimally changes the gst_rtsp_media_factory_construct() API to
always return a locked media, and adds a new
gst_rtsp_media_can_be_shared() function to check if a media can actually
be shared in practice.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4606>
2023-05-19 11:09:48 +00:00
..
CudaGst-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GES-1.0.gir ges: discoverer-manager: Don't mark signals as action signals 2023-05-09 18:19:11 +00:00
Gst-1.0.gir pluginfeature: fix unexpected version check behaviour for git versions 2023-05-02 18:09:42 +00:00
GstAllocators-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstApp-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstAudio-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstBadAudio-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstBadBaseCameraBin-1.0.gir meson: Add CameraBin and Va girs 2023-04-25 02:57:55 +00:00
GstBase-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstCheck-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstCodecs-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstController-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstCuda-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstGL-1.0.gir gl: update docs for mixer move 2023-05-18 19:34:15 +00:00
GstInsertBin-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstMpegts-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstNet-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstPbutils-1.0.gir pbutils: discoverer: Mark gst_discoverer_stream_info_get_stream_id() as nullable 2023-05-08 15:26:58 +03:00
GstPlay-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstPlayer-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstRtp-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstRtsp-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstRtspServer-1.0.gir rtsp-server: media-factory: Make sure a shared media is actually still usable 2023-05-19 11:09:48 +00:00
GstSdp-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstTag-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstTranscoder-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstVa-1.0.gir meson: Add CameraBin and Va girs 2023-04-25 02:57:55 +00:00
GstValidate-1.0.gir validate: Add a way to avoid checking property value after setting it 2023-04-26 00:03:06 +00:00
GstVideo-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstVulkan-1.0.gir girs: update vulkan bindings 2023-05-19 04:26:30 +00:00
GstWebRTC-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00