From patchwork Tue Jun 23 16:47:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Eugen Hoyos X-Patchwork-Id: 20567 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 9DA8E443A08 for ; Tue, 23 Jun 2020 19:47:46 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6943068B104; Tue, 23 Jun 2020 19:47:46 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 96BF368AF27 for ; Tue, 23 Jun 2020 19:47:39 +0300 (EEST) Received: by mail-lf1-f49.google.com with SMTP id g2so12079021lfb.0 for ; Tue, 23 Jun 2020 09:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7F5U72NmfLeCPG0PM8oGYsAAn+R23Hy0UwZxddyfSeA=; b=Atv5bJvn7wzk8+hqrJk9T/jTmwjPN4KkOTdvDH33wGYdeVPWrEeRt8u0A4yWnIK/NJ f1yRuv2HOpAnZyRQpgHsechmWGN1TNVfe6QulzEvDScn+RaKLMN4/5QnYrUQXA/BuWUo 28bufmMIY12o4YMVzrmJ6FcGtpMRnOpCSngNBpgP0UAOXoWIr+QrDBmkkG97u4+XJ85C wGPh8E3FJaf9PTH71VHYv6+SrLUffwN6LufBq5Tv7lpwmQgloDi95ZcAitYl5XfFdnhO FXu8UMwLmvv4PaEEWfsKDOH/5+AMjEoqp1lbhSEO4SML8XcjSvnPHIq1YQmui3UE44O+ MSKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7F5U72NmfLeCPG0PM8oGYsAAn+R23Hy0UwZxddyfSeA=; b=gPnAAy98gpl+czO5MgId6qbpZpzT3MDEd7iiF7WI74WFMAv+HFO+lVRoSJ8htf/hSX WzVMuJcFEiR3nt0X0+zB8Fg4PcL6m8cjySxaUintVGM0clGmmQd8zirEUmvrWL+XdFbc hsIKHOYwAVBsB8Mylc3pJubiSAuBUjHIqflijOZha4DYdcvnTgGhEjcj7QNDuBgUWFch zKqonkyVN5QLeJRSpE1CadN+ppg1RimnF5luWnFfJQrnHVpMogQfrWMdBDkVPk2wU0uF uoV641pACUrHcN1GYL3kD3S+2oOHE/88qtvVWN/P9NkqmVmdWxHWlelr/T7RNSq9ZJT/ TGUg== X-Gm-Message-State: AOAM532P8MLrzHFc8P1AXHmcQrS/y08iOXnrOByFhpXa7mP+wWxTdbfp mP7qSKlQ+Q+wz5PCeXQWv2sLkQ0GmlGA4eg1nyc1l2Zb X-Google-Smtp-Source: ABdhPJxXtETQuMUAHoWQbJJuT6HpipKNVmDEq4NNgHRcojSzvv2JaFzOUZb/weweqVsw2yFYGzSBI0U04qWQXKkHIZw= X-Received: by 2002:a05:6512:1103:: with SMTP id l3mr13165871lfg.108.1592930858690; Tue, 23 Jun 2020 09:47:38 -0700 (PDT) MIME-Version: 1.0 From: Carl Eugen Hoyos Date: Tue, 23 Jun 2020 18:47:27 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH]lavc: Lower MediaFoundation encoder priority X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Hi! Attached patch intends to fix ticket #8699 (which I cannot reproduce). Please comment, Carl Eugen Subject: [PATCH] lavc: Lower MediaFoundation encoder priority. The actual encoders may not be available. Fixes ticket #8699. --- libavcodec/allcodecs.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 80f128cade..5bc4f56d10 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -679,9 +679,7 @@ extern AVCodec ff_xsub_decoder; /* external libraries */ extern AVCodec ff_aac_at_encoder; extern AVCodec ff_aac_at_decoder; -extern AVCodec ff_aac_mf_encoder; extern AVCodec ff_ac3_at_decoder; -extern AVCodec ff_ac3_mf_encoder; extern AVCodec ff_adpcm_ima_qt_at_decoder; extern AVCodec ff_alac_at_encoder; extern AVCodec ff_alac_at_decoder; @@ -693,7 +691,6 @@ extern AVCodec ff_ilbc_at_decoder; extern AVCodec ff_mp1_at_decoder; extern AVCodec ff_mp2_at_decoder; extern AVCodec ff_mp3_at_decoder; -extern AVCodec ff_mp3_mf_encoder; extern AVCodec ff_pcm_alaw_at_encoder; extern AVCodec ff_pcm_alaw_at_decoder; extern AVCodec ff_pcm_mulaw_at_encoder; @@ -750,6 +747,11 @@ extern AVCodec ff_libxavs2_encoder; extern AVCodec ff_libxvid_encoder; extern AVCodec ff_libzvbi_teletext_decoder; +/* These might be compiled not actually be available */ +extern AVCodec ff_aac_mf_encoder; +extern AVCodec ff_ac3_mf_encoder; +extern AVCodec ff_mp3_mf_encoder; + /* text */ extern AVCodec ff_bintext_decoder; extern AVCodec ff_xbin_decoder;