Commit 9a97de88 authored by Wim Taymans's avatar Wim Taymans

media: add lock to protect state changes

parent 4753588b
This diff is collapsed.
......@@ -116,6 +116,7 @@ struct _GstRTSPMedia {
guint mtu;
GstElement *element;
GRecMutex state_lock;
GPtrArray *streams;
GList *dynamic;
GstRTSPMediaStatus status;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment