-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path0022-webkitgtk-fixes.patch
19 lines (19 loc) · 1023 Bytes
/
0022-webkitgtk-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- buildroot/package/webkitgtk/0000-mediasourceprivategstreamer.patch.orig
+++ buildroot/package/webkitgtk/0000-mediasourceprivategstreamer.patch
@@ -0,0 +1,16 @@
+--- a/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.h 2024-11-26 10:32:28.891127800 +0100
++++ b/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.h 2025-03-22 23:38:07.716515423 +0100
+@@ -94,12 +94,12 @@
+ Ref<const Logger> m_logger;
+ const void* m_logIdentifier;
+ uint64_t m_nextSourceBufferID { 0 };
++#endif
+
+ // Stores known track IDs, so we can work around ID collisions between multiple source buffers.
+ // The registry is placed here to enforce ID uniqueness specifically by player, not by process,
+ // since its not an issue if multiple players use the same ID, and we want to preserve IDs as much as possible.
+ HashSet<TrackID, WTF::IntHash<TrackID>, WTF::UnsignedWithZeroKeyHashTraits<TrackID>> m_trackIdRegistry;
+-#endif
+ };
+
+ } // namespace WebCore