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
fed486eb
Commit
fed486eb
authored
Mar 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
62711b4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
modules/stream_out/display.c
modules/stream_out/display.c
+8
-12
No files found.
modules/stream_out/display.c
View file @
fed486eb
...
...
@@ -95,28 +95,24 @@ 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
)
);
if
(
p_sys
==
NULL
)
return
VLC_ENOMEM
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_stream
->
p_cfg
);
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
p_sys
->
p_input
=
NULL
;
p_sys
->
i_es
=
0
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"audio"
,
&
val
);
p_sys
->
b_audio
=
val
.
b_bool
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"video"
,
&
val
);
p_sys
->
b_video
=
val
.
b_bool
;
var_Get
(
p_stream
,
SOUT_CFG_PREFIX
"delay"
,
&
val
);
p_sys
->
i_delay
=
(
int64_t
)
val
.
i_int
*
1000
;
p_sys
->
b_audio
=
var_GetBool
(
p_stream
,
SOUT_CFG_PREFIX
"audio"
);
p_sys
->
b_video
=
var_GetBool
(
p_stream
,
SOUT_CFG_PREFIX
"video"
);
p_sys
->
i_delay
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"delay"
);
p_sys
->
i_delay
*=
1000
;
p_stream
->
pf_add
=
Add
;
p_stream
->
pf_del
=
Del
;
p_stream
->
pf_send
=
Send
;
p_stream
->
p_sys
=
p_sys
;
/* update p_sout->i_out_pace_nocontrol */
...
...
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