mkvtoolnix/tests/test-461truehd_from_mpeg_ts.rb
Moritz Bunkus 4442cd5673 MPEG TS: rewrite packet parsing
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.
2016-07-09 17:24:20 +02:00

9 lines
280 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_461truehd_from_mpeg_ts
describe "mkvmerge / TrueHD+AC-3 from MPEG transport streams"
test_merge "data/ts/blue_planet.ts", :args => "-D -a 2,3"
test_merge "data/ts/blue_planet.ts", :args => "-D -a 2"
test_merge "data/ts/blue_planet.ts", :args => "-D -a 3"