Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
67bb9bab
Commit
67bb9bab
authored
Oct 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 sout: convert option to
UTF-8
once, not twice (fixes: #3077)
parent
ac9386fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+5
-6
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
67bb9bab
...
@@ -569,7 +569,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
...
@@ -569,7 +569,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
bool
b_transcode_only
,
bool
b_transcode_only
,
QStringList
options
)
QStringList
options
)
{
{
char
*
psz_
soutoption
;
QString
soutoption
;
/* Stream */
/* Stream */
if
(
!
b_transcode_only
)
if
(
!
b_transcode_only
)
...
@@ -577,7 +577,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
...
@@ -577,7 +577,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
SoutDialog
*
s
=
new
SoutDialog
(
parent
,
p_intf
,
mrl
);
SoutDialog
*
s
=
new
SoutDialog
(
parent
,
p_intf
,
mrl
);
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
{
{
psz_soutoption
=
strdup
(
qtu
(
s
->
getMrl
()
)
);
soutoption
=
s
->
getMrl
(
);
delete
s
;
delete
s
;
}
}
else
else
...
@@ -589,7 +589,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
...
@@ -589,7 +589,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
ConvertDialog
*
s
=
new
ConvertDialog
(
parent
,
p_intf
,
mrl
);
ConvertDialog
*
s
=
new
ConvertDialog
(
parent
,
p_intf
,
mrl
);
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
{
{
psz_soutoption
=
strdup
(
qtu
(
s
->
getMrl
()
)
);
soutoption
=
s
->
getMrl
(
);
delete
s
;
delete
s
;
}
}
else
else
...
@@ -599,9 +599,9 @@ void DialogsProvider::streamingDialog( QWidget *parent,
...
@@ -599,9 +599,9 @@ void DialogsProvider::streamingDialog( QWidget *parent,
}
}
/* Get SoutMRL */
/* Get SoutMRL */
if
(
!
EMPTY_STR
(
psz_soutoption
)
)
if
(
!
soutoption
.
isEmpty
(
)
)
{
{
options
+=
QString
(
psz_soutoption
)
.
split
(
" :"
);
options
+=
soutoption
.
split
(
" :"
);
/* Create Input */
/* Create Input */
input_item_t
*
p_input
;
input_item_t
*
p_input
;
...
@@ -627,7 +627,6 @@ void DialogsProvider::streamingDialog( QWidget *parent,
...
@@ -627,7 +627,6 @@ void DialogsProvider::streamingDialog( QWidget *parent,
RecentsMRL
::
getInstance
(
p_intf
)
->
addRecent
(
mrl
);
RecentsMRL
::
getInstance
(
p_intf
)
->
addRecent
(
mrl
);
}
}
free
(
psz_soutoption
);
}
}
void
DialogsProvider
::
openAndStreamingDialogs
()
void
DialogsProvider
::
openAndStreamingDialogs
()
...
...
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