From 64dc289b343641fc37db51fcd6b3069078cb5edf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 Dec 2013 02:52:35 +0000 Subject: Some fixes to playback of drop-frame content. --- test/seek_zero_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 a = decoder.get (); + shared_ptr a = decoder.peek (); cout << a->content_time << "\n"; decoder.seek (0, true); - shared_ptr b = decoder.get (); + shared_ptr b = decoder.peek (); cout << b->content_time << "\n"; /* a will be after no seek, and b after a seek to zero, which should -- cgit v1.2.3