Reduce the number of frames tested in EncoderInterfaceTest

There's little point in running the same test over and over for
a huge number of frames if it doesn't test much different things.

This reduces the runtime of EncoderInterfaceTest.* from 322 seconds
to 140 seconds, when running in valgrind.
This commit is contained in:
Martin Storsjö
2014-08-08 12:23:12 +03:00
parent 0b85855e98
commit c3702d9075

View File

@@ -12,7 +12,7 @@ class EncoderInterfaceTest : public ::testing::Test {
#define VALID_SIZE(iSize) (((iSize)>1)?(iSize):1)
#define MEM_VARY_SIZE (512)
#define IMAGE_VARY_SIZE (512)
#define TEST_FRAMES (200)
#define TEST_FRAMES (30)
#define NAL_HEADER_BYTES (4)
#define NAL_TYPE (0x0F)