[FFmpeg-cvslog] [ffmpeg-radio] UNNAMED PROJECT branch master updated. deb22f3eba avradio/rds: reset station timeout on successfull group decode
ffmpeg-git at ffmpeg.org
ffmpeg-git at ffmpeg.org
Thu Jul 13 23:01:07 EEST 2023
The branch, master has been updated
via deb22f3ebad6b42c66f5f616b2a1fffd0a87341a (commit)
from ac12fe1ce4267ba19db2ba15dd74bd31859e8f33 (commit)
- Log -----------------------------------------------------------------
commit deb22f3ebad6b42c66f5f616b2a1fffd0a87341a
Author: Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Wed Jul 12 01:39:37 2023 +0200
Commit: Michael Niedermayer <michael at niedermayer.cc>
CommitDate: Wed Jul 12 01:39:37 2023 +0200
avradio/rds: reset station timeout on successfull group decode
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
diff --git a/libavradio/rds.c b/libavradio/rds.c
index 99e5360b72..55b24a0d9e 100644
--- a/libavradio/rds.c
+++ b/libavradio/rds.c
@@ -123,6 +123,9 @@ static int decode_rds_group(SDRContext *sdr, Station *station, uint16_t group[4]
return 0; // skip first packet with new PI, likely its just damaged
}
+ //sucessfully decoding a RDS group implies that the station has been detected correctly
+ station->timeout = 0;
+
switch(a) {
case 0:
AV_WB16(station->name + 2*(group[1]&3), group[3]);
-----------------------------------------------------------------------
Summary of changes:
libavradio/rds.c | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
UNNAMED PROJECT
More information about the ffmpeg-cvslog
mailing list