FIX: set logger to NULL when the XBMC::Context is deleted
mysql: replace all "cast(foo as integer)" to "cast(foo as signed integer)" and not just the first one
AE: make sure sink suppports required samplerate for AC3 and DTS
paplayer: avoid blocking in OpenFile, call QueueNextFile instead
[PiSink] Report all hdmi samples rate as supported. Required for passthrough
ffmpeg: dxva2_h264: set the correct ref frame index in the long slice struct

The latest H.264 DXVA specification states that the index in this
structure should refer to a valid entry in the RefFrameList of the picture
parameter structure, and not to the actual surface index.

Fixes H.264 DXVA2 decoding on recent Intel GPUs (tested on Sandy and Ivy)
ffmpeg: dxva2_h264: add a workaround for old intel GPUs

Old Intel GPUs expect the reference frame index to the actual surface,
instead of the index into RefFrameList as specified by the spec.

This workaround should be set when using one of the "ClearVideo" decoder
devices.
[dxva] Add support workaround for Intel H.264 VLD, no FGT, ClearVideo decoder.
[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
remove useless log line
[win32] fix size of DEVMODE struct. Fixes broken resolution switching