mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
4442cd5673
The old code was pretty convoluted and hard to reason about. On top of that it didn't buffer PES packets properly before trying to parse the PES headers. This lead to accesses beyond the end of the buffer.
11 lines
245 B
Ruby
Executable File
11 lines
245 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_298ts_language
|
|
describe "mkvmerge / MPEG transport streams: language tags"
|
|
|
|
test "detected languages" do
|
|
identify_json("data/ts/blue_planet.ts")["tracks"].
|
|
map { |t| t["properties"]["language"] }.
|
|
join("+")
|
|
end
|