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
c3fa608c
Commit
c3fa608c
authored
Jan 01, 2015
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: dash: remove unused members
parent
18186c84
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
20 deletions
+1
-20
modules/demux/dash/SegmentTracker.cpp
modules/demux/dash/SegmentTracker.cpp
+1
-3
modules/demux/dash/mpd/Segment.cpp
modules/demux/dash/mpd/Segment.cpp
+0
-9
modules/demux/dash/mpd/Segment.h
modules/demux/dash/mpd/Segment.h
+0
-2
modules/demux/dash/mpd/SegmentTemplate.cpp
modules/demux/dash/mpd/SegmentTemplate.cpp
+0
-5
modules/demux/dash/mpd/SegmentTemplate.h
modules/demux/dash/mpd/SegmentTemplate.h
+0
-1
No files found.
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
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