Changeset 270039 in webkit


Ignore:
Timestamp:
Nov 19, 2020 11:40:45 AM (3 years ago)
Author:
Lauro Moura
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r270033 r270039  
     12020-11-19  Lauro Moura  <lmoura@igalia.com>
     2
     3        [GStreamer] Fix OptionSet initialization after r270019
     4
     5        Unreviewed.
     6
     7        The OptionSet constructor was asserting when used directly with
     8        ElementFactories::Type::All.
     9
     10        Based on original patch by Philippe Normand.
     11
     12        * platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
     13        (WebCore::GStreamerRegistryScanner::GStreamerRegistryScanner):
     14
    1152020-11-19  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp

    r270019 r270039  
    177177    GST_DEBUG_CATEGORY_INIT(webkit_media_gst_registry_scanner_debug, "webkitregistryscanner", 0, "WebKit GStreamer registry scanner");
    178178
    179     ElementFactories factories(ElementFactories::Type::All);
     179    ElementFactories factories(OptionSet<ElementFactories::Type>::fromRaw(static_cast<unsigned>(ElementFactories::Type::All)));
    180180    initializeDecoders(factories);
    181181    initializeEncoders(factories);
Note: See TracChangeset for help on using the changeset viewer.