Fixes issue #50: Sound and video are not synchronized