Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
---
 libavradio/sdrinradio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavradio/sdrinradio.c b/libavradio/sdrinradio.c
index 2865b6a9a6..ab7e786744 100644
--- a/libavradio/sdrinradio.c
+++ b/libavradio/sdrinradio.c
@@ -113,7 +113,7 @@ static int64_t sdrindev_set_frequency_callback(SDRContext 
*sdr, int64_t freq)
                 } else
                     sdr->current_direct_samp = value;
             }
-            if (e && strstr(e->value, "R820T")) {
+            if (e && strstr(e->value, "R820T") && !strcmp(value, "0")) {
                 //The R820T has a 16 bit fractional PLL which can do only 
multiplies of 439.45
                 //Its more complex but this approximation works
                 //It has to be noted that SOAPY does not tell us about this, 
instead saopy
-- 
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".

Reply via email to