| 1 | #!/usr/bin/ruby -w |
| 2 | |
| 3 | # T_774issue_3288_96000hz_dtshd_hr |
| 4 | describe "mkvmerge / issue 3288: DTS-HD High Resolution with X96 extension, report as 96kHz" |
| 5 | |
| 6 | files = [ |
| 7 | [ 0, "data/dts/issue_3288_96000hz_DTSHD-HR.dtshd", ], |
| 8 | [ 1, "data/dts/issue_3288_96000hz_DTS-HRA.mkv", ], |
| 9 | ] |
| 10 | |
| 11 | files.each do |file| |
| 12 | test_merge(file[1], :args => "-D -S -a #{file[0]}") |
| 13 | |
| 14 | test "identification" do |
| 15 | fail if identify_json(file[1])["tracks"][file[0]]["properties"]["audio_sampling_frequency"] != 96000 |
| 16 | |
| 17 | "OK" |
| 18 | end |
| 19 | end |