[FFmpeg-cvslog] [ffmpeg-radio] 05/13: avradio/avformat/sdrdemux: delay station search on AGC adjust
Michael Niedermayer
ffmpeg-git at ffmpeg.org
Sat Sep 16 21:38:21 EEST 2023
This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository libavradio.
commit dd8212fcbe3c923a61518c7d83f07c3a66b87dd3
Author: Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Fri Jul 28 19:53:11 2023 +0200
Commit: Michael Niedermayer <michael at niedermayer.cc>
CommitDate: Sun Jul 30 23:11:39 2023 +0200
avradio/avformat/sdrdemux: delay station search on AGC adjust
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavformat/sdrdemux.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/sdrdemux.c b/libavformat/sdrdemux.c
index fa45d30a3d..44a6489bd2 100644
--- a/libavformat/sdrdemux.c
+++ b/libavformat/sdrdemux.c
@@ -1536,6 +1536,8 @@ static void *soapy_needs_bigger_buffers_worker(SDRContext *sdr)
int ret = sdr->set_gain_callback(sdr, wanted_gain);
if (ret >= 0) {
agc_gain = wanted_gain;
+ if (block_counter)
+ block_counter = 1;
}
}
pthread_mutex_unlock(&sdr->mutex);
More information about the ffmpeg-cvslog
mailing list