projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix implementation of delay in 7758260; it needs to apply to
[dcpomatic.git]
/
src
/
lib
/
shuffler.cc
diff --git
a/src/lib/shuffler.cc
b/src/lib/shuffler.cc
index 4b8474ab3028eeb5b99e091aba9d426e15302c8b..0ec4daf5ad654bab9a1c8ef17f17eddfca96bb49 100644
(file)
--- a/
src/lib/shuffler.cc
+++ b/
src/lib/shuffler.cc
@@
-78,6
+78,14
@@
Shuffler::video (weak_ptr<Piece> weak_piece, ContentVideo video)
void
Shuffler::clear ()
{
-
VideoAdjuster::
clear ();
+
_store.
clear ();
_last = optional<ContentVideo>();
}
+
+void
+Shuffler::flush ()
+{
+ BOOST_FOREACH (Store i, _store) {
+ Video (i.first, i.second);
+ }
+}