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 DEA86427F0 for ; Sun, 1 May 2022 15:49:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 92FA268B236; Sun, 1 May 2022 18:49:00 +0300 (EEST) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BCF9C68B109 for ; Sun, 1 May 2022 18:48:53 +0300 (EEST) Received: by mail-lj1-f171.google.com with SMTP id g16so10405463lja.3 for ; Sun, 01 May 2022 08:48:53 -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=vZ113tWc0Cr1AelzHBS65c4E4pw0v+5qShHU3hYRsLU=; b=YrD8HvzvsF2tJlolVkhptSR7EWnI1Je/bsZdmlC350wNnZpw3QujfnkQLGP4WTZ5RH 7DYh5lDRjncZFaJDR2JeIUAA1oK6kGtao0WlSCLkRLR6Q42MmRkFZiyjlQShqDPAriJY Y7d/y1MJ5QSE4bb3VarERToufWIFwAM39yaNuGPe5afa+OaH4pJwy6YXyqRh0nQeMZZP KwVFBbj3koi2r9z8h22nUy85G/0DCtGAJhC4AMGhAgtnMvW+1yczt/QwH398rg7A/EHg JbxClnL60or9dITgaENJAQc/4oJp0lOXkUSQtcHORQcmhwY8s4ToMprCFVDzWeeeKK+p 9T4g== 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=vZ113tWc0Cr1AelzHBS65c4E4pw0v+5qShHU3hYRsLU=; b=F3vsjuMebMy3ZGwH8lD4X1lDhL2XVKHPPSjCQBV0X/IotuLy+YXeIc6GK0+fycGQbV 0M9dSI0o6Om8ZMHF72KVRbxJrKX8plLMa5Z+xBYLcYR2NNG/UbcgYCtR+IYiG00h2Htv 2t9ulPheYuUpM0xIyiSAVLMTgEvnxsSixzKd8YJr2t8zGP3c+9msIzjISA2iLSHAJVvB E7zl8vtWbf2jm2jJoh0U1EW29Prf03apwnWJJNnJkdoXvvoqxIWUHhCp3mG59gMCpeh8 n4pyLHCNexHK/gZs48leGvSCxqIPBHAb+V+0bHMB01p3jsQLF9CKvFo+o9jAk46cnVAz Ysvg== X-Gm-Message-State: AOAM533bylUqBDKJfad/GRyVth79UAjOqSUtw2rPE4YbTHxwHwoElCrJ 0/qFzpkN8puu0b+atT+fIU1FTJYzgLMHswkPnSaC4D3r X-Google-Smtp-Source: ABdhPJxv3EfbjlHmlNU4zICWxZJzXXZL0tMm5toiQm4rCzTdoPDDbtWkf4kwMSel22t8YhPM8KhinMWanVmTRAqvLng= X-Received: by 2002:a2e:8089:0:b0:24f:ee6:b25f with SMTP id i9-20020a2e8089000000b0024f0ee6b25fmr5837657ljg.318.1651420132383; Sun, 01 May 2022 08:48:52 -0700 (PDT) MIME-Version: 1.0 References: <20220429104505.1747-1-tong1.wu@intel.com> In-Reply-To: From: Hendrik Leppkes Date: Sun, 1 May 2022 17:48:39 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v2 1/5] avutil/hwcontext_d3d11va: fix the uninitialized texture bindflag 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 Sun, May 1, 2022 at 7:09 AM Soft Works wrote: > I think that's what Hendrik wanted to point out as far as I understood. > Basically, I want explicit behavior, not implicit defaults. Anytime a hwcontext is created, something should tell it what its going to be used for, so we can determine which flags make sense (or ideally, it should just specify the flags). This patch creates an implicit default for one use-case, is this going to work with all others? No, of course not, because it has to know what flags to set. Thats why explicitly setting those flags is important, instead of just fixing one implicit case. - Hendrik _______________________________________________ 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".