mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Added test cases for MPEG-2 video handling, sequence header extraction etc.
This commit is contained in:
parent
fd7ce07549
commit
816ff6f8ac
@ -95,3 +95,5 @@ T_244iconv_missing_character:3999d4e77017cb377326d3ffe0a51421:passed:20081004-21
|
||||
T_245srt_timecode_formats:a7558db4aa3a35ab7feca3cc4c3d3dd2-a7558db4aa3a35ab7feca3cc4c3d3dd2:passed:20081202-141604
|
||||
T_246theora_pixel_aspect_ratio:eee3719dcb42836902e4bdb39f707af5:passed:20081205-174857
|
||||
T_247attachment_selection:badd2cac568f3e32389fb9a5e0d4417d-55f9f1a1a8dcba10cce9062f2caf1e72-85d244d8c127a7be57ff9d0768a2de8d-88e30d592221ee92ab1d195c8412729e+404b98330dc2459c67bbe2894e8bea80:passed:20090228-191612
|
||||
T_248mpeg2:58d21cac790b14e0046a9b50fed90c07-54f9d6b6351edaabe0e37e17f6d760d3:passed:20090531-132819
|
||||
T_249mpeg2_no_codecprivate:f6eb358c3c749859ed98f75f7496ab5f:passed:20090531-132821
|
||||
|
15
tests/test-248mpeg2.rb
Normal file
15
tests/test-248mpeg2.rb
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/ruby -w
|
||||
|
||||
class T_248mpeg2 < Test
|
||||
def description
|
||||
return "mkvmerge / MPEG-1/2 video files / in(M2V)"
|
||||
end
|
||||
|
||||
def run
|
||||
merge("data/mpeg12/1080i60.m2v")
|
||||
hash = hash_tmp
|
||||
merge("data/mpeg12/changing_sequence_headers.m2v")
|
||||
return hash + "-" + hash_tmp
|
||||
end
|
||||
end
|
||||
|
13
tests/test-249mpeg2_no_codecprivate.rb
Normal file
13
tests/test-249mpeg2_no_codecprivate.rb
Normal file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/ruby -w
|
||||
|
||||
class T_249mpeg2_no_codecprivate < Test
|
||||
def description
|
||||
return "mkvmerge / MPEG-1/2 video sequence header extraction for missing CodecPrivate / in(MKV)"
|
||||
end
|
||||
|
||||
def run
|
||||
merge("data/mpeg12/mpeg2_no_codecprivate.mkv")
|
||||
return hash_tmp
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user