mkvtoolnix/tests/test-585h264_wrong_mapping_of_timestamps_to_frames.rb
Moritz Bunkus a19459a7fa AVC parser: only use last provided timestamp for a given stream position
In certain cases there are several timestamps from the source
container queued up for a given position of the NALU in the stream. In
such cases using the first available timestamp will result in
audio/video desync. Instead the last timestamp whose stream position
is smaller than or equal to the NALU's stream position should be used.

Fixes #1908.
2017-03-18 17:22:19 +01:00

6 lines
264 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_585h264_wrong_mapping_of_timestamps_to_frames
describe "mkvmerge / h.264 in MPEG transport stream resulting in wrong mapping of timestamps to frames"
test_merge "data/ts/h264_wrong_mapping_of_timestamps_to_frames.ts", :args => "--no-audio"