Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c495c265
Commit
c495c265
authored
Jan 20, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
e0e66bfc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
20 deletions
+15
-20
modules/stream_out/delay.c
modules/stream_out/delay.c
+7
-10
modules/stream_out/langfromtelx.c
modules/stream_out/langfromtelx.c
+4
-5
modules/stream_out/setid.c
modules/stream_out/setid.c
+4
-5
No files found.
modules/stream_out/delay.c
View file @
c495c265
...
...
@@ -91,26 +91,23 @@ 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
=
calloc
(
1
,
sizeof
(
sout_stream_sys_t
)
);
if
(
!
p_sys
)
return
VLC_ENOMEM
;
if
(
!
p_stream
->
p_next
)
{
msg_Err
(
p_stream
,
"cannot create chain"
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
p_sys
=
calloc
(
1
,
sizeof
(
sout_stream_sys_t
)
);
if
(
!
p_sys
)
return
VLC_ENOMEM
;
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
"delay"
,
&
val
);
p_sys
->
i_delay
=
val
.
i_int
*
1000
;
p_sys
->
i_id
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"id"
);
p_sys
->
i_delay
=
1000
*
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"delay"
);
p_stream
->
pf_add
=
Add
;
p_stream
->
pf_del
=
Del
;
...
...
modules/stream_out/langfromtelx.c
View file @
c495c265
...
...
@@ -105,17 +105,16 @@ static int Open( vlc_object_t *p_this )
sout_stream_t
*
p_stream
=
(
sout_stream_t
*
)
p_this
;
sout_stream_sys_t
*
p_sys
;
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
if
(
!
p_stream
->
p_next
)
{
msg_Err
(
p_stream
,
"cannot create chain"
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
config_ChainParse
(
p_stream
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_stream
->
p_cfg
);
...
...
modules/stream_out/setid.c
View file @
c495c265
...
...
@@ -116,17 +116,16 @@ static int OpenCommon( vlc_object_t *p_this )
sout_stream_t
*
p_stream
=
(
sout_stream_t
*
)
p_this
;
sout_stream_sys_t
*
p_sys
;
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
if
(
!
p_stream
->
p_next
)
{
msg_Err
(
p_stream
,
"cannot create chain"
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
p_sys
=
malloc
(
sizeof
(
sout_stream_sys_t
)
);
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
p_stream
->
pf_del
=
Del
;
p_stream
->
pf_send
=
Send
;
...
...
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