<table><tr><td style="">romangg 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><p>I tried this patch on Neon with FFmpeg 2.8.14.</p>

<p>KFileMetaData builds now because it detects that the FFmpeg module version numbers are too low.</p>

<p>CMake log: <a href="https://phabricator.kde.org/P230" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">P230</a></p>

<p>Few remarks:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">In the log it says 3 times <tt style="background: #ebebeb; font-size: 13px;">Could NOT find FFmpeg (missing:  HAVE_AVSTREAM_CODECPAR) (Required is at least version "<version number>")</tt> with <tt style="background: #ebebeb; font-size: 13px;"><version number></tt> being different values.</li>
<li class="remarkup-list-item">In the log it shows now nowhere 2.8.14 for FFmpeg anymore. In the end it falsely says: <tt style="background: #ebebeb; font-size: 13px;">FFmpeg (required version >= 55.27)</tt></li>
<li class="remarkup-list-item">Instead of building on Neon without FFmpeg support KFileMetaData should just fall back to using the deprecated function name <tt style="background: #ebebeb; font-size: 13px;">AVCodecContext</tt> or better we should revert <a href="https://phabricator.kde.org/R286:037208a787e0c2412ab616ff1573c323a2346d2d" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">037208a787e0</a> and <a href="https://phabricator.kde.org/R286:3415015e3d45ce485c5cdb1bc47698729deb8d98" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">3415015e3d45</a> as long as Neon is not with FFmpeg >= 3.1 (but improving the FFmpeg version detection as tried with this patch here would still be good of course).</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R286 KFileMetaData</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>To: </strong>mgallien, romangg, adridg<br /><strong>Cc: </strong>kde-frameworks-devel, Baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns<br /></div>