Commit 0c52acae authored by Mark Bidewell's avatar Mark Bidewell Committed by Jean-Baptiste Kempf

Remove leading ':sout=' from strings returned by output selection dialog

The leading :sout=  appears to confuse the destination parser which causes the sout to be prepended with an empty access and mux resulting in an invalid output chain.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 82bd6cbd
...@@ -220,6 +220,7 @@ void VLMDialog::addVLMItem() ...@@ -220,6 +220,7 @@ void VLMDialog::addVLMItem()
int repeatnum = scherepeatnumber->value(); int repeatnum = scherepeatnumber->value();
int repeatdays = repeatDays->value(); int repeatdays = repeatDays->value();
VLMAWidget * vlmAwidget; VLMAWidget * vlmAwidget;
outputText.remove( ":sout=" );
switch( type ) switch( type )
{ {
...@@ -436,7 +437,7 @@ void VLMDialog::saveModifications() ...@@ -436,7 +437,7 @@ void VLMDialog::saveModifications()
if( vlmObj ) if( vlmObj )
{ {
vlmObj->input = ui.inputLedit->text(); vlmObj->input = ui.inputLedit->text();
vlmObj->output = ui.outputLedit->text(); vlmObj->output = ui.outputLedit->text().remove( ":sout=" );
vlmObj->setChecked( ui.enableCheck->isChecked() ); vlmObj->setChecked( ui.enableCheck->isChecked() );
vlmObj->b_enabled = ui.enableCheck->isChecked(); vlmObj->b_enabled = ui.enableCheck->isChecked();
switch( vlmObj->type ) switch( vlmObj->type )
......
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