fixed: FileCache-full logic was wrong + implement CanWriteToCache() function
fixed: Don't keep reading source when cache is full (fixes #15500)
changed: Use m_StateInput else dvdplayer osd info is 8 seconds delayed
fixed: Calling WaitForData with full cache caused it to always block the max. of 5 seconds
fixed: Typo in variable name