Avoid random black gaps between bits of content A and B when v2.15.15
authorCarl Hetherington <cth@carlh.net>
Tue, 30 Jul 2019 23:07:06 +0000 (00:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 30 Jul 2019 23:07:06 +0000 (00:07 +0100)
commitbd83f1b0e1d8e7aae0af51376dbbb88d5e3f69d0
treec047eb4fc02044c1d9852590dd4fe04d0fb95f7b
parent5ccb13d95f4bc29afed393588edff581b748efa7
Avoid random black gaps between bits of content A and B when
content B has had its start trimmed.  In this case when we seek
inaccurately in A we previously also seeked inaccurately in B.
This meant that at the transition the first frame we see of B
may not be the first frame of B.

After this we seek accurately in B so that we definitely get to the
start of it.

This is especially important if the start of B has been trimmed to
within two keyframes so that an inaccurate seek is not sufficient.
src/lib/player.cc