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
d3086fea
Commit
d3086fea
authored
Jan 05, 2012
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Jan 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: Fixing SegmentInfoDefault parsing.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
83b82fc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/stream_filter/dash/mpd/BasicCMParser.cpp
modules/stream_filter/dash/mpd/BasicCMParser.cpp
+2
-3
No files found.
modules/stream_filter/dash/mpd/BasicCMParser.cpp
View file @
d3086fea
...
...
@@ -266,6 +266,7 @@ void BasicCMParser::setGroups (Node *root, Period *period)
std
::
map
<
std
::
string
,
std
::
string
>::
const_iterator
it
=
attr
.
find
(
"subsegmentAlignmentFlag"
);
if
(
it
!=
attr
.
end
()
&&
it
->
second
==
"true"
)
group
->
setSubsegmentAlignmentFlag
(
true
);
//Otherwise it is false by default.
this
->
parseSegmentInfoDefault
(
groups
.
at
(
i
),
group
);
this
->
setRepresentations
(
groups
.
at
(
i
),
group
);
period
->
addGroup
(
group
);
}
...
...
@@ -361,9 +362,7 @@ bool BasicCMParser::setSegmentInfo (Node *root, Representation *rep)
if
(
segmentInfo
)
{
const
std
::
map
<
std
::
string
,
std
::
string
>
attr
=
segmentInfo
->
getAttributes
();
SegmentInfo
*
info
=
new
SegmentInfo
();
SegmentInfo
*
info
=
new
SegmentInfo
;
this
->
parseSegmentInfoCommon
(
segmentInfo
,
info
);
//If we don't have any segment, there's no point keeping this SegmentInfo.
if
(
this
->
setSegments
(
segmentInfo
,
info
)
==
false
)
...
...
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