2.56Mhz produces more artifacts than lower sample rates at least in the FM broadcast band
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavradio/sdrinradio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavradio/sdrinradio.c b/libavradio/sdrinradio.c index c6f5742436..052e2298da 100644 --- a/libavradio/sdrinradio.c +++ b/libavradio/sdrinradio.c @@ -235,8 +235,8 @@ static int sdrindev_initial_hw_setup(AVFormatContext *s) (sdr->sdr_sample_rate < ranges[i].minimum || sdr->sdr_sample_rate > ranges[i].maximum)) continue; if (sdr->rtlsdr_fixes) - // 2.88 and 3.2 Mhz do not work reliable here so lets not automatically choose them, the user can override this - if (ranges[i].maximum > (2560000 + 2880000)/2) + // 2.56, 2.88 and 3.2 Mhz do not work reliable here so lets not automatically choose them, the user can override this + if (ranges[i].maximum > (2560000 + 2160000)/2) continue; max_sample_rate = FFMAX(max_sample_rate, ranges[i].maximum); } -- 2.31.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-requ...@ffmpeg.org with subject "unsubscribe".