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 <mich...@niedermayer.cc>
AuthorDate: Fri Jul 28 19:53:11 2023 +0200
Commit:     Michael Niedermayer <mich...@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 <mich...@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);

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to