Removed an unused lock.
Fixed a playlist race condition on input events. The playlist was loosing state events from input. And thus it may not always be able to detect (by itself) the end of a stream (It happens easily with small playlist files).
Showing with 11 additions and 17 deletions