Commit a4b72e97 authored by Ilkka Ollakka's avatar Ilkka Ollakka

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

(cherry picked from commit f01fe561104e3c62fe77366d3c19b77bf8776a9a)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent f134a12a
......@@ -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