EncoderTest: check that timestamps are monotonic

Change-Id: I813fa94c83df6282f382b24bbaccb1fe2fa94276
This commit is contained in:
James Zern
2012-08-08 14:16:08 -07:00
parent 3c37e7d2fa
commit 51ebb9a396
2 changed files with 6 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ class Encoder {
// classes directly, so that tests can be parameterized differently.
class EncoderTest {
protected:
EncoderTest() : abort_(false), flags_(0) {}
EncoderTest() : abort_(false), flags_(0), last_pts_(0) {}
virtual ~EncoderTest() {}
@@ -177,6 +177,7 @@ class EncoderTest {
unsigned long deadline_;
TwopassStatsStore stats_;
unsigned long flags_;
vpx_codec_pts_t last_pts_;
};
} // namespace libvpx_test