Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
22230d8a
Commit
22230d8a
authored
Jan 30, 2012
by
Christopher Mueller
Committed by
Hugo Beauzée-Luyssen
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: chunk added optionalurl setter
Signed-off-by:
Hugo Beauzée-Luyssen
<
beauze.h@gmail.com
>
parent
d20d8bd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
modules/stream_filter/dash/http/Chunk.cpp
modules/stream_filter/dash/http/Chunk.cpp
+10
-7
modules/stream_filter/dash/http/Chunk.h
modules/stream_filter/dash/http/Chunk.h
+1
-0
No files found.
modules/stream_filter/dash/http/Chunk.cpp
View file @
22230d8a
...
@@ -42,7 +42,6 @@ int Chunk::getStartByte () const
...
@@ -42,7 +42,6 @@ int Chunk::getStartByte () const
{
{
return
startByte
;
return
startByte
;
}
}
const
std
::
string
&
Chunk
::
getUrl
()
const
const
std
::
string
&
Chunk
::
getUrl
()
const
{
{
return
url
;
return
url
;
...
@@ -55,7 +54,11 @@ void Chunk::setStartByte (int startByte)
...
@@ -55,7 +54,11 @@ void Chunk::setStartByte (int startByte)
{
{
this
->
startByte
=
startByte
;
this
->
startByte
=
startByte
;
}
}
void
Chunk
::
setUrl
(
const
std
::
string
&
url
)
void
Chunk
::
setUrl
(
const
std
::
string
&
url
)
{
{
this
->
url
=
url
;
this
->
url
=
url
;
}
}
void
Chunk
::
addOptionalUrl
(
const
std
::
string
&
url
)
{
this
->
optionalUrls
.
push_back
(
url
);
}
modules/stream_filter/dash/http/Chunk.h
View file @
22230d8a
...
@@ -43,6 +43,7 @@ namespace dash
...
@@ -43,6 +43,7 @@ namespace dash
void
setEndByte
(
int
endByte
);
void
setEndByte
(
int
endByte
);
void
setStartByte
(
int
startByte
);
void
setStartByte
(
int
startByte
);
void
setUrl
(
const
std
::
string
&
url
);
void
setUrl
(
const
std
::
string
&
url
);
void
addOptionalUrl
(
const
std
::
string
&
url
);
private:
private:
std
::
string
url
;
std
::
string
url
;
...
...
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