Commit bce50f87 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix some parsing of SOut options.

Close #1853
parent 4386f499
......@@ -124,7 +124,7 @@ void ConvertDialog::close()
if( dumpBox->isChecked() )
{
mrl = "demux=dump :demuxdump-file" + fileLine->text();
mrl = "demux=dump :demuxdump-file=" + fileLine->text();
}
else
{
......
/*****************************************************************************
* dialogs_provider.cpp : Dialog Provider
*****************************************************************************
* Copyright (C) 2006-2008 the VideoLAN team
* Copyright (C) 2006-2009 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
......@@ -606,6 +606,8 @@ void DialogsProvider::streamingDialog( QWidget *parent,
/* Get SoutMRL */
if( !EMPTY_STR( psz_soutoption ) )
{
options += QString( psz_soutoption ).split( " :");
/* Create Input */
input_item_t *p_input;
p_input = input_item_New( p_intf, qtu( mrl ), _("Streaming") );
......@@ -618,13 +620,10 @@ void DialogsProvider::streamingDialog( QWidget *parent,
{
input_item_AddOption( p_input, qtu( qs ),
VLC_INPUT_OPTION_TRUSTED );
msg_Dbg( p_intf, "Adding option: %s", qtu( qs ) );
}
}
/* Add SoutMRL */
msg_Dbg( p_intf, "Streaming MRL is: %s", psz_soutoption );
input_item_AddOption( p_input, psz_soutoption, VLC_INPUT_OPTION_TRUSTED );
/* Switch between enqueuing and starting the item */
/* FIXME: playlist_AddInput() can fail */
playlist_AddInput( THEPL, p_input,
......
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