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
476935e1
Commit
476935e1
authored
Nov 17, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dash: C++ sanitization
parent
fecd538c
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
6 deletions
+11
-6
modules/stream_filter/dash/adaptationlogic/IDownloadRateObserver.h
...tream_filter/dash/adaptationlogic/IDownloadRateObserver.h
+1
-0
modules/stream_filter/dash/http/Chunk.cpp
modules/stream_filter/dash/http/Chunk.cpp
+3
-2
modules/stream_filter/dash/http/IHTTPConnection.h
modules/stream_filter/dash/http/IHTTPConnection.h
+1
-0
modules/stream_filter/dash/mpd/BaseUrl.h
modules/stream_filter/dash/mpd/BaseUrl.h
+2
-2
modules/stream_filter/dash/mpd/BasicCMParser.cpp
modules/stream_filter/dash/mpd/BasicCMParser.cpp
+1
-2
modules/stream_filter/dash/mpd/IMPDManager.h
modules/stream_filter/dash/mpd/IMPDManager.h
+1
-0
modules/stream_filter/dash/mpd/IMPDParser.h
modules/stream_filter/dash/mpd/IMPDParser.h
+1
-0
modules/stream_filter/dash/mpd/ISegment.h
modules/stream_filter/dash/mpd/ISegment.h
+1
-0
No files found.
modules/stream_filter/dash/adaptationlogic/IDownloadRateObserver.h
View file @
476935e1
...
@@ -33,6 +33,7 @@ namespace dash
...
@@ -33,6 +33,7 @@ namespace dash
{
{
public:
public:
virtual
void
downloadRateChanged
(
long
bpsAvg
,
long
bpsLastChunk
)
=
0
;
virtual
void
downloadRateChanged
(
long
bpsAvg
,
long
bpsLastChunk
)
=
0
;
virtual
~
IDownloadRateObserver
(){}
};
};
}
}
}
}
...
...
modules/stream_filter/dash/http/Chunk.cpp
View file @
476935e1
...
@@ -29,9 +29,10 @@
...
@@ -29,9 +29,10 @@
using
namespace
dash
::
http
;
using
namespace
dash
::
http
;
Chunk
::
Chunk
()
Chunk
::
Chunk
()
:
url
()
{
{
startByte
=
endByte
=
0
;
}
}
Chunk
::~
Chunk
()
Chunk
::~
Chunk
()
{
{
...
...
modules/stream_filter/dash/http/IHTTPConnection.h
View file @
476935e1
...
@@ -37,6 +37,7 @@ namespace dash
...
@@ -37,6 +37,7 @@ namespace dash
public:
public:
virtual
int
read
(
void
*
p_buffer
,
size_t
len
)
=
0
;
virtual
int
read
(
void
*
p_buffer
,
size_t
len
)
=
0
;
virtual
int
peek
(
const
uint8_t
**
pp_peek
,
size_t
i_peek
)
=
0
;
virtual
int
peek
(
const
uint8_t
**
pp_peek
,
size_t
i_peek
)
=
0
;
virtual
~
IHTTPConnection
()
{}
};
};
}
}
}
}
...
...
modules/stream_filter/dash/mpd/BaseUrl.h
View file @
476935e1
...
@@ -34,10 +34,10 @@ namespace dash
...
@@ -34,10 +34,10 @@ namespace dash
class
BaseUrl
class
BaseUrl
{
{
public:
public:
BaseUrl
(
std
::
string
url
)
{
this
->
url
=
url
;
}
BaseUrl
(
const
std
::
string
&
url
)
:
url
(
url
)
{
}
virtual
~
BaseUrl
()
{}
virtual
~
BaseUrl
()
{}
std
::
string
getUrl
()
{
return
this
->
url
;
}
const
std
::
string
&
getUrl
()
const
{
return
this
->
url
;
}
private:
private:
std
::
string
url
;
std
::
string
url
;
...
...
modules/stream_filter/dash/mpd/BasicCMParser.cpp
View file @
476935e1
...
@@ -30,9 +30,8 @@
...
@@ -30,9 +30,8 @@
using
namespace
dash
::
mpd
;
using
namespace
dash
::
mpd
;
using
namespace
dash
::
xml
;
using
namespace
dash
::
xml
;
BasicCMParser
::
BasicCMParser
(
Node
*
root
)
BasicCMParser
::
BasicCMParser
(
Node
*
root
)
:
root
(
root
),
mpd
(
NULL
)
{
{
this
->
root
=
root
;
}
}
BasicCMParser
::~
BasicCMParser
()
BasicCMParser
::~
BasicCMParser
()
{
{
...
...
modules/stream_filter/dash/mpd/IMPDManager.h
View file @
476935e1
...
@@ -32,6 +32,7 @@ namespace dash
...
@@ -32,6 +32,7 @@ namespace dash
virtual
Representation
*
getBestRepresentation
(
Period
*
period
)
=
0
;
virtual
Representation
*
getBestRepresentation
(
Period
*
period
)
=
0
;
virtual
std
::
vector
<
ISegment
*>
getSegments
(
Representation
*
rep
)
=
0
;
virtual
std
::
vector
<
ISegment
*>
getSegments
(
Representation
*
rep
)
=
0
;
virtual
Representation
*
getRepresentation
(
Period
*
period
,
long
bitrate
)
=
0
;
virtual
Representation
*
getRepresentation
(
Period
*
period
,
long
bitrate
)
=
0
;
virtual
~
IMPDManager
(){}
};
};
}
}
}
}
...
...
modules/stream_filter/dash/mpd/IMPDParser.h
View file @
476935e1
...
@@ -36,6 +36,7 @@ namespace dash
...
@@ -36,6 +36,7 @@ namespace dash
public:
public:
virtual
bool
parse
()
=
0
;
virtual
bool
parse
()
=
0
;
virtual
MPD
*
getMPD
()
=
0
;
virtual
MPD
*
getMPD
()
=
0
;
virtual
~
IMPDParser
(){}
};
};
}
}
}
}
...
...
modules/stream_filter/dash/mpd/ISegment.h
View file @
476935e1
...
@@ -37,6 +37,7 @@ namespace dash
...
@@ -37,6 +37,7 @@ namespace dash
{
{
public:
public:
virtual
std
::
string
getSourceUrl
()
throw
(
dash
::
exception
::
AttributeNotPresentException
)
=
0
;
virtual
std
::
string
getSourceUrl
()
throw
(
dash
::
exception
::
AttributeNotPresentException
)
=
0
;
virtual
~
ISegment
(){}
};
};
}
}
}
}
...
...
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