[Pkg-chromium-maint] Bug#763632: chromium: use system FFmpeg instead of embedded code copy

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Jul 26 15:46:26 UTC 2015


Control: severity -1 important
Control: tags -1 patch

Hi,

FFmpeg was chosen to replace Libav in Debian [1].
Thus it will be in the next stable release and chromium should use the
system libraries instead of the embedded code copy of FFmpeg.

This embedded code copy is currently based on a git snapshot from
sometime between 2.5 and 2.6 and therefore missing the latest fixes
present in the system FFmpeg 2.7.2.

Fortunately chromium stopped building the strange libffmpegsumo library
and instead links the FFmpeg libraries directly. This makes it a lot
simpler to use the system libraries.

Unfortunately it started using internal FFmpeg API, which it must not
do, when linking with the system FFmpeg libraries.

Attached patch disables the use of internal API, removes defines changing
the FFmpeg ABI and makes chromium use the system FFmpeg libraries.

I tested it and playing videos on youtube still works.

Best regards,
Andreas


1: https://lists.debian.org/debian-devel-announce/2015/07/msg00001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chromium_system-ffmpeg.patch
Type: text/x-diff
Size: 4012 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20150726/e7a083eb/attachment.patch>


More information about the Pkg-chromium-maint mailing list