Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
cad5438f
Commit
cad5438f
authored
Jan 19, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setid: small fix
Sorry, I failed my merge ;)
parent
7d68f213
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
modules/stream_out/setid.c
modules/stream_out/setid.c
+5
-6
No files found.
modules/stream_out/setid.c
View file @
cad5438f
...
...
@@ -88,9 +88,10 @@ 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
;
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
if
(
!
p_stream
->
p_next
)
{
...
...
@@ -102,10 +103,8 @@ static int Open( vlc_object_t *p_this )
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_stream
->
p_cfg
);
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"id"
,
&
val
);
p_sys
->
i_id
=
val
.
i_int
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"new-id"
,
&
val
);
p_sys
->
i_new_id
=
val
.
i_int
;
p_sys
->
i_id
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"id"
);
p_sys
->
i_new_id
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"new-id"
);
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