Commit 0cbf052
committed
REGRESSION(295500@main): [GStreamer] Assert when running http/tests/media/video-cross-site.html https://bugs.webkit.org/show_bug.cgi?id=294251
Reviewed by Xabier Rodriguez-Calvar.
Initialize Thunder key systems within the CDMFactory constructor, which is first called from
GStreamerCommon's initialization and make the supportedKeySystems() callable from non-main thread.
* Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp:
(WebCore::CDMFactoryThunder::CDMFactoryThunder):
(WebCore::CDMFactoryThunder::supportedKeySystems const):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.h:
Canonical link: https://commits.webkit.org/296122@main1 parent 0b254ee commit 0cbf052
2 files changed
Lines changed: 17 additions & 15 deletions
Lines changed: 15 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
133 | 129 | | |
134 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments