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
8641c42f
Commit
8641c42f
authored
Oct 15, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sout_es: use var_GetString.
parent
5a960f61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
21 deletions
+11
-21
modules/stream_out/es.c
modules/stream_out/es.c
+11
-21
No files found.
modules/stream_out/es.c
View file @
8641c42f
...
...
@@ -149,7 +149,6 @@ static int Open( vlc_object_t *p_this )
{
sout_stream_t
*
p_stream
=
(
sout_stream_t
*
)
p_this
;
sout_stream_sys_t
*
p_sys
;
vlc_value_t
val
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_stream
->
p_cfg
);
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
...
...
@@ -158,26 +157,17 @@ static int Open( vlc_object_t *p_this )
p_sys
->
i_count_audio
=
0
;
p_sys
->
i_count_video
=
0
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"access"
,
&
val
);
p_sys
->
psz_access
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"access-audio"
,
&
val
);
p_sys
->
psz_access_audio
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"access-video"
,
&
val
);
p_sys
->
psz_access_video
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"mux"
,
&
val
);
p_sys
->
psz_mux
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"mux-audio"
,
&
val
);
p_sys
->
psz_mux_audio
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"mux-video"
,
&
val
);
p_sys
->
psz_mux_video
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"dst"
,
&
val
);
p_sys
->
psz_dst
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"dst-audio"
,
&
val
);
p_sys
->
psz_dst_audio
=
val
.
psz_string
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"dst-video"
,
&
val
);
p_sys
->
psz_dst_video
=
val
.
psz_string
;
p_sys
->
psz_access
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"access"
);
p_sys
->
psz_access_audio
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"access-audio"
);
p_sys
->
psz_access_video
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"access-video"
);
p_sys
->
psz_mux
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"mux"
);
p_sys
->
psz_mux_audio
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"mux-audio"
);
p_sys
->
psz_mux_video
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"mux-video"
);
p_sys
->
psz_dst
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"dst"
);
p_sys
->
psz_dst_audio
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"dst-audio"
);
p_sys
->
psz_dst_video
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX
"dst-video"
);
p_stream
->
pf_add
=
Add
;
p_stream
->
pf_del
=
Del
;
...
...
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