[FFmpeg-devel] [PATCH] Fix check for new enough CrystalHD library
gbeauchesne at splitted-desktop.com
Mon Mar 28 19:51:53 CEST 2011
Le 28 mars 2011 à 19:43, Reimar Döffinger a écrit :
> On Mon, Mar 28, 2011 at 11:34:38AM +0200, Gwenole Beauchesne wrote:
>> If an older libcrystalhd is installed, the current configure check
>> will validate it but will fail to build FFmpeg since there were some
>> API changes.
>> I see two ways to check this:
>> 1) Check for the new libcrystalhd_version.h file
>> 2) Check for the new DtsCrystalHDVersion() function
>> (2) is implemented in the attached patch. Along with an addition to
>> make sure crystalhd support is disabled if check_lib fails.
> I assume the same "|| disable" should be added for vaapi as well?
Yes, but it would have been an unrelated change in this patch. So I will send a new patch for vaapi next.
More information about the ffmpeg-devel