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
4bb0bc00
Commit
4bb0bc00
authored
Jan 30, 2012
by
Christopher Mueller
Committed by
Hugo Beauzée-Luyssen
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: added segmentlist and base to representation
Signed-off-by:
Hugo Beauzée-Luyssen
<
beauze.h@gmail.com
>
parent
4a1c8e4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
5 deletions
+33
-5
modules/stream_filter/dash/mpd/Representation.cpp
modules/stream_filter/dash/mpd/Representation.cpp
+24
-5
modules/stream_filter/dash/mpd/Representation.h
modules/stream_filter/dash/mpd/Representation.h
+9
-0
No files found.
modules/stream_filter/dash/mpd/Representation.cpp
View file @
4bb0bc00
...
...
@@ -31,11 +31,14 @@
using
namespace
dash
::
mpd
;
Representation
::
Representation
()
:
qualityRanking
(
-
1
),
segmentInfo
(
NULL
),
trickModeType
(
NULL
),
parentGroup
(
NULL
)
Representation
::
Representation
()
:
qualityRanking
(
-
1
),
segmentInfo
(
NULL
),
trickModeType
(
NULL
),
parentGroup
(
NULL
),
segmentBase
(
NULL
),
segmentList
(
NULL
)
{
}
...
...
@@ -120,3 +123,19 @@ void Representation::addDependency(const Representation *dep)
if
(
dep
!=
NULL
)
this
->
dependencies
.
push_back
(
dep
);
}
SegmentList
*
Representation
::
getSegmentList
()
const
{
return
this
->
segmentList
;
}
void
Representation
::
setSegmentList
(
SegmentList
*
list
)
{
this
->
segmentList
=
list
;
}
SegmentBase
*
Representation
::
getSegmentBase
()
const
{
return
this
->
segmentBase
;
}
void
Representation
::
setSegmentBase
(
SegmentBase
*
base
)
{
this
->
segmentBase
=
base
;
}
modules/stream_filter/dash/mpd/Representation.h
View file @
4bb0bc00
...
...
@@ -30,6 +30,8 @@
#include "mpd/CommonAttributesElements.h"
#include "mpd/SegmentInfo.h"
#include "mpd/TrickModeType.h"
#include "mpd/SegmentBase.h"
#include "mpd/SegmentList.h"
namespace
dash
{
...
...
@@ -70,6 +72,11 @@ namespace dash
const
Group
*
getParentGroup
()
const
;
void
setParentGroup
(
const
Group
*
group
);
SegmentList
*
getSegmentList
()
const
;
void
setSegmentList
(
SegmentList
*
list
);
SegmentBase
*
getSegmentBase
()
const
;
void
setSegmentBase
(
SegmentBase
*
base
);
private:
int
bandwidth
;
std
::
string
id
;
...
...
@@ -78,6 +85,8 @@ namespace dash
SegmentInfo
*
segmentInfo
;
TrickModeType
*
trickModeType
;
const
Group
*
parentGroup
;
SegmentBase
*
segmentBase
;
SegmentList
*
segmentList
;
};
}
}
...
...
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