mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
c85b3b177f
This was already done when SPS or PPS NALUs were found with the same ID as active SPS or PPS but with different content. The missing case were SPS or PPS NALUs whose IDs hadn't been seen before. After such an encounter all following key frames must be prepended with the active SPS & PPS, too. Otherwise seeking would not work as the player only used the SPS & PPS from CodecPrivate but didn't know about the new ones from mid-stream. Part of the fix of #2250.
6 lines
243 B
Ruby
Executable File
6 lines
243 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_687h264_additional_sps_pps_in_middle
|
|
describe "mkvmerge / h.264 additional SPS & PPS with so-far unused IDs in the middle"
|
|
test_merge "data/h264/additional_sps_pps_in_middle.h264", :args => "--default-duration 0:25fps"
|