Improve portability
Merge pull request #5437 from veger/posix-fix

Improve portability
[posix] [vfs] Implement PosixFile class for accessing local files on Posix platforms
[posix] [vfs] Switch to new PosixFile
[vfs] Remove HDFile
Merge pull request #5309 from Karlson2k/vfs_posixfile_01

[posix] Implement new PosixFile
[omx] Fix compile warning.

This fixes commit 77778e4e1ef549455574f765ff6252fbb278effa.
Merge pull request #5452 from anaconda/fix-pr5348

[omx] Fix compile warning after PR 5348.
videoplayer: adapt lateness detection and dropping to buffering
video player: present correct pts to user for a/v sync (after buffering in renderer)
videoplayer: update frametime, it might change due to fps detection
videoplayer: give streams with invalid fps a chance for fps detection
dvdplayer: allow rewinding at end of stream, do a seek after rewind
dvdplayer: observe pts counter overflow
dvdplayer: avoid short screen flicker caused by unnecessary reconfigure of renderer
vdpau: advanced settings for auto deinterlacing
player: fix rewind
fix incorrect display of fps when dr kicks in
ActiveAE: slightly reduce buffer size
Revert "vdpau: comment some features that will be added later"

This reverts commit e00b4f65864d623ab4d2e9e5c06db138e661f1cf.