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
6ee46f4b
Commit
6ee46f4b
authored
Dec 23, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: dash: remove unused buffer observer impl
parent
cf3f7140
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
22 deletions
+2
-22
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.cpp
...m_filter/dash/adaptationlogic/AbstractAdaptationLogic.cpp
+1
-14
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.h
...eam_filter/dash/adaptationlogic/AbstractAdaptationLogic.h
+0
-7
modules/stream_filter/dash/adaptationlogic/IAdaptationLogic.h
...les/stream_filter/dash/adaptationlogic/IAdaptationLogic.h
+1
-1
No files found.
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.cpp
View file @
6ee46f4b
...
...
@@ -35,9 +35,7 @@ AbstractAdaptationLogic::AbstractAdaptationLogic (MPD *mpd_) :
mpd
(
mpd_
),
currentPeriod
(
mpd
->
getFirstPeriod
()),
count
(
0
),
prevRepresentation
(
NULL
),
bufferedMicroSec
(
0
),
bufferedPercent
(
0
)
prevRepresentation
(
NULL
)
{
}
...
...
@@ -99,17 +97,6 @@ Chunk* AbstractAdaptationLogic::getNextChunk(Streams::Type type)
return
NULL
;
}
void
AbstractAdaptationLogic
::
bufferLevelChanged
(
mtime_t
bufferedMicroSec
,
int
bufferedPercent
)
{
this
->
bufferedMicroSec
=
bufferedMicroSec
;
this
->
bufferedPercent
=
bufferedPercent
;
}
void
AbstractAdaptationLogic
::
updateDownloadRate
(
size_t
,
mtime_t
)
{
}
int
AbstractAdaptationLogic
::
getBufferPercent
()
const
{
return
this
->
bufferedPercent
;
}
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.h
View file @
6ee46f4b
...
...
@@ -47,18 +47,11 @@ namespace dash
virtual
void
updateDownloadRate
(
size_t
,
mtime_t
);
virtual
void
bufferLevelChanged
(
mtime_t
bufferedMicroSec
,
int
bufferedPercent
);
int
getBufferPercent
()
const
;
protected:
dash
::
mpd
::
MPD
*
mpd
;
dash
::
mpd
::
Period
*
currentPeriod
;
size_t
count
;
mpd
::
Representation
*
prevRepresentation
;
private:
mtime_t
bufferedMicroSec
;
int
bufferedPercent
;
};
}
}
...
...
modules/stream_filter/dash/adaptationlogic/IAdaptationLogic.h
View file @
6ee46f4b
...
...
@@ -35,7 +35,7 @@ namespace dash
{
namespace
logic
{
class
IAdaptationLogic
:
public
IDownloadRateObserver
,
public
dash
::
buffer
::
IBufferObserver
class
IAdaptationLogic
:
public
IDownloadRateObserver
{
public:
...
...
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