dashenc: replace attribute id with contentType for the AdaptationSet element
authorJames Almer <jamrial@gmail.com>
Sun, 10 May 2015 06:31:44 +0000 (03:31 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 May 2015 23:37:39 +0000 (01:37 +0200)
commit32a4177a627ddce984a5a9ed7023d9a63dcbdf85
tree6520736a09ce88d1c4554ac608663ccbdc4619a9
parent8d916ef5f74d9e79f1a5c4fde3116ebda3d5ffbe
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 addresses ticket #4545, fixing an MPD validation error.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/dashenc.c