gstreamer/gst/rtsp-server
Lars Wiréen ae32203cb0 rtsp-media: Fix race codition in finish_unprepare
The previous fix for race condition around finish_unprepare where the
function could be called twice assumed that the status wouldn't change
during execution of the function. This assumption is incorrect as the
state may change, for example if an error message arrives from the
pipeline bus.

Instead a flag keeping track on whether the finish_unprepare function
is currently executing is introduced and checked.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/59
2019-01-25 12:44:23 +00:00
..
.gitignore .gitignore: 0.10 => 0.11 2011-06-07 10:59:03 +02:00
Makefile.am Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
meson.build meson: add new onvif types 2018-11-01 14:20:36 +01:00
rtsp-address-pool.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-address-pool.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-auth.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-auth.h rtsp-auth: Add support for parsing .htdigest files 2018-06-21 15:47:39 +02:00
rtsp-client.c rtsp-stream: use idle source in on_message_sent 2018-10-23 08:18:52 +01:00
rtsp-client.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-context.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-context.h Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-latency-bin.c rtsp-stream: use idle source in on_message_sent 2018-10-23 08:18:52 +01:00
rtsp-latency-bin.h onvif: encapsulate onvif part into a bin 2018-10-03 13:26:36 +03:00
rtsp-media-factory-uri.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-media-factory-uri.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-media-factory.c New property for socket binding to mcast addresses 2018-09-28 13:27:48 +03:00
rtsp-media-factory.h New property for socket binding to mcast addresses 2018-09-28 13:27:48 +03:00
rtsp-media.c rtsp-media: Fix race codition in finish_unprepare 2019-01-25 12:44:23 +00:00
rtsp-media.h New property for socket binding to mcast addresses 2018-09-28 13:27:48 +03:00
rtsp-mount-points.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-mount-points.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-onvif-client.c rtsp: Add support for ONVIF backchannel 2018-02-16 11:04:53 +02:00
rtsp-onvif-client.h Mark all ONVIF-specific subclasses as Since 1.14 2018-11-01 10:23:02 +02:00
rtsp-onvif-media-factory.c rtsp-onvif-media-factory: Document that backchannel pipelines must end with async=false sinks 2018-03-07 12:20:05 +02:00
rtsp-onvif-media-factory.h Mark all ONVIF-specific subclasses as Since 1.14 2018-11-01 10:23:02 +02:00
rtsp-onvif-media.c onvif: encapsulate onvif part into a bin 2018-10-03 13:26:36 +03:00
rtsp-onvif-media.h Mark all ONVIF-specific subclasses as Since 1.14 2018-11-01 10:23:02 +02:00
rtsp-onvif-server.c Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-onvif-server.h Mark all ONVIF-specific subclasses as Since 1.14 2018-11-01 10:23:02 +02:00
rtsp-params.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-params.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-permissions.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-permissions.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-sdp.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-sdp.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-server-object.h rtsp-server: Declare GstRTSPServer struct before anything else 2018-11-01 11:29:01 +02:00
rtsp-server-prelude.h Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-server.c Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-server.h rtsp-server: Declare GstRTSPServer struct before anything else 2018-11-01 11:29:01 +02:00
rtsp-session-media.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-session-media.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-session-pool.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-session-pool.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-session.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-session.h Include ONVIF types from single-include rtsp-server.h 2018-11-01 10:18:22 +02:00
rtsp-stream-transport.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-stream-transport.h Limit queued TCP data messages to one per stream 2018-07-23 17:45:00 +03:00
rtsp-stream.c Add source elements to the pipeline before activation 2018-12-06 08:59:04 +00:00
rtsp-stream.h rtsp-stream: use idle source in on_message_sent 2018-10-23 08:18:52 +01:00
rtsp-thread-pool.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-thread-pool.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00
rtsp-token.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 09:36:21 +01:00
rtsp-token.h rtsp-server: GST_EXPORT -> GST_RTSP_SERVER_API 2018-03-13 13:37:13 +00:00