Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
81dc2e72
Commit
81dc2e72
authored
Jan 14, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: fix transcode/stream character encoding - fixes #2411
parent
18eb8839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
20 deletions
+19
-20
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+19
-20
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
81dc2e72
...
...
@@ -140,10 +140,7 @@ public:
char
*
psz
=
config_StringEscape
(
qtu
(
value
)
);
if
(
psz
)
{
QString
v
=
QString
(
psz
);
mrl
+=
"=
\"
"
+
v
+
"
\"
"
;
mrl
+=
"=
\"
"
+
qfu
(
psz
)
+
"
\"
"
;
free
(
psz
);
}
}
...
...
@@ -534,7 +531,7 @@ void SoutDialog::updateMRL()
if
(
ui
.
transcodeVideo
->
isChecked
()
)
{
smrl
.
option
(
"vcodec"
,
sout
.
psz_vcodec
);
smrl
.
option
(
"vcodec"
,
qfu
(
sout
.
psz_vcodec
)
);
smrl
.
option
(
"vb"
,
sout
.
i_vb
);
smrl
.
option
(
"scale"
,
sout
.
f_scale
);
trans
=
true
;
...
...
@@ -542,7 +539,7 @@ void SoutDialog::updateMRL()
if
(
ui
.
transcodeAudio
->
isChecked
()
)
{
smrl
.
option
(
"acodec"
,
sout
.
psz_acodec
);
smrl
.
option
(
"acodec"
,
qfu
(
sout
.
psz_acodec
)
);
smrl
.
option
(
"ab"
,
sout
.
i_ab
);
smrl
.
option
(
"channels"
,
sout
.
i_channels
);
trans
=
true
;
...
...
@@ -557,7 +554,7 @@ void SoutDialog::updateMRL()
if
(
sout
.
b_file
&&
sout
.
b_dump
)
{
mrl
=
":demux=dump :demuxdump-file="
;
mrl
.
append
(
sout
.
psz_file
);
mrl
.
append
(
qfu
(
sout
.
psz_file
)
);
}
else
...
...
@@ -593,8 +590,8 @@ void SoutDialog::updateMRL()
m
.
begin
(
"std"
);
m
.
option
(
"access"
,
"file"
);
if
(
sout
.
psz_mux
)
m
.
option
(
"mux"
,
sout
.
psz_mux
);
m
.
option
(
"dst"
,
sout
.
psz_file
);
m
.
option
(
"mux"
,
qfu
(
sout
.
psz_mux
)
);
m
.
option
(
"dst"
,
qfu
(
sout
.
psz_file
)
);
m
.
end
();
ADD
(
m
);
...
...
@@ -608,8 +605,8 @@ void SoutDialog::updateMRL()
m
.
begin
(
"std"
);
m
.
option
(
"access"
,
"http"
);
if
(
sout
.
psz_mux
)
m
.
option
(
"mux"
,
sout
.
psz_mux
);
m
.
option
(
"dst"
,
sout
.
psz_http
,
sout
.
i_http
);
m
.
option
(
"mux"
,
qfu
(
sout
.
psz_mux
)
);
m
.
option
(
"dst"
,
qfu
(
sout
.
psz_http
)
,
sout
.
i_http
);
m
.
end
();
ADD
(
m
);
...
...
@@ -623,7 +620,7 @@ void SoutDialog::updateMRL()
m
.
begin
(
"std"
);
m
.
option
(
"access"
,
"mmsh"
);
m
.
option
(
"mux"
,
"asfh"
);
m
.
option
(
"dst"
,
sout
.
psz_mms
,
sout
.
i_mms
);
m
.
option
(
"dst"
,
qfu
(
sout
.
psz_mms
)
,
sout
.
i_mms
);
m
.
end
();
ADD
(
m
);
...
...
@@ -638,17 +635,17 @@ void SoutDialog::updateMRL()
m
.
begin
(
"std"
);
m
.
option
(
"access"
,
"udp"
);
if
(
sout
.
psz_mux
)
m
.
option
(
"mux"
,
sout
.
psz_mux
);
m
.
option
(
"dst"
,
sout
.
psz_udp
,
sout
.
i_udp
);
m
.
option
(
"mux"
,
qfu
(
sout
.
psz_mux
)
);
m
.
option
(
"dst"
,
qfu
(
sout
.
psz_udp
)
,
sout
.
i_udp
);
}
else
{
m
.
begin
(
"rtp"
);
if
(
sout
.
psz_rtp
&&
*
sout
.
psz_rtp
)
m
.
option
(
"dst"
,
sout
.
psz_rtp
);
m
.
option
(
"dst"
,
qfu
(
sout
.
psz_rtp
)
);
if
(
sout
.
psz_mux
)
m
.
option
(
"mux"
,
sout
.
psz_mux
);
m
.
option
(
"mux"
,
qfu
(
sout
.
psz_mux
)
);
m
.
option
(
"port"
,
sout
.
i_rtp
);
if
(
!
sout
.
psz_mux
||
strncmp
(
sout
.
psz_mux
,
"ts"
,
2
)
)
...
...
@@ -662,8 +659,8 @@ void SoutDialog::updateMRL()
if
(
sout
.
b_sap
)
{
m
.
option
(
"sap"
);
m
.
option
(
"group"
,
sout
.
psz_group
);
m
.
option
(
"name"
,
sout
.
psz_name
);
m
.
option
(
"group"
,
qfu
(
sout
.
psz_group
)
);
m
.
option
(
"name"
,
qfu
(
sout
.
psz_name
)
);
}
m
.
end
();
...
...
@@ -676,8 +673,10 @@ void SoutDialog::updateMRL()
SoutMrl
m
;
QString
url
;
url
=
QString
(
sout
.
sa_icecast
.
psz_username
)
+
"@"
+
sout
.
psz_icecast
+
":"
+
QString
::
number
(
sout
.
i_icecast
,
10
)
+
"/"
+
sout
.
psz_icecast_mountpoint
;
url
=
qfu
(
sout
.
sa_icecast
.
psz_username
)
+
"@"
+
qfu
(
sout
.
psz_icecast
)
+
":"
+
QString
::
number
(
sout
.
i_icecast
,
10
)
+
"/"
+
qfu
(
sout
.
psz_icecast_mountpoint
);
m
.
begin
(
"std"
);
m
.
option
(
"access"
,
"shout"
);
...
...
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