Changeset 268590 in webkit
- Timestamp:
- Oct 16, 2020 8:22:48 AM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r268587 r268590 1 2020-10-16 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] Remove unused ElementType values from the registry scanner 4 https://bugs.webkit.org/show_bug.cgi?id=217824 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 r268576 introduced new values in the ElementType enum but they were unused and introduced 9 inconsistency in in fillMimeTypeSetFromCapsMapping(). If this function needs to be used for 10 encoding configurations it will need to be refactored but that's not a scenario I foresee, 11 so for now, remove unused enum values. 12 13 * platform/graphics/gstreamer/GStreamerRegistryScanner.cpp: 14 (WebCore::GStreamerRegistryScanner::fillMimeTypeSetFromCapsMapping): 15 * platform/graphics/gstreamer/GStreamerRegistryScanner.h: 16 1 17 2020-10-16 Michael Catanzaro <mcatanzaro@gnome.org> 2 18 -
trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
r268586 r268590 182 182 factories = m_videoDecoderFactories; 183 183 break; 184 case Muxer:185 case AudioEncoder:186 case VideoEncoder:187 // This method is currently used only for Decoders and Demuxers.188 ASSERT_NOT_REACHED();189 return;190 184 } 191 185 -
trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h
r268576 r268590 73 73 AudioDecoder = 0, 74 74 VideoDecoder, 75 Demuxer, 76 AudioEncoder, 77 VideoEncoder, 78 Muxer 75 Demuxer 79 76 }; 77 80 78 struct GstCapsWebKitMapping { 81 79 ElementType elementType;
Note: See TracChangeset
for help on using the changeset viewer.