diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-02 22:15:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-02 22:15:32 +0100 |
| commit | fdd63a4c9925f0339089dce3a52f0d6ed0d97880 (patch) | |
| tree | ab7c4f759ef49088be58a034851a438c57d5ffad /test | |
| parent | 36fec15b78e6d5017c9f631bd2e828aa9ca91aa1 (diff) | |
Use newer format to specify filter graphs; don't filter unless necessary; fix tiny memory leak.
Diffstat (limited to 'test')
| -rw-r--r-- | test/pixel_formats_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pixel_formats_test.cc b/test/pixel_formats_test.cc index e0f6c4373..e8ad725ff 100644 --- a/test/pixel_formats_test.cc +++ b/test/pixel_formats_test.cc @@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test) f->width = 640; f->height = 480; f->format = static_cast<int> (i->format); - FrameImage t (f); + FrameImage t (f, true); BOOST_CHECK_EQUAL(t.components(), i->components); BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]); BOOST_CHECK_EQUAL(t.lines(1), i->lines[1]); |
