2018-05-31 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdcatchd(8) that caused Upload events to
	be generated with the incorrect sample rate.
This commit is contained in:
Fred Gleason 2018-05-31 17:32:06 +00:00
parent b64c6c377d
commit 42ccd6c3be
2 changed files with 4 additions and 1 deletions

View File

@ -16995,3 +16995,6 @@
2018-05-31 Patrick Linstruth <patrick@deltecent.com>
* Implemented purging of STACK_* tables for RDMaint(1) in
'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.
2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused Upload events to
be generated with the incorrect sample rate.

View File

@ -2019,7 +2019,7 @@ void MainObject::LoadEvent(RDSqlQuery *q,CatchEvent *e,bool add)
break;
}
e->setChannels(q->value(20).toInt());
e->setSampleRate(rda->system()->sampleRate());
e->setSampleRate(q->value(21).toUInt());
e->setBitrate(q->value(22).toInt());
e->setMacroCart(q->value(23).toInt());
e->setSwitchInput(q->value(24).toInt());