mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
901e49b049
When closing files that were opened for writing, cached data will not be flushed to storage automatically anymore. This reverts the workaround implemented for #2469. A new option was added to both programs (`--flush-on-close`) that re-enables flushing for people who are affected by data loss such as described in #2469. The reason is that automatic flushing causes long delays in processing queues when the output by mkvmerge/mkvextract isn't the final product but just an intermediate result to be processed further. Implements #2480.
10 lines
271 B
Ruby
Executable File
10 lines
271 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_668flush_on_close
|
|
describe "mkvmerge, mkvextract / flushing on close"
|
|
test_merge "data/subtitles/srt/ven.srt", :args => "--flush-on-close"
|
|
test "extraction" do
|
|
extract "data/mkv/complex.mkv", 8 => tmp, :args => "--flush-on-close"
|
|
hash_tmp
|
|
end
|