Fixes to 3D shuffler to fix #1463.
authorCarl Hetherington <cth@carlh.net>
Wed, 13 Feb 2019 00:17:10 +0000 (00:17 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 13 Feb 2019 00:17:10 +0000 (00:17 +0000)
commit27fbe80bccafe744ca3f96129c9e582f39921891
tree7f6b9e8f16c375d7cdc009a2b2e557462b964def
parent53a0e90c6bfa97d00dcec950e6109586c8676401
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.
src/lib/shuffler.cc
src/lib/shuffler.h
test/shuffler_test.cc