Observed behavior: exit playback, black screen you could not interact with, only recourse was to restart mythfrontend.

Fix the mutex lock count. It would get off by one for every EAGAIN preventing the player teardown form completing (lock in AvFormatDecoder::CloseCodecs that could never be obtained).