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:
@@ -12,7 +12,7 @@ class EncoderInterfaceTest : public ::testing::Test {
|
|||||||
#define VALID_SIZE(iSize) (((iSize)>1)?(iSize):1)
|
#define VALID_SIZE(iSize) (((iSize)>1)?(iSize):1)
|
||||||
#define MEM_VARY_SIZE (512)
|
#define MEM_VARY_SIZE (512)
|
||||||
#define IMAGE_VARY_SIZE (512)
|
#define IMAGE_VARY_SIZE (512)
|
||||||
#define TEST_FRAMES (200)
|
#define TEST_FRAMES (30)
|
||||||
|
|
||||||
#define NAL_HEADER_BYTES (4)
|
#define NAL_HEADER_BYTES (4)
|
||||||
#define NAL_TYPE (0x0F)
|
#define NAL_TYPE (0x0F)
|
||||||
|
|||||||
Reference in New Issue
Block a user