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
e0e66bfc
Commit
e0e66bfc
authored
Jan 20, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sout_setid: parse the config string before any usage to var_Get.
parent
3bf3fdac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/stream_out/setid.c
modules/stream_out/setid.c
+6
-6
No files found.
modules/stream_out/setid.c
View file @
e0e66bfc
...
...
@@ -143,13 +143,13 @@ static int OpenId( vlc_object_t *p_this )
sout_stream_t
*
p_stream
=
(
sout_stream_t
*
)
p_this
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX_ID
,
ppsz_sout_options_id
,
p_stream
->
p_cfg
);
p_stream
->
p_sys
->
i_id
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX_ID
"id"
);
p_stream
->
p_sys
->
i_new_id
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX_ID
"new-id"
);
p_stream
->
p_sys
->
psz_language
=
NULL
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX_ID
,
ppsz_sout_options_id
,
p_stream
->
p_cfg
);
p_stream
->
pf_add
=
AddId
;
return
VLC_SUCCESS
;
...
...
@@ -163,13 +163,13 @@ static int OpenLang( vlc_object_t *p_this )
sout_stream_t
*
p_stream
=
(
sout_stream_t
*
)
p_this
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX_LANG
,
ppsz_sout_options_lang
,
p_stream
->
p_cfg
);
p_stream
->
p_sys
->
i_id
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX_LANG
"id"
);
p_stream
->
p_sys
->
i_new_id
=
-
1
;
p_stream
->
p_sys
->
psz_language
=
var_GetString
(
p_stream
,
SOUT_CFG_PREFIX_LANG
"lang"
);
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX_LANG
,
ppsz_sout_options_lang
,
p_stream
->
p_cfg
);
p_stream
->
pf_add
=
AddLang
;
return
VLC_SUCCESS
;
...
...
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