Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
f499679e
Commit
f499679e
authored
Sep 05, 2018
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashdec: refine mpd element of attribute name availabilityEndTime
Signed-off-by:
Steven Liu
<
lq@onvideo.cn
>
parent
fbd8746e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dashdec.c
libavformat/dashdec.c
+3
-0
No files found.
libavformat/dashdec.c
View file @
f499679e
...
...
@@ -132,6 +132,7 @@ typedef struct DASHContext {
uint64_t
media_presentation_duration
;
uint64_t
suggested_presentation_delay
;
uint64_t
availability_start_time
;
uint64_t
availability_end_time
;
uint64_t
publish_time
;
uint64_t
minimum_update_period
;
uint64_t
time_shift_buffer_depth
;
...
...
@@ -1191,6 +1192,8 @@ static int parse_manifest(AVFormatContext *s, const char *url, AVIOContext *in)
if
(
!
av_strcasecmp
(
attr
->
name
,
(
const
char
*
)
"availabilityStartTime"
))
{
c
->
availability_start_time
=
get_utc_date_time_insec
(
s
,
(
const
char
*
)
val
);
}
else
if
(
!
av_strcasecmp
(
attr
->
name
,
(
const
char
*
)
"availabilityEndTime"
))
{
c
->
availability_end_time
=
get_utc_date_time_insec
(
s
,
(
const
char
*
)
val
);
}
else
if
(
!
av_strcasecmp
(
attr
->
name
,
(
const
char
*
)
"publishTime"
))
{
c
->
publish_time
=
get_utc_date_time_insec
(
s
,
(
const
char
*
)
val
);
}
else
if
(
!
av_strcasecmp
(
attr
->
name
,
(
const
char
*
)
"minimumUpdatePeriod"
))
{
...
...
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