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
4a1c8e4d
Commit
4a1c8e4d
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 adaptationset to period
Signed-off-by:
Hugo Beauzée-Luyssen
<
beauze.h@gmail.com
>
parent
fedf1dcb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
modules/stream_filter/dash/mpd/Period.cpp
modules/stream_filter/dash/mpd/Period.cpp
+12
-2
modules/stream_filter/dash/mpd/Period.h
modules/stream_filter/dash/mpd/Period.h
+7
-3
No files found.
modules/stream_filter/dash/mpd/Period.cpp
View file @
4a1c8e4d
...
...
@@ -52,3 +52,13 @@ void Period::addGroup(Group *group)
if
(
group
!=
NULL
)
this
->
groups
.
push_back
(
group
);
}
const
std
::
vector
<
AdaptationSet
*>&
Period
::
getAdaptationSets
()
const
{
return
this
->
adaptationSets
;
}
void
Period
::
addAdaptationSet
(
AdaptationSet
*
adaptationSet
)
{
if
(
adaptationSet
!=
NULL
)
this
->
adaptationSets
.
push_back
(
adaptationSet
);
}
modules/stream_filter/dash/mpd/Period.h
View file @
4a1c8e4d
...
...
@@ -28,6 +28,7 @@
#include <string>
#include "mpd/Group.h"
#include "mpd/AdaptationSet.h"
namespace
dash
{
...
...
@@ -39,11 +40,14 @@ namespace dash
Period
();
virtual
~
Period
();
const
std
::
vector
<
Group
*>&
getGroups
()
const
;
void
addGroup
(
Group
*
group
);
const
std
::
vector
<
Group
*>&
getGroups
()
const
;
void
addGroup
(
Group
*
group
);
const
std
::
vector
<
AdaptationSet
*>&
getAdaptationSets
()
const
;
void
addAdaptationSet
(
AdaptationSet
*
AdaptationSet
);
private:
std
::
vector
<
Group
*>
groups
;
std
::
vector
<
AdaptationSet
*>
adaptationSets
;
};
}
}
...
...
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