D20121: Test ffmpeg extractor using mime type helper
Stefan Brüns
noreply at phabricator.kde.org
Sat Mar 30 15:48:21 GMT 2019
bruns added inline comments.
INLINE COMMENTS
> ffmpegextractortest.cpp:27
> #include <QTest>
> +//#include <QDebug>
>
remove comment
> astippich wrote in ffmpegextractor.cpp:64
> This is quite specific to the codec. ExtractorCollection should handle this case I think (mime type of file is more specific than in the mime type list), but I added it nevertheless.
I am somewhat undecided on this one:
The ffmpeg extractor leaves the handling of different types completely to libav (contrary to e.g. taglib, where each type is handled explicitly). So just defaulting to video/ogg already covers theora, and many more.
I think it is better to test this in e.g. the extractorcollectiontest, and remove the QVERIFY for the mimetypes().contains().
REPOSITORY
R286 KFileMetaData
REVISION DETAIL
https://phabricator.kde.org/D20121
To: astippich, bruns
Cc: kde-frameworks-devel, #baloo, 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/20190330/bf1e38e0/attachment.html>
More information about the Kde-frameworks-devel
mailing list