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 D908D42FD1 for ; Thu, 16 Jun 2022 19:38:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8401568B7F5; Thu, 16 Jun 2022 22:37:58 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6E5FE680105 for ; Thu, 16 Jun 2022 22:37:51 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 01F03E7347 for ; Thu, 16 Jun 2022 21:37:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qx-sh_Ec3KJL for ; Thu, 16 Jun 2022 21:37:48 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id B9C74E72E8 for ; Thu, 16 Jun 2022 21:37:48 +0200 (CEST) Date: Thu, 16 Jun 2022 21:37:48 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <20220611181604.5297-1-cus@passwd.hu> Message-ID: <64e64526-2c38-191-ed3b-c392a26151c@passwd.hu> References: <20220611181604.5297-1-cus@passwd.hu> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/3] Revert "avdevice/pulse_audio_dec: only set adjust latency flag if fragment_size is not set" 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: On Sat, 11 Jun 2022, Marton Balint wrote: > This reverts commit 7f059a250bb7bcbf7bba537c1a059a5934413035. > > Apparently adjusting latency makes a difference even if fragment size is specifed. > > Signed-off-by: Marton Balint > --- > libavdevice/pulse_audio_dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavdevice/pulse_audio_dec.c b/libavdevice/pulse_audio_dec.c > index a33d1afd1f..ed094fd250 100644 > --- a/libavdevice/pulse_audio_dec.c > +++ b/libavdevice/pulse_audio_dec.c > @@ -220,7 +220,7 @@ static av_cold int pulse_read_header(AVFormatContext *s) > > ret = pa_stream_connect_record(pd->stream, device, &attr, > PA_STREAM_INTERPOLATE_TIMING > - | (pd->fragment_size == -1 ? PA_STREAM_ADJUST_LATENCY : 0) > + |PA_STREAM_ADJUST_LATENCY > |PA_STREAM_AUTO_TIMING_UPDATE); Applied the series. Regards, Marton _______________________________________________ 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".