Commit f499679e authored by Steven Liu's avatar Steven Liu

avformat/dashdec: refine mpd element of attribute name availabilityEndTime

Signed-off-by: 's avatarSteven Liu <lq@onvideo.cn>
parent fbd8746e
......@@ -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")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment