In general the player assumes that it won't receive out of order video.
[dcpomatic.git] / src / lib / util.cc
index 637030e86da56d5cc5c8de343b7c9f949ad78db3..8ed87856127a2ba57689aa07fd24c82c953c39ca 100644 (file)
@@ -774,3 +774,13 @@ remap (shared_ptr<const AudioBuffers> input, int output_channels, AudioMapping m
 
        return mapped;
 }
+
+Eyes
+increment_eyes (Eyes e)
+{
+       if (e == EYES_LEFT) {
+               return EYES_RIGHT;
+       }
+
+       return EYES_LEFT;
+}