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
27459888
Commit
27459888
authored
Nov 25, 2011
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Nov 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: DOMparser: Replacing an init method by an init list.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
55ea9b1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
modules/stream_filter/dash/xml/DOMParser.cpp
modules/stream_filter/dash/xml/DOMParser.cpp
+7
-8
modules/stream_filter/dash/xml/DOMParser.h
modules/stream_filter/dash/xml/DOMParser.h
+0
-1
No files found.
modules/stream_filter/dash/xml/DOMParser.cpp
View file @
27459888
...
...
@@ -31,11 +31,14 @@ using namespace dash::xml;
using
namespace
dash
::
http
;
using
namespace
dash
::
mpd
;
DOMParser
::
DOMParser
(
stream_t
*
stream
)
DOMParser
::
DOMParser
(
stream_t
*
stream
)
:
root
(
NULL
),
stream
(
stream
),
vlc_xml
(
NULL
),
vlc_reader
(
NULL
)
{
this
->
stream
=
stream
;
this
->
init
();
}
DOMParser
::~
DOMParser
()
{
if
(
this
->
vlc_reader
)
...
...
@@ -123,11 +126,7 @@ void DOMParser::print (Node *node, int offset)
this
->
print
(
node
->
getSubNodes
().
at
(
i
),
offset
);
}
}
void
DOMParser
::
init
()
{
this
->
root
=
NULL
;
this
->
vlc_reader
=
NULL
;
}
void
DOMParser
::
print
()
{
this
->
print
(
this
->
root
,
0
);
...
...
modules/stream_filter/dash/xml/DOMParser.h
View file @
27459888
...
...
@@ -64,7 +64,6 @@ namespace dash
xml_t
*
vlc_xml
;
xml_reader_t
*
vlc_reader
;
void
init
();
Node
*
processNode
();
void
addAttributesToNode
(
Node
*
node
);
void
print
(
Node
*
node
,
int
offset
);
...
...
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