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
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.
xbmc pr 3080
ActiveAE: add some debug logging
dvdplayer: rename codec ctrl flags
VAAPI: implement codec control flags
pthreads: use mutex protocol PTHREAD_PRIO_INHERIT
vaapi: lock gfx context on pre-cleanup
[linux] Add FDEventMonitor for monitoring file descriptors

Add FDEventMonitor helper thread for monitoring file descriptors for
events (ready for read, ready for write) without the need for spawning
a separate thread with a tight loop around poll()/select().

FDEventMonitor uses an eventfd for signaling poll() instead of a
timeout, therefore it can sleep for long times in case of no events but
still immediately respond to e.g. shutdown.
[AE] ALSA: Add ALSADeviceMonitor for monitoring card removals/additions
[AE] ALSA: Add ALSADeviceMonitor for monitoring ELD changes

ELD changes can happen e.g. when the connected HDMI sink is changed.