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 4E9E543BBC for ; Wed, 20 Jul 2022 16:41:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 34A6F68B680; Wed, 20 Jul 2022 19:41:52 +0300 (EEST) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6D26E68B4F7 for ; Wed, 20 Jul 2022 19:41:45 +0300 (EEST) Received: by mail-qk1-f172.google.com with SMTP id g1so13284262qki.7 for ; Wed, 20 Jul 2022 09:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=GSs9bfhAH01617FyXmEQ4TsOrY6pdLXq3IveK0CRiVQ=; b=IX1YGKlR7AJM5CGV2ShwwsV9q7kwgCmd7p0c1KwRv61menXhiyRjWW1b0iRxCueWJk 8z0D6vW0Mt2f7rpo9DlQr0UTxtqojb/pJvt8Oka5FP13NbqfNrEylgWXtWowKIxySRFl Mea+2Fi93UY0lFhbhdU++5Tfhy9rGfnVVD4CsCvldYv1ba5mlJDkFOlSOtbygRzvBBff ZKY0XwNAhBVRetiYzApioR+9grxmWNjKq+n44DzHMlrZo1JEaOxt3INTqoMsCXU1x1aP XjGdd5K36Sm8nIB5XhH4rO8BJfC+nq5daHRShOQx9F7BBvg9fbC0HkmAtGAB8hv6k8dJ 9cww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GSs9bfhAH01617FyXmEQ4TsOrY6pdLXq3IveK0CRiVQ=; b=4f06qEu0hUwd6qKvwzxeT2YW28Wkoz9A8NARTJsKvg9QkUVx9Nxm3KTPt21sNIYOli KNlNcNZVGY4FZ4sFpu6mBCreDqvG9VSKq07xFMIX348XU1Xt1ejgacSDWekl5kokJgQh enICD7pfhtx9fvQxI/sNkyQX135nI5x1L3FQMKUXGTbR58TJw3IOpZyW03Q8fMO2jqRw HNJOW1uWR/VDy25fzveLIzB0NiHwXCTAcBYVVg0p6tTaCXHT4sSYXIXlUGl07TkGsakQ 8o9iTHn75Ma906ft0km3WkvJ7pBYzZsfrY/V719ZOxS+5DSsnlvK79YiHLjW2dRatTX+ MoNw== X-Gm-Message-State: AJIora8r/e1wyO5L0/tiS1zkQTNAV/5UxV8zjNPkdhAx4UQG8azqrE/9 nRuIcXqAYsRE14mybJ4BXnR1e8cwQeYwL8wcSuuccDx3ZSA= X-Google-Smtp-Source: AGRyM1sXVz+HX4gfJPJAH31E/5YczqF88MbNjzx2rgmRAjRxGhbQKoxyUmRif6zkT63q4MBrFGpuK9pb0PTN5uROByg= X-Received: by 2002:a05:620a:c41:b0:6b6:bc8:2051 with SMTP id u1-20020a05620a0c4100b006b60bc82051mr3822840qki.410.1658335303997; Wed, 20 Jul 2022 09:41:43 -0700 (PDT) MIME-Version: 1.0 References: <20220719175310.647621-1-emil.l.velikov@gmail.com> In-Reply-To: From: Emil Velikov Date: Wed, 20 Jul 2022 17:41:33 +0100 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v2 0/3] hwcontext_vaapi: dlopen libva-x11 and libva-drm 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, 19 Jul 2022 at 19:16, Nicolas George wrote: > > Emil Velikov (12022-07-19): > > As you may know the libva* set of libraries share an internal ABI > > between them. In a resent libva commit, the va_fool API was removed. > > > > Thus if one is to mix different versions of libva.so and libva-x11.so > > they will get an error, leading to a crash of the whole stack. > > > > The simple solution is > > ... a configure check. > > If the person who installs replaces a library with another, it is their > responsibility to check they are compatible. > While I wholeheartedly agree, it's not so easy to enforce compile time decisions at runtime. In the past, I have debugged and reported issues where Linux distributions do not enforce the above. We do have the typical Linux distribution model (where we have dozens upon distros) and other distribution models. IMHO checking each instance and combination doesn't scale. We could bring awareness to the issue in say distribution/workflow X, which sadly may come as finger-pointing and thus alienating. Hope that makes sense and the team is willing to consider the extra 90 lines worth of code. Thanks in advance Emil _______________________________________________ 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".