mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-02 00:52:34 +02:00
2017-09-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdrender(1) that caused the --channels option to be ignored.
This commit is contained in:
parent
50447fa6f7
commit
f9efd33d02
@ -16039,3 +16039,6 @@
|
||||
* Fixed a bug in 'lib/rdrenderer.cpp' and 'lib/rdrenerer.h' that
|
||||
caused logs rendered to cart/cut in stereo regardless of the number
|
||||
of channels specified.
|
||||
2017-09-20 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdrender(1) that caused the --channels option
|
||||
to be ignored.
|
||||
|
@ -341,8 +341,9 @@
|
||||
options).
|
||||
</para>
|
||||
<para>
|
||||
Maximum length of the rendered log is limited to appoximately two hours when
|
||||
using <option>--to-cart</option>.
|
||||
Due to limitations inherent in the 32 bit Broadcast Wave File format used in
|
||||
Rivendell's audio store, the maximum length of the rendered log is limited
|
||||
to appoximately three hours when using <option>--to-cart</option>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -46,7 +46,6 @@ MainObject::MainObject(QObject *parent)
|
||||
:QObject(parent)
|
||||
{
|
||||
render_verbose=false;
|
||||
render_channels=RDRENDER_DEFAULT_CHANNELS;
|
||||
render_first_line=-1;
|
||||
render_last_line=-1;
|
||||
render_ignore_stops=false;
|
||||
@ -89,8 +88,9 @@ MainObject::MainObject(QObject *parent)
|
||||
cmd->setProcessed(i,true);
|
||||
}
|
||||
if(cmd->key(i)=="--channels") {
|
||||
render_channels=cmd->value(i).toUInt(&ok);
|
||||
if((!ok)||(render_channels>2)) {
|
||||
render_settings.setChannels(cmd->value(i).toUInt(&ok));
|
||||
if((!ok)||
|
||||
(render_settings.channels()>2)||(render_settings.channels()==0)) {
|
||||
fprintf(stderr,"rdrender: invalid --channels argument\n");
|
||||
exit(1);
|
||||
}
|
||||
|
@ -60,7 +60,6 @@ class MainObject : public QObject
|
||||
unsigned render_cart_number;
|
||||
int render_cut_number;
|
||||
QString render_temp_output_filename;
|
||||
unsigned render_channels;
|
||||
QTime render_start_time;
|
||||
int render_first_line;
|
||||
int render_last_line;
|
||||
|
Loading…
x
Reference in New Issue
Block a user