mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
fe7f42105f
In the DASH parser, if there was no suggestedPresentationDelay and ignoreMinBufferTime was set to true, the parser would set the presentationDelay to NaN. This was because Math.max() will return NaN if undefined is passed into it. This changes minBufferTime to default to 0, if ignoreMinBufferTime is true. Fixes #2015 Change-Id: I8fc61706a04d14fd729e2185ce993a8bc87e48e5