lavf/webm_dash: some fields should go into Representation

Multimedia / FFmpeg - Vignesh Venkatasubramanian [google.com] - 2 October 2014 12:20 UTC

Width, Height and Sample Rate should be in the AdaptationSet tag only if all the contained representations have the same width, height and sampling rate. Otherwise they should go into the Representation tag. This patch adds this functionality and a fate test for the same.

a9b10e1 lavf/webm_dash: some fields should go into Representation
libavformat/webmdashenc.c | 116 ++++++++++++++++-----
tests/fate/vpx.mak | 3 +
tests/ref/fate/webm-dash-manifest-representations | 30 ++++++
3 files changed, 125 insertions(+), 24 deletions(-)

  • Share