D20138: Add a helper to determine actual supported parent mime type
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Sun Mar 31 03:15:02 BST 2019
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, ngraham, astippich.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
The ExtractorCollection::fetchExtractors method falls back to ancestor
mime types in case a type is not supported directly. For most extractors
this is no problem, as these ignore the passed in mime type and rely
on the backing library to figure out the type, while the taglibextractor
requires one of the supported (container) types.
For most cases the input type is returned, but it falls back to
inheritance, matching the logic from ExtractorCollection::fetchExtractors.
REPOSITORY
R286 KFileMetaData
BRANCH
submit2
REVISION DETAIL
https://phabricator.kde.org/D20138
AFFECTED FILES
src/extractionresult.h
src/extractorplugin.cpp
src/extractorplugin.h
To: bruns, #baloo, #frameworks, ngraham, astippich
Cc: kde-frameworks-devel, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190331/8bb9dd0e/attachment.html>
More information about the Kde-frameworks-devel
mailing list