Changes to crop can be handled with a reset_metadata().
authorCarl Hetherington <cth@carlh.net>
Tue, 1 Dec 2020 10:32:36 +0000 (11:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 1 Dec 2020 10:32:36 +0000 (11:32 +0100)
commitbe2e6e017d853069f02a83f5fe67423235c3096c
tree6853a9192af405c3ddb5e60f431b16ecbfdf344e
parent090cd7dabd2f975e493a9bbd22754ee578d6a1b2
Changes to crop can be handled with a reset_metadata().

While playback is happening we need to do that in the butler's
buffers and in the little delay inside Player.

This removes the seek on every crop change, making it a lot
quicker (#1758).
src/lib/butler.cc
src/lib/butler.h
src/lib/player.cc