[Pkg-chromium-maint] Bug#580947: chromium-browser from experimental has included h.264 by default?

Giuseppe Iuculano giuseppe at iuculano.it
Tue May 11 21:53:51 UTC 2010


Il 11/05/2010 17:35, Ben Hutchings ha scritto:

> How can you expect this to work?  The ABI of the system ffmpeg libraries
> is not going to match the ABI defined by the bundled headers.  You must
> patch chromium to work with the system ffmpeg headers.

chromium doesn't link against the ffmpeg libraries, it dlopen() them, so
you are right for libavcodec52 libavformat52, but for libavutil50
it searches /usr/lib/chromium-browser/libavutil.so.50 , and this is a
symlink to /usr/lib/libavutil.so.50 .
If it doesn't find it you have the "Aw, Snap!" message or the "Sorry,
your browser does not support the <video> element." message.
In a standard Debian system, and with standard I mean a system with no
other third repositories, simply it doesn't use that lib.

At this point I removed that patch and made a new one that affects only
libavutil50 (not yet available in the archive):

-#include <libavutil/avutil.h>
-#include <libavutil/log.h>
+#include "patched-ffmpeg-mt/libavutil/avutil.h"
+#include "patched-ffmpeg-mt/libavutil/log.h"



So if I'm not wrong now there isn't any ABI incompatibility here because
libavutil50 doesn't exist as official package.
Is this acceptable?


Cheers
Giuseppe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20100511/b6344505/attachment-0001.pgp>


More information about the Pkg-chromium-maint mailing list