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 560214674D for ; Fri, 16 Jun 2023 22:49:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A4FC768C20B; Sat, 17 Jun 2023 01:49:57 +0300 (EEST) Received: from mail-02-2.mymagenta.at (mail-02-2.mymagenta.at [80.109.253.249]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4291668BF68 for ; Sat, 17 Jun 2023 01:49:51 +0300 (EEST) Received: from [192.168.232.136] (helo=ren-mail-psmtp-mg02.) by mail-02.mymagenta.at with esmtp (Exim 4.93) (envelope-from ) id 1qAHoW-00FbXc-T8 for ffmpeg-devel@ffmpeg.org; Sat, 17 Jun 2023 00:21:04 +0200 Received: from localhost ([84.115.40.24]) by ren-mail-psmtp-mg02. with ESMTP id AHoXqebwybZLDAHoXqtm6I; Sat, 17 Jun 2023 00:21:05 +0200 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 84.115.40.24 X-CNFS-Analysis: v=2.4 cv=Ufwy9IeN c=1 sm=1 tr=0 ts=648ce051 a=4thelYDX6rwh+ygQwvsI+Q==:117 a=4thelYDX6rwh+ygQwvsI+Q==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=-z4jQ-M_9hlOjjBgS6EA:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 17 Jun 2023 00:20:45 +0200 Message-Id: <20230616222048.6562-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230616222048.6562-1-michael@niedermayer.cc> References: <20230616222048.6562-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4xfHsTPnVMZV/Pgr5dbSQNsjmOhmUGGLckm1rRI0k159HKJkTUrploVPr6w0nMtYNyTp6NTBc7Yk9hcONNDPF657bD0T+0cVC7PW+C/GhwKiprmX4uoLiI WyMEZW71s8rwf9ED7vcwTv4+T0RYvwplgv8crAxVyPlC8yOIsRUYsknuzoet+zM+9lZlC9i5D7b/3Q== Subject: [FFmpeg-devel] [PATCH 2/5] avcodec/pcm: allow Changing parameters 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 MIME-Version: 1.0 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: SDR needs this for switching between mono and stereo stations Signed-off-by: Michael Niedermayer --- libavcodec/pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 23955ba2dd..467ecb4fe0 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -578,7 +578,7 @@ const FFCodec ff_ ## name_ ## _decoder = { \ .priv_data_size = sizeof(PCMDecode), \ .init = pcm_decode_init, \ FF_CODEC_DECODE_CB(pcm_decode_frame), \ - .p.capabilities = AV_CODEC_CAP_DR1, \ + .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_PARAM_CHANGE, \ .p.sample_fmts = (const enum AVSampleFormat[]){ sample_fmt_, \ AV_SAMPLE_FMT_NONE }, \ } -- 2.17.1 _______________________________________________ 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".