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
43aab246
Commit
43aab246
authored
Jul 16, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added input_DecoderGetFifoSize helper.
parent
b508c8c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/input/decoder.c
src/input/decoder.c
+7
-0
src/input/decoder.h
src/input/decoder.h
+5
-0
No files found.
src/input/decoder.c
View file @
43aab246
...
...
@@ -620,6 +620,13 @@ bool input_DecoderHasFormatChanged( decoder_t *p_dec, es_format_t *p_fmt, vlc_me
return
b_changed
;
}
size_t
input_DecoderGetFifoSize
(
decoder_t
*
p_dec
)
{
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
return
block_FifoSize
(
p_owner
->
p_fifo
);
}
/*****************************************************************************
* Internal functions
*****************************************************************************/
...
...
src/input/decoder.h
View file @
43aab246
...
...
@@ -99,4 +99,9 @@ void input_DecoderFrameNext( decoder_t *p_dec, mtime_t *pi_duration );
*/
bool
input_DecoderHasFormatChanged
(
decoder_t
*
p_dec
,
es_format_t
*
p_fmt
,
vlc_meta_t
**
pp_meta
);
/**
* This function returns the current size in bytes of the decoder fifo
*/
size_t
input_DecoderGetFifoSize
(
decoder_t
*
p_dec
);
#endif
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