auhal: fix detection of disconnected airplay devices
auhal: use audio device latency for better a/v synchronization and airplay support

refs #7127
demux: ts: name registration type
demux: ts: don't mess with es type (fix #10244)

datatype was changed assuming a cable private type 0x82
without even parsing other registration types.
In that case, it was breaking HDMV which also uses 0x82
for DTS audio.

introduced by 7e3dcdd09c2fac64f00acb360d30f24c74894609
Add missing argument to fcntl(F_DUPFD_CLOEXEC)
src: set close-on-exec flag with fopen()
motionlib: fix potential file descriptor leak, set close-on-exec
codecs: lpcm: add WiDi LPCM
demux: ts: handle different LPCM types
dshow: always override the demux when applicable
DTV: always override the demux (refs #11185)

...like other access plugins already do. The input thread does not care
if the original psz_demux value is overriden.
input: fix access-specified demux (fixes #11185)
v4l2: fix format warnings

GCC and Linux do not agree on the underlying type -long or long long-
for fixed size 64-bits integer on 64-bits architectures.
spudec: fix potential buffer underflow
addons: fix invalid function cast
demux: mp4: meta != udta/meta

stop trying to read random atoms
demux: ts: replace if/else with switch
demux: mp4: unbreak vobsub playback and read vobsub palette

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
playlist: repair playlist order on shuffle (fix #4857)

Selecting first item to play in random mode as null, the old method
was giving a random item at a random position which resulted in only a
part of the queue playing. If we set first item to NULL, playlist
automaticaly selects first item from the reshuffled queue in the
request processing loop.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
l10n: NSIS new languages and cleanup of .in file