On Mon, Mar 21, 2016 at 12:02:41AM +0000, Mark Thompson wrote:
> --- /dev/null
> +++ b/avconv_vaapi.c
> @@ -0,0 +1,626 @@
> +
> +static void vaapi_device_uninit(AVHWDeviceContext *hwdev)
> +{
> +}
> +
> +int vaapi_device_init(const char *device)
> +{
> +}

Are these two functions candidates for av_cold?

> --- a/configure
> +++ b/configure
> @@ -4689,6 +4690,10 @@ enabled vaapi && enabled xlib &&
>      check_lib2 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 &&
>      enable vaapi_x11
> 
> +enabled vaapi &&
> +    check_lib2 "va/va.h va/va_drm.h" vaGetDisplayDRM -lva -lva-drm &&
> +    enable vaapi_drm

Merging the two vaapi blocks would be cleaner IMO.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to