[vlc-devel] [Patch] vlc's configure detecs ffmpeg's swscale only based on swscale.h presence

Alexis Ballier aballier at gentoo.org
Sat Jun 2 17:35:51 CEST 2007


Hi, 

currently in trunk, the configure detecs ffmpeg's swscale only based on
swscale.h presence; but on recent ffmpeg versions, swscale.h is always
installed to provide a wrapper for the old api if it hasn't been
compiled in. Unfortunately it seems that this wrapper is incomplete, or
perhaps vlc's ffmpeg plugin uses functions that are not "wrappable" to
the old api. Anyway, if I compile vlc against a recent ffmpeg without
swscale support, it uses swscale api and ffmpeg's plugin complains
about sws_something symbol not found.

Please find enclosed a patch entirely borrowed from ILEoo on #videolan,
modified a little bit to get it work with and without swscale.

Tested against a one week old ffmpeg trunk snapshot, with and without
swscaler enabled.

Regards, 


Alexis.


(ps: damn, this mail is 10 times longer that the patch itself)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070602/c5bed191/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070602/c5bed191/attachment.sig>


More information about the vlc-devel mailing list