Skip to content

player: Handle zero duration on media

Marinus Schraal requested to merge wip/mschraal/zero-duration-error into master

Stream or certain formats may have no duration set and default to 0, resulting in a division by zero when calculating a percentage. This is harmless, so catch the exception without warning.

Merge request reports