blob: 72d4c115687551d803f78bf4791eb10ba4bc86d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/usr/local/bin/perl
# Copyright (C) 2003 GraphicsMagick Group
# Copyright (C) 2002 ImageMagick Studio
# Copyright (C) 1991-1999 E. I. du Pont de Nemours and Company
#
# This program is covered by multiple licenses, which are described in
# Copyright.txt. You should have received a copy of Copyright.txt with this
# package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
#
#
# Test reading MPEG files
#
# Whenever a new test is added/removed, be sure to update the
# 1..n ouput.
#
BEGIN { $| = 1; $test=1; print "1..2\n"; }
END {print "not ok $test\n" unless $loaded;}
use Graphics::Magick;
$loaded=1;
require 't/subroutines.pl';
chdir 't/mpeg' || die 'Cd failed';
#
# Motion Picture Experts Group file interchange format (version 2)
#
testRead( 'input.m2v', q//,
'cf2a93e2a86b504e856ca9fee80d44243e1fc823b0bde9a0c1af5c3e428f7e44' );
#
# Motion Picture Experts Group file interchange format
#
++$test;
testRead( 'input.mpg', q//,
'8b4bbc158420f790837e6996821b198df2c33631d1e1b71af4f30aaf3bb8a3c0' );
1;
|