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() ...@@ -135,10 +135,12 @@ void ConvertDialog::close()
mrl.remove( '}' ); mrl.remove( '}' );
mrl += ",deinterlace}"; mrl += ",deinterlace}";
} }
mrl += ":duplicate{"; mrl += ":";
if( displayBox->isChecked() ) mrl += "dst=display,"; if( displayBox->isChecked() )
mrl += "dst=std{access=file,mux=" + profile->getMux() + mrl += "duplicate{dst=display,dst=";
",dst='" + fileLine->text() + "'}"; mrl += "file{dst='" + fileLine->text() + "'}";
if( displayBox->isChecked() )
mrl += "}";
} }
msg_Warn( p_intf, "Transcode MRL: %s", qtu( 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