[FFmpeg-devel] [PATCH][8/8] Add VA API deps to configure (take 2)
Gwenole Beauchesne
gbeauchesne
Tue Mar 3 11:26:07 CET 2009
Hi,
On Mon, 9 Feb 2009, Diego Biurrun wrote:
> On Fri, Feb 06, 2009 at 10:42:26AM +0100, Gwenole Beauchesne wrote:
>>
>> Here is the configure patch for VA API support in the plain ffmpeg tree.
>>
>> --- configure (revision 17015)
>> +++ configure (working copy)
>> @@ -1975,6 +2000,16 @@
>>
>> ##########################################
>> +# VA API check
>> +
>> +pkg=libva-0.29
>> +check_pkg_config vaapi $pkg va.h vaInitialize
>> +if enabled vaapi; then
>> + add_cflags `pkg-config --cflags $pkg`
>> + add_extralibs `pkg-config --libs $pkg`
>> +fi
>
> Do you really need pkg-config?
OK, I dropped pkg-config and updated libva. Also sanitized VA API headers
so that they build with plain -std=c99. Too bad ISO C does not support
anonymous unions yet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.vaapi.configure.patch
Type: text/x-diff
Size: 3057 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090303/d1b4551c/attachment.patch>
More information about the ffmpeg-devel
mailing list