mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 14:33:28 +02: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:
parent
aed6e5b6bc
commit
bfab34e478
@ -19864,3 +19864,7 @@
|
||||
2020-06-08 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdairplay(1) where a paused event could not be
|
||||
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:
|
||||
if((next_logline=air_log[0]->
|
||||
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())<
|
||||
logline->segueLength(next_logline->transType())-
|
||||
logline->playPosition()) {
|
||||
logline->playPosition())) {
|
||||
air_pie_counter->
|
||||
setTime(logline->segueLength(next_logline->transType()));
|
||||
}
|
||||
else {
|
||||
air_pie_counter->setTime(logline->effectiveLength());
|
||||
}
|
||||
}
|
||||
else {
|
||||
air_pie_counter->setTime(logline->effectiveLength());
|
||||
|
Loading…
x
Reference in New Issue
Block a user