Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c3fa608c
Commit
c3fa608c
authored
Jan 01, 2015
by
François Cartegnie
🤞
Browse files
demux: dash: remove unused members
parent
18186c84
Changes
5
Hide whitespace changes
Inline
Side-by-side
modules/demux/dash/SegmentTracker.cpp
View file @
c3fa608c
...
...
@@ -91,9 +91,7 @@ Chunk * SegmentTracker::getNextChunk(Streams::Type type)
Chunk
*
chunk
=
segment
->
toChunk
(
count
,
rep
);
if
(
chunk
)
{
segment
->
done
();
count
++
;
}
return
chunk
;
}
modules/demux/dash/mpd/Segment.cpp
View file @
c3fa608c
...
...
@@ -76,15 +76,6 @@ dash::http::Chunk* ISegment::toChunk(size_t index, Representation *ctxrep)
return
chunk
;
}
bool
ISegment
::
isSingleShot
()
const
{
return
true
;
}
void
ISegment
::
done
()
{
//Only used for a SegmentTemplate.
}
void
ISegment
::
setByteRange
(
size_t
start
,
size_t
end
)
{
startByte
=
start
;
...
...
modules/demux/dash/mpd/Segment.h
View file @
c3fa608c
...
...
@@ -51,8 +51,6 @@ namespace dash
* That is basically true when using an Url, and false
* when using an UrlTemplate
*/
virtual
bool
isSingleShot
()
const
;
virtual
void
done
();
virtual
dash
::
http
::
Chunk
*
toChunk
(
size_t
,
Representation
*
=
NULL
);
virtual
void
setByteRange
(
size_t
start
,
size_t
end
);
virtual
size_t
getOffset
()
const
;
...
...
modules/demux/dash/mpd/SegmentTemplate.cpp
View file @
c3fa608c
...
...
@@ -61,11 +61,6 @@ void SegmentTemplate::setStartIndex(size_t i)
startIndex
=
i
;
}
bool
SegmentTemplate
::
isSingleShot
()
const
{
return
false
;
}
InitSegmentTemplate
::
InitSegmentTemplate
(
ICanonicalUrl
*
parent
)
:
SegmentTemplate
(
parent
)
{
...
...
modules/demux/dash/mpd/SegmentTemplate.h
View file @
c3fa608c
...
...
@@ -38,7 +38,6 @@ namespace dash
public:
SegmentTemplate
(
ICanonicalUrl
*
=
NULL
);
virtual
Url
getUrlSegment
()
const
;
/* reimpl */
virtual
bool
isSingleShot
()
const
;
size_t
getStartIndex
()
const
;
void
setStartIndex
(
size_t
);
Property
<
mtime_t
>
duration
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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