FIX: [touch] properly handle touch/gesture actions

This reverts commit b891c240908ddd0b93547afdbe6d261b635b930a.
- on touchbegan call the proper handler for focusing the control
[WIN32] removed double includes.
[WIN32][DS] fixed: viz waveform would show a zero line at the end because of not enough frames. Increasing the sound buffer to deliver > 512 frames.
fixed, compiler warning. Let us try to keep assignments out of if statments
dvdplayer: lock the correct section on log flush

The old code locked the codec lock, which is not protecting this structure.
Revert "[Fix][DVD/OMXPlayer] This fixes a regression introduced in 50a1d3c."

This reverts commits bb1aeb75e13adc0bdb6befb69feca44997e5552b and fdacd42bcebc4197c75a24c6ea54511b796b396e.

The fix is invalid and causes a mismatch between GUI assumed subtitle
and what the player actually is playing.
Revert "fixed, compiler warning. Let us try to keep assignments out of if statments"

This reverts commit 40e06e7140b561aa38d6642a19b0fde44ea1ab61.
[ios] fixed atv2 runtime. missing link to libxml2
Merge pull request #4175 from wsoltys/header

[WIN32] removed double includes.
[ios] fixed, stupid editor
Merge pull request #4170 from wsoltys/dsbuffer

[WIN32][DS] fixed: viz waveform would show a zero line at the end becaus...
Merge pull request #3996 from koying/fixgesture

Revert  "FIX: Send Touch actions to the proper window" and properly solve
fixed, compiler warning
dvd/omxplayer: add internal version of SetSubtitleVisible

This avoids overriding result of OpenDefaultStreams forced/relevant
calculation due to SetSubtitleVisible being delayed by message
queue.

Original-patch-by: ace20022 <ace20022@xbmc.org>
Merge pull request #4181 from davilla/die-warnings-redux

fixed, compiler warning
dvd/omxplayer Subs couldn't be turned on if no relevant subs existed

Original patch by: ace20022
dvd/omxplayer: don't override video setting visibility if no subs are found

Note: This should be reverted when we have separated GUI display from
user specified settings.

It temporarily solves the use case of user starting a movie without subs,
stop it, add external subtitles, start it again.
Merge pull request #4176 from elupus/sub_fixes

Sub fixes