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

Fix jack input MRL generation and add more debug to fix some windows subtitles issues.

parent cf4c4623
......@@ -1027,15 +1027,15 @@ void CaptureOpenPanel::updateMRL()
case JACK_DEVICE:
mrl = "jack://";
mrl += "channels=" + QString("%1").arg( jackChannels->value() );
mrl += ":ports=" + jackPortsSelected->text();
mrl += " --jack-input-caching=" + QString("%1").arg( jackCaching->value() );
mrl += " :ports=" + jackPortsSelected->text();
mrl += " :jack-input-caching=" + QString("%1").arg( jackCaching->value() );
if ( jackPace->isChecked() )
{
mrl += " --jack-input-use-vlc-pace";
mrl += " :jack-input-use-vlc-pace";
}
if ( jackConnect->isChecked() )
{
mrl += " --jack-input-auto-connect";
mrl += " :jack-input-auto-connect";
}
break;
case PVR_DEVICE:
......
......@@ -319,12 +319,14 @@ void OpenDialog::finish( bool b_enqueue = false )
bool b_start = !i && !b_enqueue;
input_item_t *p_input;
msg_Dbg( p_intf, "New item: %s", qtu( tempMRL[i] ) );
p_input = input_item_New( p_intf, qtu( tempMRL[i] ), NULL );
/* Insert options */
while( i + 1 < tempMRL.size() && tempMRL[i + 1].startsWith( ":" ) )
{
i++;
msg_Dbg( p_intf, "New Option: %s", qtu( tempMRL[i] ) );
input_item_AddOption( p_input, qtu( tempMRL[i] ) );
}
......
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