[FFmpeg-devel] [PATCH][8/8] Add VA API deps to configure

Diego Biurrun diego
Mon Feb 9 13:45:37 CET 2009


On Mon, Feb 09, 2009 at 01:32:51PM +0100, Gwenole Beauchesne wrote:
> On Mon, 9 Feb 2009, Diego Biurrun wrote:
> 
> > That sounds like bad design similar to the nonsense that the dirac people
> > built.  Why can't you simply use
> >
> > #include <some/path/whatever.h>
> 
> Because anyone could decide to place the project root anywhere. e.g. a 
> /opt/va-0.29/{include,lib} hierarchy.

This is Unix, include files go in /usr/[local/]include.  If you place
them elsewhere, it is your job to add -I/opt/include or whatever to
your CFLAGS.

> And having an explicit #include <va-0.29/va.h> in the code is a non-sense. 

va/va.h would be fine.  Versioning the directory name is nonsense IMO.

Diego




More information about the ffmpeg-devel mailing list