<table><tr><td style="">mgallien updated this revision to Diff 35712.<br />mgallien added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13302">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">checks if FFmpeg provides the new API and use it only in this case</li>
</ul>

<p>extend the existing configure header to allow to compile both versions of the code in the FFmpeg extractor</p>

<p>in case the new API exists, we prefer it and we also support compilation with the old one</p>

<p>kelpt the code checking for the new versions even we do not know how to properly check for it (pkg-config is only used to get an hint before searching headers and libraries and only on platforms with pkg-config)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R286 KFileMetaData</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D13302?vs=35457&id=35712">https://phabricator.kde.org/D13302?vs=35457&id=35712</a></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13302">https://phabricator.kde.org/D13302</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
cmake/FindFFmpeg.cmake<br />
src/config-kfilemetadata.h.in<br />
src/extractors/CMakeLists.txt<br />
src/extractors/ffmpegextractor.cpp</div></div></div><br /><div><strong>To: </strong>mgallien, romangg, adridg<br /><strong>Cc: </strong>kde-frameworks-devel, Baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns<br /></div>