Skip to content
  • Tim-Philipp Müller's avatar
    rtspconnection: make gst_rtsp_watch_queue_message() thread-safe · fc8c5cba
    Tim-Philipp Müller authored
    People might queue messages from a thread other than the thread in which
    the main context which this watch is attached is iterated from, so use
    a GAsyncQueue instead of a GList, so g_list_append() doesn't trample
    over list nodes just freed in the other thread. This just fixes issues
    I've had with gst-rtsp-server. We might need more locking in various
    places here.
    fc8c5cba