Commit f01fe561 authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: don't add duplicate on convert if not needed

parent 9589b73d
......@@ -135,10 +135,12 @@ void ConvertDialog::close()
mrl.remove( '}' );
mrl += ",deinterlace}";
}
mrl += ":duplicate{";
if( displayBox->isChecked() ) mrl += "dst=display,";
mrl += "dst=std{access=file,mux=" + profile->getMux() +
",dst='" + fileLine->text() + "'}";
mrl += ":";
if( displayBox->isChecked() )
mrl += "duplicate{dst=display,dst=";
mrl += "file{dst='" + fileLine->text() + "'}";
if( displayBox->isChecked() )
mrl += "}";
}
msg_Warn( p_intf, "Transcode MRL: %s", qtu( mrl ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment