mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 23:55:56 +01:00
2020-06-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a cast overflow bug in rdairplay(1) that cause incorrect pie timer indications after adding or deleting events to a running log. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -19864,3 +19864,7 @@
|
|||||||
2020-06-08 Fred Gleason <fredg@paravelsystems.com>
|
2020-06-08 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in rdairplay(1) where a paused event could not be
|
* Fixed a bug in rdairplay(1) where a paused event could not be
|
||||||
removed by dropping the empty cart on it.
|
removed by dropping the empty cart on it.
|
||||||
|
2020-06-09 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a cast overflow bug in rdairplay(1) that cause incorrect
|
||||||
|
pie timer indications after adding or deleting events to a running
|
||||||
|
log.
|
||||||
|
|||||||
@@ -1724,16 +1724,18 @@ void MainWidget::transportChangedData()
|
|||||||
case RDAirPlayConf::CartTransition:
|
case RDAirPlayConf::CartTransition:
|
||||||
if((next_logline=air_log[0]->
|
if((next_logline=air_log[0]->
|
||||||
logLine(air_log[0]->nextLine(line)))!=NULL) {
|
logLine(air_log[0]->nextLine(line)))!=NULL) {
|
||||||
if((unsigned)logline->startTime(RDLogLine::Actual).
|
//
|
||||||
|
// Are we not past the segue point?
|
||||||
|
//
|
||||||
|
if((logline->playPosition()>
|
||||||
|
(unsigned)logline->segueLength(next_logline->transType()))||
|
||||||
|
((unsigned)logline->startTime(RDLogLine::Actual).
|
||||||
msecsTo(QTime::currentTime())<
|
msecsTo(QTime::currentTime())<
|
||||||
logline->segueLength(next_logline->transType())-
|
logline->segueLength(next_logline->transType())-
|
||||||
logline->playPosition()) {
|
logline->playPosition())) {
|
||||||
air_pie_counter->
|
air_pie_counter->
|
||||||
setTime(logline->segueLength(next_logline->transType()));
|
setTime(logline->segueLength(next_logline->transType()));
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
air_pie_counter->setTime(logline->effectiveLength());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
air_pie_counter->setTime(logline->effectiveLength());
|
air_pie_counter->setTime(logline->effectiveLength());
|
||||||
|
|||||||
Reference in New Issue
Block a user