changed: Rename confusing CSimpleDoubleCache class to CDoubleCache
fixed: FileCache-full logic was wrong + implement GetMaxWriteSize() 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
Merge pull request #5708 from arnova/double_cache_inthread_fix

Double file cache fix. Fixes ticket #15500