Title: [270039] trunk/Source/WebCore
- Revision
- 270039
- Author
- [email protected]
- Date
- 2020-11-19 11:40:45 -0800 (Thu, 19 Nov 2020)
Log Message
[GStreamer] Fix OptionSet initialization after r270019
Unreviewed.
The OptionSet constructor was asserting when used directly with
ElementFactories::Type::All.
Based on original patch by Philippe Normand.
* platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::GStreamerRegistryScanner):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (270038 => 270039)
--- trunk/Source/WebCore/ChangeLog 2020-11-19 18:49:36 UTC (rev 270038)
+++ trunk/Source/WebCore/ChangeLog 2020-11-19 19:40:45 UTC (rev 270039)
@@ -1,3 +1,17 @@
+2020-11-19 Lauro Moura <[email protected]>
+
+ [GStreamer] Fix OptionSet initialization after r270019
+
+ Unreviewed.
+
+ The OptionSet constructor was asserting when used directly with
+ ElementFactories::Type::All.
+
+ Based on original patch by Philippe Normand.
+
+ * platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
+ (WebCore::GStreamerRegistryScanner::GStreamerRegistryScanner):
+
2020-11-19 Chris Dumez <[email protected]>
Worklet.addModule() should reject promise with an AbortError when the network load fails
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp (270038 => 270039)
--- trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp 2020-11-19 18:49:36 UTC (rev 270038)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp 2020-11-19 19:40:45 UTC (rev 270039)
@@ -176,7 +176,7 @@
{
GST_DEBUG_CATEGORY_INIT(webkit_media_gst_registry_scanner_debug, "webkitregistryscanner", 0, "WebKit GStreamer registry scanner");
- ElementFactories factories(ElementFactories::Type::All);
+ ElementFactories factories(OptionSet<ElementFactories::Type>::fromRaw(static_cast<unsigned>(ElementFactories::Type::All)));
initializeDecoders(factories);
initializeEncoders(factories);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes