diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-24 02:52:35 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-24 02:52:35 +0000 |
| commit | 64dc289b343641fc37db51fcd6b3069078cb5edf (patch) | |
| tree | ecdee5041e771892b34a7acd13cc8a79381b8142 /test | |
| parent | dc87445987c00b85a44b6372e43894067fae44b3 (diff) | |
Some fixes to playback of drop-frame content.
Diffstat (limited to 'test')
| -rw-r--r-- | test/seek_zero_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/seek_zero_test.cc b/test/seek_zero_test.cc index d298a772b..0987f6b9b 100644 --- a/test/seek_zero_test.cc +++ b/test/seek_zero_test.cc @@ -45,10 +45,10 @@ BOOST_AUTO_TEST_CASE (seek_zero_test) wait_for_jobs (); FFmpegDecoder decoder (film, content, true, false); - shared_ptr<Decoded> a = decoder.get (); + shared_ptr<Decoded> a = decoder.peek (); cout << a->content_time << "\n"; decoder.seek (0, true); - shared_ptr<Decoded> b = decoder.get (); + shared_ptr<Decoded> b = decoder.peek (); cout << b->content_time << "\n"; /* a will be after no seek, and b after a seek to zero, which should |
