[vlc-devel] commit: Fix jack input MRL generation and add more debug to fix some windows subtitles issues . (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Sep 11 10:01:05 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 11 00:58:04 2008 -0700| [b8110c18546231f35ae71f48a88ffaf9e7d469d7] | committer: Jean-Baptiste Kempf
Fix jack input MRL generation and add more debug to fix some windows subtitles issues.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8110c18546231f35ae71f48a88ffaf9e7d469d7
---
modules/gui/qt4/components/open_panels.cpp | 8 ++++----
modules/gui/qt4/dialogs/open.cpp | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 53c3c9f..f7e1cb2 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -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:
diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp
index 56567e5..ddf42ae 100644
--- a/modules/gui/qt4/dialogs/open.cpp
+++ b/modules/gui/qt4/dialogs/open.cpp
@@ -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] ) );
}
More information about the vlc-devel
mailing list