mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
6e2a738e82
The sample file in question contains many teletext packets that show the same content. The old code would convert those to separate Matroska frames. Additionally each frame's duration was calculated from the wrong timestamp. A teletext page can be drawn over the space of several packets with different timestamps. Therefore the timestamp of the first packet rendering a line of a teletext page must be used as the start timestamp, and the timestamp of the first packet rendering a line of the following teletext page as its end. The old code was using a wrong packet for the end, though: the timestamp of packet containing the end-of-page block. Fixes #1623.
6 lines
253 B
Ruby
Executable File
6 lines
253 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_538teletext_many_packets_same_content
|
|
describe "mkvmerge / MPEG TS with teletext subtitles with many packets having the same content"
|
|
test_merge "data/ts/teletext_subs_many_packets_same_content.ts", args: "--no-audio --no-video"
|