DVDCodecs: Amlogic: Handle conditions in which amcodec should be opened during Open()

DVDCodecs: Amlogic: Use mpeg2 video codec for mpeg2's

* AM Video Codec cannot properly handle the still-frames within DVDs

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

DVDFactoryCodec: Remove throttling of mpeg2 to libmpeg2 for amlogic

* Thanks to @kszaq, am-mpeg2 can handle all mpeg2's however it can't handle the still frames (which is caught above it).
* Testing .VOB isn't setting hint.stills to true so will need to address this in separate patch

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

DVDFactoryCodec: Further conditionalize HAS_LIBAMCODEC opening

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

DVDFactoryCodec: Amlogic: Force rmvb to ffmpeg

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

DVD: Amcodec: Handle conditions in which amcodec should be using during open

* Instead of before

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Merge pull request #4539 from Matricom/amcodec

DVDCodecs: Condense and update HAS_LIBAMCODEC
videoplayer: adapt lateness detection and dropping to buffering
video player: present correct pts to user for a/v sync (after buffering in renderer)
videoplayer: some rework and documentation
renderer: bump buffers to 5
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
X11: ditch SDL for video and window events
X11: Add xbmc icon
X11: add SDL joystick until we have a better solution
X11: factor out code handling device reset notification
X11: move xrandr events to WinEventsX11
xrandr: remove method RestoreState
xrandr: observe orientation
xrandr: allow getting info for multiple screen's

Refactored by: Joakim Plate <elupus@xbmc.org>
X11: fix multi-head setups
X11: remove all DefaultScreen and RootWindow macros
X11: remove all DefaultScreen and RootWindow macros (VideoRefClock)

Note this is on a separate display connection.