[dxva] Prefer standard Microsoft H.264 device instead of Intel H.264 VLD, no FGT (ClearVideo).

This fix h264 decoding with refs > 11 on recent Intel GPUs (SNB/IVB). The latest Intel drivers for IVB/Haswell already has no support old Intel H.264 VLD, no FGT (ClearVideo) device, so this actually needs for SNB and older.
[paplayer] Prevent possible division by zero in MP3Codec.
Merge pull request #4363 from ace20022/pap_zero

[paplayer] Prevent possible division by zero in MP3Codec.
fix compile warnings
[nfo] remove unused variable
[music] ensure we grab the path of albums and artists before looking for .nfo files - fixes #14964
[music] set album/artist path at the top of the Show*Info() methods rather than inside it to save querying the path multiple times
[music] fix embedded thumbs going missing once you leave a directory. fixes #14637
[python] ensure we lock the GUI prior to calling ClearItems. Fixes #14780
[python] fix extended progress bar double closure. fixes #14985
[addons] allow RunAddon() to run plugin and script add-ons that have a service add-on in the metadata first. fixes
[cosmetics] indenting
remove useless log line
[win32] fix size of DEVMODE struct. Fixes broken resolution switching
Merge pull request #4328 from koying/fixcontextcrash

FIX: set logger to NULL when the XBMC::Context is deleted
[exif] use unknownToUTF8 for the EXIF_COMMENT_CHARSET_ASCII/UNKNOWN case as many pictures store non-ascii here. fixes #14188
[music] fix .cue sheet media with embedded art not showing. fixes #14043
Merge pull request #4331 from Montellese/mysql_integer_cast_fix

mysql: replace all "cast(foo as integer)" to "cast(foo as signed integer)" and not just the first one
avformat/asfdec: call ff_read_frame_flush() in asf_read_pts()

flushing just the asf demuxer but not the cores buffers leads to inconsistencies
and a "random" packet position which later causes an assertion failure

Fixes Ticket2853

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg backport for assettion in wma