[CA/AE] - fix race in 2 threads consuming the ringbuffer (dvdplayeraudio calls flush and ca thread still pulls frames) by moving the flush to the ca thread instead - fixes crashing when switching tv channels (this was the real issue the 2 reverted commits before wanted to fix...)