Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c0ef14244e076bfa3c9ed980bb9f84d4f853906a
      
https://github.com/WebKit/WebKit/commit/c0ef14244e076bfa3c9ed980bb9f84d4f853906a
  Author: Vivienne Watermeier <vwaterme...@igalia.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp
    M Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.h

  Log Message:
  -----------
  [GStreamer][MSE] Assign track indices sequentially by track type
https://bugs.webkit.org/show_bug.cgi?id=287954

Reviewed by Alicia Boya Garcia.

In other words: The first track of a type will always have index 0,
the next of the same type will be assigned 1, and so on.

This:
- matches how MediaPlayerPrivateGStreamer assigns indices
- how {Audio,Video,Text}TrackList stores its tracks
- prevents a potential out-of-bounds crash with inband text tracks, once we 
support those in MSE.

* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to