PLAYLIST_END, pl, pl_Unlocked );
RecentsMRL::getInstance( p_intf )->addRecent( mrl );
if( !go )
- input_Read( THEPL, p_input, true );
+ input_Read( THEPL, p_input );
vlc_gc_decref( p_input );
}
}
char module[12];
} types[] = {
{ N_("XSPF playlist (*.xspf)"), "export-xspf", },
+ { N_("M3U8 playlist (*.m3u)"), "export-m3u8", },
{ N_("M3U playlist (*.m3u)"), "export-m3u", },
{ N_("HTML playlist (*.html)"), "export-html", },
};
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()