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
a60bd74c
Commit
a60bd74c
authored
Dec 01, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: implement SAP in the streaming wizard
parent
fe5ee97d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+23
-4
modules/stream_out/standard.c
modules/stream_out/standard.c
+2
-0
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
a60bd74c
...
@@ -245,10 +245,29 @@ void SoutDialog::updateMRL()
...
@@ -245,10 +245,29 @@ void SoutDialog::updateMRL()
mrl
=
smrl
.
getMrl
();
mrl
=
smrl
.
getMrl
();
/* FIXME, deal with SAP
if
(
ui
.
sap
->
isChecked
()
)
sout.b_sap = ui.sap->isChecked();
{
sout.psz_group = strdup( qtu( ui.sapGroup->text() ) );
QString
group
=
ui
.
sapGroup
->
text
();
sout.psz_name = strdup( qtu( ui.sapName->text() ) ); */
QString
name
=
ui
.
sapName
->
text
();
/* FIXME: This sucks. We should really return a QStringList instead of
* (mis)quoting, concatainating and split input item paramters. */
name
=
name
.
replace
(
" "
,
" "
);
group
=
group
.
replace
(
" "
,
" "
);
/* We need to add options for both standard and rtp targets */
/* This is inelegant but simple and functional */
mrl
.
append
(
qfu
(
" :sout-rtp-sap"
)
);
mrl
.
append
(
qfu
(
" :sout-rtp-name="
)
+
name
);
mrl
.
append
(
qfu
(
" :sout-standard-sap"
)
);
mrl
.
append
(
qfu
(
" :sout-standard-name="
)
+
name
);
mrl
.
append
(
qfu
(
" :sout-standard-group="
)
+
group
);
}
else
{
mrl
.
append
(
qfu
(
" :no-sout-rtp-sap"
)
);
mrl
.
append
(
qfu
(
" :no-sout-standard-sap"
)
);
}
if
(
ui
.
soutAll
->
isChecked
()
)
mrl
.
append
(
" :sout-all"
);
if
(
ui
.
soutAll
->
isChecked
()
)
mrl
.
append
(
" :sout-all"
);
...
...
modules/stream_out/standard.c
View file @
a60bd74c
...
@@ -182,6 +182,8 @@ static int Open( vlc_object_t *p_this )
...
@@ -182,6 +182,8 @@ static int Open( vlc_object_t *p_this )
const
char
*
psz_mux_byext
=
NULL
;
const
char
*
psz_mux_byext
=
NULL
;
(
void
)
p_stream
->
psz_object_name
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_stream
->
p_cfg
);
p_stream
->
p_cfg
);
...
...
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