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
2eecbeed
Commit
2eecbeed
authored
Mar 09, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stats: remove encoder if !ENABLE_SOUT
parent
b64a4cd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/misc/stats.c
modules/misc/stats.c
+5
-0
No files found.
modules/misc/stats.c
View file @
2eecbeed
...
...
@@ -94,6 +94,7 @@ static int OpenDecoder ( vlc_object_t *p_this )
}
/*** Encoder ***/
#ifdef ENABLE_SOUT
static
block_t
*
EncodeVideo
(
encoder_t
*
p_enc
,
picture_t
*
p_pict
)
{
(
void
)
p_pict
;
...
...
@@ -127,7 +128,9 @@ static int OpenEncoder ( vlc_object_t *p_this )
return
VLC_SUCCESS
;
}
#endif
/*** Demuxer ***/
struct
demux_sys_t
{
es_format_t
fmt
;
...
...
@@ -206,11 +209,13 @@ static void CloseDemux ( vlc_object_t *p_this )
vlc_module_begin
()
set_shortname
(
N_
(
"Stats"
))
#ifdef ENABLE_SOUT
set_description
(
N_
(
"Stats encoder function"
)
)
set_capability
(
"encoder"
,
0
)
add_shortcut
(
"stats"
)
set_callbacks
(
OpenEncoder
,
NULL
)
add_submodule
()
#endif
set_section
(
N_
(
"Stats decoder"
),
NULL
)
set_description
(
N_
(
"Stats decoder function"
)
)
set_capability
(
"decoder"
,
0
)
...
...
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