Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fb182fe6
Commit
fb182fe6
authored
Feb 09, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: use OpenDialog::getOptions() where appropriate
parent
801dec3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+3
-3
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
fb182fe6
...
@@ -229,7 +229,7 @@ OpenDialog::~OpenDialog()
...
@@ -229,7 +229,7 @@ OpenDialog::~OpenDialog()
QString
OpenDialog
::
getMRL
(
bool
b_all
)
QString
OpenDialog
::
getMRL
(
bool
b_all
)
{
{
if
(
itemsMRL
.
count
()
==
0
)
return
""
;
if
(
itemsMRL
.
count
()
==
0
)
return
""
;
return
b_all
?
itemsMRL
[
0
]
+
ui
.
advancedLineInput
->
text
()
return
b_all
?
itemsMRL
[
0
]
+
getOptions
()
:
itemsMRL
[
0
];
:
itemsMRL
[
0
];
}
}
...
@@ -373,7 +373,7 @@ void OpenDialog::enqueue( bool b_enqueue )
...
@@ -373,7 +373,7 @@ void OpenDialog::enqueue( bool b_enqueue )
p_input
=
input_item_New
(
qtu
(
itemsMRL
[
i
]
),
NULL
);
p_input
=
input_item_New
(
qtu
(
itemsMRL
[
i
]
),
NULL
);
/* Take options from the UI, not from what we stored */
/* Take options from the UI, not from what we stored */
QStringList
optionsList
=
ui
.
advancedLineInput
->
text
().
split
(
" :"
);
QStringList
optionsList
=
getOptions
().
split
(
" :"
);
/* Insert options */
/* Insert options */
for
(
int
j
=
0
;
j
<
optionsList
.
count
();
j
++
)
for
(
int
j
=
0
;
j
<
optionsList
.
count
();
j
++
)
...
@@ -415,7 +415,7 @@ void OpenDialog::stream( bool b_transcode_only )
...
@@ -415,7 +415,7 @@ void OpenDialog::stream( bool b_transcode_only )
/* Dbg and send :D */
/* Dbg and send :D */
msg_Dbg
(
p_intf
,
"MRL passed to the Sout: %s"
,
qtu
(
soutMRL
)
);
msg_Dbg
(
p_intf
,
"MRL passed to the Sout: %s"
,
qtu
(
soutMRL
)
);
THEDP
->
streamingDialog
(
this
,
soutMRL
,
b_transcode_only
,
THEDP
->
streamingDialog
(
this
,
soutMRL
,
b_transcode_only
,
ui
.
advancedLineInput
->
text
().
split
(
" :"
)
);
getOptions
().
split
(
" :"
)
);
}
}
/* Update the MRL items from the panels */
/* Update the MRL items from the panels */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment