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
4ec19f78
Commit
4ec19f78
authored
Dec 11, 2013
by
Felix Abecassis
Committed by
Jean-Baptiste Kempf
Dec 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: remove useless function DecoderFlushBuffering from decoder.c
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
40fde063
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
src/input/decoder.c
src/input/decoder.c
+0
-24
No files found.
src/input/decoder.c
View file @
4ec19f78
...
...
@@ -63,7 +63,6 @@ static void DecoderProcess( decoder_t *, block_t * );
static
void
DecoderOutputChangePause
(
decoder_t
*
,
bool
b_paused
,
mtime_t
i_date
);
static
void
DecoderFlush
(
decoder_t
*
);
static
void
DecoderSignalBuffering
(
decoder_t
*
,
bool
);
static
void
DecoderFlushBuffering
(
decoder_t
*
);
static
void
DecoderUnsupportedCodec
(
decoder_t
*
,
vlc_fourcc_t
);
...
...
@@ -1496,14 +1495,6 @@ static void DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block )
}
#endif
/* */
static
void
DecoderFlushBuffering
(
decoder_t
*
p_dec
)
{
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
vlc_assert_locked
(
&
p_owner
->
lock
);
}
#ifdef ENABLE_SOUT
/* This function process a block for sout
*/
...
...
@@ -1720,7 +1711,6 @@ static void DecoderProcessOnFlush( decoder_t *p_dec )
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
vlc_mutex_lock
(
&
p_owner
->
lock
);
DecoderFlushBuffering
(
p_dec
);
if
(
p_owner
->
b_flushing
)
{
...
...
@@ -1822,11 +1812,6 @@ static void DeleteDecoder( decoder_t * p_dec )
block_FifoEmpty
(
p_owner
->
p_fifo
);
block_FifoRelease
(
p_owner
->
p_fifo
);
/* */
vlc_mutex_lock
(
&
p_owner
->
lock
);
DecoderFlushBuffering
(
p_dec
);
vlc_mutex_unlock
(
&
p_owner
->
lock
);
/* Cleanup */
if
(
p_owner
->
p_aout
)
{
...
...
@@ -1944,7 +1929,6 @@ static int aout_update_format( decoder_t *p_dec )
/* Parameters changed, restart the aout */
vlc_mutex_lock
(
&
p_owner
->
lock
);
DecoderFlushBuffering
(
p_dec
);
aout_DecDelete
(
p_owner
->
p_aout
);
p_owner
->
p_aout
=
NULL
;
...
...
@@ -2105,8 +2089,6 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
vlc_mutex_lock
(
&
p_owner
->
lock
);
DecoderFlushBuffering
(
p_dec
);
p_vout
=
p_owner
->
p_vout
;
p_owner
->
p_vout
=
NULL
;
vlc_mutex_unlock
(
&
p_owner
->
lock
);
...
...
@@ -2219,12 +2201,6 @@ static subpicture_t *spu_new_buffer( decoder_t *p_dec,
if
(
p_owner
->
p_spu_vout
!=
p_vout
)
{
vlc_mutex_lock
(
&
p_owner
->
lock
);
DecoderFlushBuffering
(
p_dec
);
vlc_mutex_unlock
(
&
p_owner
->
lock
);
p_owner
->
i_spu_channel
=
vout_RegisterSubpictureChannel
(
p_vout
);
p_owner
->
i_spu_order
=
0
;
p_owner
->
p_spu_vout
=
p_vout
;
...
...
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