2021-04-06 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdairplay(1) that caused the Talk Timer to
	fail to be populated when adding new carts to a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-04-06 09:20:44 -04:00
parent efc96388b4
commit 45a052edcf
3 changed files with 7 additions and 2 deletions

View File

@ -20721,3 +20721,6 @@
2021-04-05 Fred Gleason <fredg@paravelsystems.com>
* Integrated the 'pypad_ino713_tcp' and 'pypad_nautel' PyPAD
scripts into the build system.
2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that caused the Talk Timer to
fail to be populated when adding new carts to a log.

View File

@ -1922,6 +1922,8 @@ RDLogLine::State RDLogLine::setEvent(int mach,RDLogLine::TransType next_type,
log_segue_start_point[0]=-1;
log_segue_end_point[0]=-1;
}
log_talk_start=q->value(6).toInt();
log_talk_end=q->value(7).toInt();
if(log_talk_start>=0) {
log_talk_start=(int)((double)log_talk_start*time_ratio);
log_talk_end=(int)(q->value(7).toDouble()*time_ratio);

View File

@ -2,7 +2,7 @@
//
// Rivendell Log Playout Machine
//
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -610,7 +610,7 @@ void RDLogPlay::append(const QString &log_name)
}
bool RDLogPlay::refresh()
bool RDLogPlay::refresh()
{
RDLogLine *s;
RDLogLine *d;