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
fd342691
Commit
fd342691
authored
Sep 07, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly pass all the arguments of v4l/dshow when transcoding.
Close #1998.
parent
6f69173f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+22
-1
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
fd342691
...
...
@@ -349,9 +349,30 @@ void OpenDialog::stream( bool b_transcode_only )
{
mrl
=
ui
.
advancedLineInput
->
text
();
toggleVisible
();
/* Separate the entries */
QStringList
listMRL
=
SeparateEntries
(
mrl
);
/* We can only take the first entry since we have no idea what
to do with many files ? Gather ? */
if
(
listMRL
.
size
()
>
0
)
THEDP
->
streamingDialog
(
this
,
listMRL
[
0
],
b_transcode_only
);
{
/* First item */
QString
soutMRL
=
listMRL
[
0
];
/* Keep all the :xxx options because they are needed see v4l and dshow */
for
(
int
i
=
1
;
i
<
listMRL
.
size
();
i
++
)
{
if
(
listMRL
[
i
].
at
(
0
)
==
':'
)
soutMRL
.
append
(
listMRL
[
i
]
);
else
break
;
}
/* Dbg and send :D */
msg_Dbg
(
p_intf
,
"MRL passed to the Sout: %s"
,
qtu
(
soutMRL
)
);
THEDP
->
streamingDialog
(
this
,
listMRL
[
0
],
b_transcode_only
);
}
}
/* Update the MRL */
...
...
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