Skip to content
  • Mark Nauwelaerts's avatar
    matroskamux: make default duration check less sensitive · aa0ae490
    Mark Nauwelaerts authored
    Frame duration might vary for 1 usecond, in this case matroskamux
    decides to create BLOCKGROUP instead of SIMPLEBLOCK.
    
    Convert duration to timecodescale which is (typically) less precise, and
    then also allow the difference of 1/-1 to arrange for less sensitive check.
    
    Based on patch by Alexey Fisher <bug-track@fisher-privat.net>
    
    Fixes #653080.
    aa0ae490