From 1aad2c33896ce6222f3c929c7af7fe4ff5fda0f2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Jan 2018 21:01:30 +0000 Subject: In general the player assumes that it won't receive out of order video. This clearly can happen with separate L/R sources. A pass in L might emit two frames which means the arrivals can't possibly be in order. This commit fixes this by introducing a Shuffler which all alternate-3D sources send their video to. The Shuffler re-orders things before they arrive at the player. It also fixes the code which inserts video frames before one that arrives after a gap. This didn't cope with 3D right before. The audio code solves a similar (perhaps the same?) problem with the AudioMerger; perhaps we should have a similar thing for video and make the player emit complete 3D frames. Should help with #976. --- test/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'test/wscript') diff --git a/test/wscript b/test/wscript index f0533cfa1..fef16dbed 100644 --- a/test/wscript +++ b/test/wscript @@ -93,6 +93,7 @@ def build(bld): render_subtitles_test.cc scaling_test.cc silence_padding_test.cc + shuffler_test.cc skip_frame_test.cc srt_subtitle_test.cc ssa_subtitle_test.cc -- cgit v1.2.3