[Ffmpeg-devel] [PATCH] libswscale.pc without --enable-swscaler

Luca Abeni lucabe72
Mon Nov 13 14:51:31 CET 2006


Hi all,

On Mon, 2006-11-13 at 01:17 +0100, Diego Biurrun wrote:
> On Sat, Nov 11, 2006 at 03:23:07PM +0100, j at v2v.cc wrote:
> > right now libswscale.pc and libswscale-uninstalled.pc look the same  
> > with and without
> > enabling swscaler. but without --enable-swscaler, the swscaler api is  
> > provided by libavcodec.
> > 
> > attached is a patch that reflects this in the .pc files so it is  
> > possible to use sws_scale
> > with and without  --enable-swscaler by adding libswscale to  
> > PKG_CHECK_MODULES
> 
> Thanks, applied.
Sorry for replying late; I've been offline during the weekend.
Since Diego already applied the patch, I see that it is correct... I
just wanted to apologize for writing the wrong .pc file at the beginning
(I do not know this stuff very well, and I did the thing that seemed
simpler to me - my reasoning was that if --enable-swscaler is not
specified, then libswscale.pc should not be used. But I probably
misunderstood how .pc files are used. Sorry about that).


				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list