OSDN Git Service

dashenc: replace attribute id with contentType for the AdaptationSet element
authorJames Almer <jamrial@gmail.com>
Sun, 10 May 2015 06:33:37 +0000 (03:33 -0300)
committerMartin Storsjö <martin@martin.st>
Sun, 10 May 2015 19:57:20 +0000 (22:57 +0300)
commitac1a1cb948fe29975424e367173b88db48792144
treea72cb9761542e1b23823dfb452ae042940564291
parent2fb02ecfd115a627f22df21720aa0bd4f6fcee8b
dashenc: replace attribute id with contentType for the AdaptationSet element

id should be an integer, not a string. It is also optional, so use
contentType instead which is the proper attribute for these values.

This fixes an MPD validation error.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/dashenc.c