Should clear audio too when seeking.
authorCarl Hetherington <cth@carlh.net>
Tue, 18 Apr 2017 21:13:57 +0000 (22:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 19 Apr 2017 22:04:32 +0000 (23:04 +0100)
src/lib/butler.cc

index e88c2945530833a4a732e747dd08091af9a5e935..b8c5726089b381e54e537ef6ddddbc6a3d3cba02 100644 (file)
@@ -133,6 +133,7 @@ Butler::seek (DCPTime position, bool accurate)
 {
        boost::mutex::scoped_lock lm (_mutex);
        _video.clear ();
+       _audio.clear ();
        _finished = false;
        _pending_seek_position = position;
        _pending_seek_accurate = accurate;