mkvtoolnix/tests/test-688opus_single_page.rb
Moritz Bunkus 9a61c0c94e
Ogg Opus reader: handle streams consisting of single page
With just a single page the `m_previous_page_end_timestamp` variable
is still an invalid timestamp. However, in such a case the page's
granulepos cannot can only indicate an end trimming but not a starting
timestamp != 0. So assume timestamps start at 0 in such cases.

Fixes #2722.
2020-01-13 19:40:52 +01:00

6 lines
159 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_688opus_single_page
describe "mkvmerge / Opus with a single page"
test_merge "data/opus/single_page.opus", :args => "--disable-lacing"