EricssonResearch / openwebrtc-gst-plugins

OpenWebRTC specific GStreamer plugins
BSD 2-Clause "Simplified" License
51 stars 46 forks source link

Fix state transition. #63

Closed sancane closed 7 years ago

sancane commented 7 years ago

State changes should be handled in two separate blocks with the downwards state change handled only after we have chained up to the parent class's state change function. This is necessary in order to safely handle concurrent access by multiple threads. More details here: https://gstreamer.freedesktop.org/documentation/plugin-development/basics/states.html