mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 14:33:28 +02:00
2020-08-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a fencepost bug in the 'RDRenderer::renderToFile()' method with the 'last_line' parameter. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
f13cb9ee89
commit
0cebad1f25
@ -20139,3 +20139,6 @@
|
||||
2020-08-02 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'Post from Log' button to the 'Podcast List' dialog
|
||||
in rdcastmanager(1).
|
||||
2020-08-04 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a fencepost bug in the 'RDRenderer::renderToFile()' method
|
||||
with the 'last_line' parameter.
|
||||
|
@ -402,12 +402,19 @@ bool RDRenderer::Render(const QString &outfile,RDLogEvent *log,RDSettings *s,
|
||||
const QTime &first_time,const QTime &last_time)
|
||||
{
|
||||
float *pcm=NULL;
|
||||
QTime current_time=start_time;
|
||||
QString temp_output_filename;
|
||||
QTime current_time;
|
||||
|
||||
render_warnings.clear();
|
||||
render_abort=false;
|
||||
|
||||
if(start_time.isNull()) {
|
||||
current_time=QTime::currentTime();
|
||||
}
|
||||
else {
|
||||
current_time=start_time;
|
||||
}
|
||||
|
||||
//
|
||||
// Open Output File
|
||||
//
|
||||
@ -483,7 +490,7 @@ bool RDRenderer::Render(const QString &outfile,RDLogEvent *log,RDSettings *s,
|
||||
}
|
||||
emit lineStarted(i,log->size()+render_total_passes-1);
|
||||
if(((first_line==-1)||(first_line<=(int)i))&&
|
||||
((last_line==-1)||(last_line>(int)i))) {
|
||||
((last_line==-1)||(last_line>=(int)i))) {
|
||||
if(lls.at(i)->transType()==RDLogLine::Stop) {
|
||||
ProgressMessage(current_time,i,tr("STOP")+" ",lls.at(i)->summary());
|
||||
render_warnings.
|
||||
|
Loading…
x
Reference in New Issue
Block a user