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 a large minimum could cause it to block the max. timeout
fixed: Typo in variable name