Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bf38fbd0
Commit
bf38fbd0
authored
Dec 19, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make static a bunch of functions
parent
4eb9b935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
src/stream_output/profiles.c
src/stream_output/profiles.c
+10
-7
No files found.
src/stream_output/profiles.c
View file @
bf38fbd0
...
...
@@ -40,7 +40,7 @@
/** Add a new duplicate element to a streaming chain
* \return the new element
*/
sout_duplicate_t
*
streaming_ChainAddDup
(
sout_chain_t
*
p_chain
)
s
tatic
s
out_duplicate_t
*
streaming_ChainAddDup
(
sout_chain_t
*
p_chain
)
{
DECMALLOC_NULL
(
p_module
,
sout_module_t
);
MALLOC_NULL
(
DUPM
,
sout_duplicate_t
);
...
...
@@ -54,8 +54,10 @@ sout_duplicate_t *streaming_ChainAddDup( sout_chain_t *p_chain )
/** Add a new standard element to a streaming chain
* \return the new element
*/
sout_std_t
*
streaming_ChainAddStd
(
sout_chain_t
*
p_chain
,
char
*
psz_access
,
char
*
psz_mux
,
char
*
psz_url
)
static
sout_std_t
*
streaming_ChainAddStd
(
sout_chain_t
*
p_chain
,
const
char
*
psz_access
,
const
char
*
psz_mux
,
const
char
*
psz_url
)
{
DECMALLOC_NULL
(
p_module
,
sout_module_t
);
MALLOC_NULL
(
STDM
,
sout_std_t
);
...
...
@@ -66,10 +68,11 @@ sout_std_t *streaming_ChainAddStd( sout_chain_t *p_chain, char *psz_access,
TAB_APPEND
(
p_chain
->
i_modules
,
p_chain
->
pp_modules
,
p_module
);
return
STDM
;
}
/** Add a new display element to a streaming chain
* \return the new element
*/
sout_display_t
*
streaming_ChainAddDisplay
(
sout_chain_t
*
p_chain
)
s
tatic
s
out_display_t
*
streaming_ChainAddDisplay
(
sout_chain_t
*
p_chain
)
{
DECMALLOC_NULL
(
p_module
,
sout_module_t
);
MALLOC_NULL
(
DISM
,
sout_display_t
);
...
...
@@ -81,7 +84,7 @@ sout_display_t *streaming_ChainAddDisplay( sout_chain_t *p_chain )
/** Add a new transcode element to a streaming chain
* \return the new element
*/
sout_transcode_t
*
streaming_ChainAddTranscode
(
sout_chain_t
*
p_chain
,
s
tatic
s
out_transcode_t
*
streaming_ChainAddTranscode
(
sout_chain_t
*
p_chain
,
char
*
psz_vcodec
,
char
*
psz_acodec
,
char
*
psz_scodec
,
int
i_vb
,
float
f_scale
,
int
i_ab
,
int
i_channels
,
vlc_bool_t
b_soverlay
,
char
*
psz_additional
)
...
...
@@ -102,7 +105,7 @@ sout_transcode_t *streaming_ChainAddTranscode( sout_chain_t *p_chain,
}
/** Add a new clean child chain to an existing duplicate element */
void
streaming_DupAddChild
(
sout_duplicate_t
*
p_dup
)
static
void
streaming_DupAddChild
(
sout_duplicate_t
*
p_dup
)
{
assert
(
p_dup
);
sout_chain_t
*
p_child
=
streaming_ChainNew
();
...
...
@@ -118,7 +121,7 @@ void streaming_DupAddChild( sout_duplicate_t *p_dup )
free( psz_opt ); }
/** Clean up a chain (recursively if it has some children) */
void
streaming_ChainClean
(
sout_chain_t
*
p_chain
)
static
void
streaming_ChainClean
(
sout_chain_t
*
p_chain
)
{
int
i
,
j
;
sout_module_t
*
p_module
;
...
...
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