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
5299df74
Commit
5299df74
authored
Feb 01, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: Use a const Representation to extract segments.
parent
f9d613c5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
modules/stream_filter/dash/mpd/BasicCMManager.cpp
modules/stream_filter/dash/mpd/BasicCMManager.cpp
+2
-1
modules/stream_filter/dash/mpd/BasicCMManager.h
modules/stream_filter/dash/mpd/BasicCMManager.h
+1
-1
modules/stream_filter/dash/mpd/IMPDManager.h
modules/stream_filter/dash/mpd/IMPDManager.h
+1
-1
modules/stream_filter/dash/mpd/IsoffMainManager.cpp
modules/stream_filter/dash/mpd/IsoffMainManager.cpp
+1
-1
modules/stream_filter/dash/mpd/IsoffMainManager.h
modules/stream_filter/dash/mpd/IsoffMainManager.h
+1
-1
No files found.
modules/stream_filter/dash/mpd/BasicCMManager.cpp
View file @
5299df74
...
...
@@ -40,7 +40,7 @@ BasicCMManager::~BasicCMManager ()
delete
this
->
mpd
;
}
std
::
vector
<
Segment
*>
BasicCMManager
::
getSegments
(
Representation
*
rep
)
std
::
vector
<
Segment
*>
BasicCMManager
::
getSegments
(
const
Representation
*
rep
)
{
std
::
vector
<
Segment
*>
retSegments
;
SegmentInfo
*
info
=
rep
->
getSegmentInfo
();
...
...
@@ -134,3 +134,4 @@ const MPD* BasicCMManager::getMPD() const
{
return
this
->
mpd
;
}
modules/stream_filter/dash/mpd/BasicCMManager.h
View file @
5299df74
...
...
@@ -51,7 +51,7 @@ namespace dash
Period
*
getFirstPeriod
();
Period
*
getNextPeriod
(
Period
*
period
);
Representation
*
getBestRepresentation
(
Period
*
period
);
std
::
vector
<
Segment
*>
getSegments
(
Representation
*
rep
);
std
::
vector
<
Segment
*>
getSegments
(
const
Representation
*
rep
);
Representation
*
getRepresentation
(
Period
*
period
,
int
bitrate
);
const
MPD
*
getMPD
()
const
;
...
...
modules/stream_filter/dash/mpd/IMPDManager.h
View file @
5299df74
...
...
@@ -49,7 +49,7 @@ namespace dash
virtual
Period
*
getFirstPeriod
()
=
0
;
virtual
Period
*
getNextPeriod
(
Period
*
period
)
=
0
;
virtual
Representation
*
getBestRepresentation
(
Period
*
period
)
=
0
;
virtual
std
::
vector
<
Segment
*>
getSegments
(
Representation
*
rep
)
=
0
;
virtual
std
::
vector
<
Segment
*>
getSegments
(
const
Representation
*
rep
)
=
0
;
virtual
Representation
*
getRepresentation
(
Period
*
period
,
int
bitrate
)
=
0
;
virtual
const
MPD
*
getMPD
()
const
=
0
;
virtual
~
IMPDManager
(){}
...
...
modules/stream_filter/dash/mpd/IsoffMainManager.cpp
View file @
5299df74
...
...
@@ -39,7 +39,7 @@ IsoffMainManager::~IsoffMainManager ()
delete
this
->
mpd
;
}
std
::
vector
<
Segment
*>
IsoffMainManager
::
getSegments
(
Representation
*
rep
)
std
::
vector
<
Segment
*>
IsoffMainManager
::
getSegments
(
const
Representation
*
rep
)
{
std
::
vector
<
Segment
*>
retSegments
;
SegmentList
*
list
=
rep
->
getSegmentList
();
...
...
modules/stream_filter/dash/mpd/IsoffMainManager.h
View file @
5299df74
...
...
@@ -51,7 +51,7 @@ namespace dash
Period
*
getFirstPeriod
();
Period
*
getNextPeriod
(
Period
*
period
);
Representation
*
getBestRepresentation
(
Period
*
period
);
std
::
vector
<
Segment
*>
getSegments
(
Representation
*
rep
);
std
::
vector
<
Segment
*>
getSegments
(
const
Representation
*
rep
);
Representation
*
getRepresentation
(
Period
*
period
,
int
bitrate
);
const
MPD
*
getMPD
()
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