[FFmpeg-devel] [RFC]Autodetect VA-API
michaelni at gmx.at
Mon May 6 12:05:40 CEST 2013
On Fri, May 03, 2013 at 05:22:10PM +0200, Carl Eugen Hoyos wrote:
> In FFmpeg revisions 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 1.0 and 1.1, VA-API was
> autodetected by configure, default compilation always produced ffmpeg
> executables that depend on libva and I do not remember any user protesting
> about it.
> Since 1.2 (and without any documentation afaict), VA-API is not auto-detected
> anymore, this was quickly reported by users (see also ticket #2368).
> On my system, a default FFmpeg compilation (./configure && make ffmpeg)
> produces a binary that depends, apart from the typical system libraries and
> libz and libbz2, on libsdl, libasound and libjack (which depends on
> libstdc++), libva has no further dependencies afaict.
> I don't use VA-API (and I don't care much) but I suggest attached patch that I
> would also backport to release/1.2.
> Please comment, Carl Eugen
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> b0d1a88ff2c6fc526eaa5673e0c6d30379ea46d3 patchvaapi.diff
> diff --git a/configure b/configure
> index f646d55..508e88c 100755
> --- a/configure
> +++ b/configure
> @@ -2247,7 +2247,7 @@ enable static
> enable swscale_alpha
> # By default, enable only those hwaccels that have no external dependencies.
> -enable dxva2 vdpau
> +enable dxva2 vaapi vdpau
have you tested dependancies ?
this is just reverting part of a patch that changed the default IIRC
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel