blob: 3b9a387102a080152075fc83c909584f2c2c2e01 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001#!/usr/bin/perl
2#
3# Test reading MPEG files
4#
5# Whenever a new test is added/removed, be sure to update the
6# 1..n ouput.
7#
8BEGIN { $| = 1; $test=1; print "1..2\n"; }
9END {print "not ok $test\n" unless $loaded;}
10use Image::Magick;
11$loaded=1;
12
13require 't/subroutines.pl';
14
15chdir 't/mpeg' || die 'Cd failed';
16
17#
18# Motion Picture Experts Group file interchange format (version 2)
19#
20testRead( 'input.m2v',
21 'd3096f660b590223d1047d423f2911b3c5b5e66f4ac09a1a16825dcf389aecce' );
22
23#
24# Motion Picture Experts Group file interchange format
25#
26++$test;
27testRead( 'input.mpg',
28 'c8fa2aec1317786ed8b9d68f3353f812bf426699442c6d16768b46d95650ec1a' );
29
301;