bool b_transcode_only,
QStringList options )
{
- char *psz_soutoption;
+ QString soutoption;
/* Stream */
if( !b_transcode_only )
SoutDialog *s = new SoutDialog( parent, p_intf, mrl );
if( s->exec() == QDialog::Accepted )
{
- psz_soutoption = strdup( qtu( s->getMrl() ) );
+ soutoption = s->getMrl();
delete s;
}
else
ConvertDialog *s = new ConvertDialog( parent, p_intf, mrl );
if( s->exec() == QDialog::Accepted )
{
- psz_soutoption = strdup( qtu( s->getMrl() ) );
+ soutoption = s->getMrl();
delete s;
}
else
}
/* Get SoutMRL */
- if( !EMPTY_STR( psz_soutoption ) )
+ if( !soutoption.isEmpty() )
{
- options += QString( psz_soutoption ).split( " :");
+ options += soutoption.split( " :");
/* Create Input */
input_item_t *p_input;
RecentsMRL::getInstance( p_intf )->addRecent( mrl );
}
- free( psz_soutoption );
}
void DialogsProvider::openAndStreamingDialogs()