avformat/dashdec: Support signaling of last segment number
authorsanilraut <raut.sanil@gmail.com>
Wed, 28 Mar 2018 11:52:27 +0000 (19:52 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 28 Mar 2018 11:52:27 +0000 (19:52 +0800)
commit10d008f0fd9e713e290f626300d66382ad786c49
tree539e495e75b733b49385f555df20242f0171ac0c
parent44000b7744a0a3c425bc6d8d924b4efa866aad39
avformat/dashdec: Support signaling of last segment number

Last segment indicated by mpd is not parsed.
Example stream: http://dash.akamaized.net/dash264/TestCasesIOP41/LastSegmentNumber/1/manifest_last_segment_num.mpd

This patch supports parsing of Supplemental Descriptor with @schemeIdUri set to http://dashif.org/guide-
lines/last-segment-number with the @value set to the last segment number.

Reviewed-by: Steven Liu <lq@onvideo.cn>
libavformat/dashdec.c