Branch: refs/heads/webkitglib/2.50
  Home:   https://github.com/WebKit/WebKit
  Commit: f67512b4b56163f138fcd6e67889614025a3fde4
      
https://github.com/WebKit/WebKit/commit/f67512b4b56163f138fcd6e67889614025a3fde4
  Author: Philippe Normand <[email protected]>
  Date:   2026-01-17 (Sat, 17 Jan 2026)

  Changed paths:
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp

  Log Message:
  -----------
  Cherry-pick 305452@main (4071de80710d). 
https://bugs.webkit.org/show_bug.cgi?id=305257

    [GStreamer][MediaStream] Clean internal mediastreamsrc sources only during 
actual disposal
    https://bugs.webkit.org/show_bug.cgi?id=305257

    Reviewed by Xabier Rodriguez-Calvar.

    Clearing the internal sources right after EOS can lead to unsafe usage of 
the underlying appsrc
    elements which haven't been stopped yet. So on EOS, post an empty stream 
collection without
    releasing the sources just yet. They are released when the mediastreamsrc 
element is disposed.

    * 
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
    (webkitMediaStreamSrcCreateStreamCollection):
    (webkitMediaStreamSrcEnsureStreamCollectionPosted):
    (webkitMediaStreamSrcSignalEndOfStream):

    Canonical link: https://commits.webkit.org/305452@main

Canonical link: https://commits.webkit.org/298234.390@webkitglib/2.50



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to