Signed-off-by: Michael Niedermayer <[email protected]>
---
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);
--
2.31.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".