Don't deliver frames from demuxer thread. It might crash

Fixes #2183