summaryrefslogtreecommitdiff
path: root/src/lib/shuffler.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-02-13 00:17:10 +0000
committerCarl Hetherington <cth@carlh.net>2019-02-13 00:17:10 +0000
commit27fbe80bccafe744ca3f96129c9e582f39921891 (patch)
tree7f6b9e8f16c375d7cdc009a2b2e557462b964def /src/lib/shuffler.h
parent53a0e90c6bfa97d00dcec950e6109586c8676401 (diff)
Fixes to 3D shuffler to fix #1463.
Make the shuffler longer; I've seen examples where the video and sound are over a second apart within the muxed file. Allow the shuffler to pass through complete missed frames; e.g. if the input is L1 R1 L3 R3 we can pass that through without worrying about the missing frame #2. Add a log warning if the shuffler fills: at this point, 3D sync may be lost.
Diffstat (limited to 'src/lib/shuffler.h')
-rw-r--r--src/lib/shuffler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/shuffler.h b/src/lib/shuffler.h
index 3eed3e4f0..7ac300b47 100644
--- a/src/lib/shuffler.h
+++ b/src/lib/shuffler.h
@@ -38,4 +38,5 @@ public:
private:
std::list<Store> _store;
boost::optional<ContentVideo> _last;
+ static int const _max_size;
};