Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
c2a11325
Commit
c2a11325
authored
Jun 20, 2016
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: adaptive: add buffer length
parent
7961e490
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
modules/demux/adaptive/plumbing/CommandsQueue.cpp
modules/demux/adaptive/plumbing/CommandsQueue.cpp
+5
-0
modules/demux/adaptive/plumbing/CommandsQueue.hpp
modules/demux/adaptive/plumbing/CommandsQueue.hpp
+1
-0
No files found.
modules/demux/adaptive/plumbing/CommandsQueue.cpp
View file @
c2a11325
...
...
@@ -314,6 +314,11 @@ void CommandsQueue::setDrop( bool b )
vlc_mutex_unlock
(
&
lock
);
}
mtime_t
CommandsQueue
::
getDemuxedAmount
()
const
{
return
bufferinglevel
-
getFirstDTS
();
}
mtime_t
CommandsQueue
::
getBufferingLevel
()
const
{
mtime_t
i_buffer
;
...
...
modules/demux/adaptive/plumbing/CommandsQueue.hpp
View file @
c2a11325
...
...
@@ -145,6 +145,7 @@ namespace adaptive
void
Commit
();
bool
isEmpty
()
const
;
void
setDrop
(
bool
);
mtime_t
getDemuxedAmount
()
const
;
mtime_t
getBufferingLevel
()
const
;
mtime_t
getFirstDTS
()
const
;
...
...
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