[GStreamer][MSE] Add missing lock around getStreamByTrackId
[WebKit-https.git] / Source / WebCore / ChangeLog
index 501800fb4c5e65054faf52755c085163173cbbdd..4ead7c8f9807b19425253f1bff471287e767a5fd 100644 (file)
@@ -1,3 +1,17 @@
+2017-08-09  Charlie Turner  <cturner@igalia.com>
+
+        [GStreamer][MSE] Add missing lock around getStreamByTrackId
+        https://bugs.webkit.org/show_bug.cgi?id=175323
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        Covered by existing tests.
+
+        * platform/graphics/gstreamer/mse/PlaybackPipeline.cpp:
+        (WebCore::PlaybackPipeline::enqueueSample): Ensure the media source
+        lock is taken before modifiying the track queues indirectly via the
+        iterator use in getTrackId.
+
 2017-08-09  Daniel Bates  <dabates@apple.com>
 
         REGRESSION (r219013): OAuth flows are broken when redirecting back to application after authentication