Ignore incoming data when suspended.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Jun 2021 18:30:15 +0000 (20:30 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Jun 2021 18:30:15 +0000 (20:30 +0200)
commit0190f4f751f6e3d67b25cca781ad0f7ebeb936ce
treef3d4e2ed8dba6f032a35b9b40b27e4be9c7c5352
parent1284c2d02a367afaeb18acc2138293e8bdf724ae
Ignore incoming data when suspended.

Otherwise, for example, some content can be moved and before
the pieces have been re-created some video can arrive.  Then the
video's position will be calculated using the content's new position,
causing an apparently big gap in the video which is filled in with
black.  These extra black frames cause the video buffers to fill up
without any audio.
src/lib/player.cc