Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
247df4e9
Commit
247df4e9
authored
Nov 18, 2014
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter: dash: remove unused segment methods
parent
2da28c96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
modules/stream_filter/dash/mpd/Segment.cpp
modules/stream_filter/dash/mpd/Segment.cpp
+2
-17
modules/stream_filter/dash/mpd/Segment.h
modules/stream_filter/dash/mpd/Segment.h
+0
-4
No files found.
modules/stream_filter/dash/mpd/Segment.cpp
View file @
247df4e9
...
...
@@ -67,23 +67,13 @@ void Segment::addBaseUrl (BaseUrl *url)
{
this
->
baseUrls
.
push_back
(
url
);
}
const
std
::
vector
<
BaseUrl
*>&
Segment
::
getBaseUrls
()
const
{
return
this
->
baseUrls
;
}
void
Segment
::
setByteRange
(
int
start
,
int
end
)
{
this
->
startByte
=
start
;
this
->
endByte
=
end
;
}
int
Segment
::
getStartByte
()
const
{
return
this
->
startByte
;
}
int
Segment
::
getEndByte
()
const
{
return
this
->
endByte
;
}
dash
::
http
::
Chunk
*
Segment
::
toChunk
()
{
Chunk
*
chunk
=
new
Chunk
();
...
...
@@ -123,8 +113,3 @@ const Representation *Segment::getParentRepresentation() const
{
return
this
->
parentRepresentation
;
}
int
Segment
::
getSize
()
const
{
return
this
->
size
;
}
modules/stream_filter/dash/mpd/Segment.h
View file @
247df4e9
...
...
@@ -51,13 +51,9 @@ namespace dash
virtual
bool
isSingleShot
()
const
;
virtual
void
done
();
virtual
void
addBaseUrl
(
BaseUrl
*
url
);
virtual
const
std
::
vector
<
BaseUrl
*>&
getBaseUrls
()
const
;
virtual
void
setByteRange
(
int
start
,
int
end
);
virtual
int
getStartByte
()
const
;
virtual
int
getEndByte
()
const
;
virtual
dash
::
http
::
Chunk
*
toChunk
();
const
Representation
*
getParentRepresentation
()
const
;
virtual
int
getSize
()
const
;
protected:
std
::
string
sourceUrl
;
...
...
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