From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 3BED74A695 for ; Wed, 3 Apr 2024 19:44:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A979968D13F; Wed, 3 Apr 2024 22:44:10 +0300 (EEST) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8A6F468D0EA for ; Wed, 3 Apr 2024 22:44:04 +0300 (EEST) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-34391544c46so144649f8f.0 for ; Wed, 03 Apr 2024 12:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jkqxz-net.20230601.gappssmtp.com; s=20230601; t=1712173444; x=1712778244; darn=ffmpeg.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=rNlB8tGiLW4KX5mEWnMAo+nbJCtfHpiKgd6xmbKIdSM=; b=XfAkyPxapnj/hJMC8f8LZlNKBfesp8gW/qmqWNqE4rOIDuYOrGFix4aGKmvj+upKMT sILT0/TsdW25KOdU7m8Pt9k8TW7CrkXnspwy5gWx1N82+HQeHIjb6Y/ShQ2Fob/0VO8w wjS9yhOc6tT0kujLm9cw8Ud9QaBHchD3FLdpmVCrE14zxweNGexvInrFMlkLoLRwMxBU RgL6YiC+2y50UV1foE/Zz8zpY/2WAxAwY+0//EI+7Xw21jbckoavFV/e3SKr/52igvjg EXQO1dq/SpFuYXJppmYh8LN3ROntgv9mgHXKYCBifob9ioiR6Dn7qiOcl8KczoEjkT1h vs8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712173444; x=1712778244; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=rNlB8tGiLW4KX5mEWnMAo+nbJCtfHpiKgd6xmbKIdSM=; b=I5zJfsjYVuUj+YCbkkir4chCD44PMz7k+e448RTCW7GjWmeyAGgRHpKGxmZwkf2KWe 7bTkLuVGp6iMk8y7pJrBkqP5xiE3BL+W/Q6RENHTFjEM4IJmWp4gaZH6z6YMt9yD5+Bc xCwVxDTuAg9H8xyo2rVmHBp2tcs3OZ04/vi0tlnKk/m37XJpm5yaJ9EVGH72+Juyv4nR W8D6Qmtqqh2W40vZWzbZs6LdrevFYQO+d4crd69Sth6muH0v0EuNo+Xt9aA9kd1sWsI3 RPQtsKSCgSi9HFJvBfTihsZgRkK+m9jCzdGXuzjvLaC53g7OxiYG8iQl4OXWAg5xjohS Nqsw== X-Gm-Message-State: AOJu0YyWJbnVbO3Kooq3M8/2eMVIW1VRf2tTnpGBjMn5BcUc819Z4Wpp KTMVs2HWOozAFB/2kbLW8/7ijwheqlF6Vt1hchNd4EWIWbuNsKY5kCBplNuZ+aC8R2PVZ3FMOQl m X-Google-Smtp-Source: AGHT+IEpUEdBNXSKLcmqqfkIqR6Mq2tO9qPVYDbtEeiFOumpQEeKhctAlZYSKq5Hli3AUic10iYU3w== X-Received: by 2002:adf:b1d2:0:b0:343:4b38:6659 with SMTP id r18-20020adfb1d2000000b003434b386659mr330689wra.53.1712173443708; Wed, 03 Apr 2024 12:44:03 -0700 (PDT) Received: from [192.168.0.15] (cpc92302-cmbg19-2-0-cust1183.5-4.cable.virginm.net. [82.1.212.160]) by smtp.gmail.com with ESMTPSA id f10-20020a0560001b0a00b00341dbb4a3a7sm17931399wrz.86.2024.04.03.12.44.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 12:44:03 -0700 (PDT) Message-ID: <15056f44-06c8-40a1-bb78-db3e66b2ee86@jkqxz.net> Date: Wed, 3 Apr 2024 20:44:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FFmpeg development discussions and patches From: Mark Thompson Subject: [FFmpeg-devel] [PATCH 1/4] lavu: Remove libva 1.x support X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: libva 2.0 was released in 2017 and the 2.x versions are included in all supported distributions nowadays. --- libavutil/hwcontext_vaapi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index 56d03aa4cd..bc82ab31e6 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -1637,7 +1637,6 @@ static void vaapi_device_free(AVHWDeviceContext *ctx) av_freep(&priv); } -#if CONFIG_VAAPI_1 static void vaapi_device_log_error(void *context, const char *message) { AVHWDeviceContext *ctx = context; @@ -1651,7 +1650,6 @@ static void vaapi_device_log_info(void *context, const char *message) av_log(ctx, AV_LOG_VERBOSE, "libva: %s", message); } -#endif static int vaapi_device_connect(AVHWDeviceContext *ctx, VADisplay display) @@ -1660,10 +1658,8 @@ static int vaapi_device_connect(AVHWDeviceContext *ctx, int major, minor; VAStatus vas; -#if CONFIG_VAAPI_1 vaSetErrorCallback(display, &vaapi_device_log_error, ctx); vaSetInfoCallback (display, &vaapi_device_log_info, ctx); -#endif hwctx->display = display; -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".