X-Git-Url: http://git.maemo.org/git/?p=opencv;a=blobdiff_plain;f=tests%2Fpython%2Fhighgui%2Fsize_mpeg4.py;fp=tests%2Fpython%2Fhighgui%2Fsize_mpeg4.py;h=0000000000000000000000000000000000000000;hp=1b7d55d9e7bfbaee8e6bf41737d0b04798d577af;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hpb=454138ff8a20f6edb9b65a910101403d8b520643 diff --git a/tests/python/highgui/size_mpeg4.py b/tests/python/highgui/size_mpeg4.py deleted file mode 100755 index 1b7d55d..0000000 --- a/tests/python/highgui/size_mpeg4.py +++ /dev/null @@ -1,31 +0,0 @@ -#! /usr/bin/env python - -""" -This script checks HighGUI's cvGetCaptureProperty functionality for correct return -of the frame width and height of an MPEG4-compressed .mp4 file. -""" - -# name if this test and it's requirements -TESTNAME = "size_mpeg4" -REQUIRED = [] - -# needed for sys.exit(int), .works file handling and check routine -import sys -import works -import size_test - -# check requirements and delete old flag file, if it exists -if not works.check_files(REQUIRED,TESTNAME): - sys.exit(77) - -# name of file we check here -FILENAME='mpeg4.mp4' - -# run check routine -result=size_test.size_ok(FILENAME) - -# create flag file for following tests -works.set_file(TESTNAME) - - # return result of test routine -sys.exit(result)