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
f96f02d9
Commit
f96f02d9
authored
Feb 21, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input_DecoderCreate: missing const
parent
77befcec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/vlc_input.h
include/vlc_input.h
+1
-1
src/input/decoder.c
src/input/decoder.c
+4
-4
No files found.
include/vlc_input.h
View file @
f96f02d9
...
...
@@ -614,7 +614,7 @@ static inline int input_ModifyPcrSystem( input_thread_t *p_input, bool b_absolut
}
/* */
VLC_API
decoder_t
*
input_DecoderCreate
(
vlc_object_t
*
,
es_format_t
*
,
input_resource_t
*
)
VLC_USED
;
VLC_API
decoder_t
*
input_DecoderCreate
(
vlc_object_t
*
,
const
es_format_t
*
,
input_resource_t
*
)
VLC_USED
;
VLC_API
void
input_DecoderDelete
(
decoder_t
*
);
VLC_API
void
input_DecoderDecode
(
decoder_t
*
,
block_t
*
,
bool
b_do_pace
);
...
...
src/input/decoder.c
View file @
f96f02d9
...
...
@@ -54,7 +54,7 @@
#include "../video_output/vout_control.h"
static
decoder_t
*
CreateDecoder
(
vlc_object_t
*
,
input_thread_t
*
,
es_format_t
*
,
bool
,
input_resource_t
*
,
const
es_format_t
*
,
bool
,
input_resource_t
*
,
sout_instance_t
*
p_sout
);
static
void
DeleteDecoder
(
decoder_t
*
);
...
...
@@ -223,7 +223,7 @@ int decoder_GetDisplayRate( decoder_t *p_dec )
/* TODO: pass p_sout through p_resource? -- Courmisch */
static
decoder_t
*
decoder_New
(
vlc_object_t
*
p_parent
,
input_thread_t
*
p_input
,
es_format_t
*
fmt
,
input_clock_t
*
p_clock
,
const
es_format_t
*
fmt
,
input_clock_t
*
p_clock
,
input_resource_t
*
p_resource
,
sout_instance_t
*
p_sout
)
{
...
...
@@ -290,7 +290,7 @@ decoder_t *input_DecoderNew( input_thread_t *p_input,
/**
* Spawn a decoder thread outside of the input thread.
*/
decoder_t
*
input_DecoderCreate
(
vlc_object_t
*
p_parent
,
es_format_t
*
fmt
,
decoder_t
*
input_DecoderCreate
(
vlc_object_t
*
p_parent
,
const
es_format_t
*
fmt
,
input_resource_t
*
p_resource
)
{
return
decoder_New
(
p_parent
,
NULL
,
fmt
,
NULL
,
p_resource
,
NULL
);
...
...
@@ -701,7 +701,7 @@ static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
*/
static
decoder_t
*
CreateDecoder
(
vlc_object_t
*
p_parent
,
input_thread_t
*
p_input
,
es_format_t
*
fmt
,
bool
b_packetizer
,
const
es_format_t
*
fmt
,
bool
b_packetizer
,
input_resource_t
*
p_resource
,
sout_instance_t
*
p_sout
)
{
...
...
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