opengl: Handle pixel pitch properly when repacking textures for upload

This makes repacking of textures with multiple bytes per pixel (RGBA)
work properly.

Signed-off-by: Martin Storsjö <martin@martin.st>
opengl: Split texture uploading to a separate function

This allows to reuse the repacking logic for subpictures as well,
fixing display of subpictures on ES2, where GL_UNPACK_ROW_LENGTH
isn't available.

Also avoid mallocing/freeing the temporary buffer for each upload,
but keep one buffer in the context.

Signed-off-by: Martin Storsjö <martin@martin.st>
opengl: Handle subpicture textures being aligned to power-of-two dimensions

This fixes subpicture textures on ES1.

Signed-off-by: Martin Storsjö <martin@martin.st>
Look for inet_ntop/inet_pton in ws2_32
macosx: fixed traffic light drawing in dark UI mode
livehttp: fix padding to work with iOS/Android

Don't pad individual ts-packets, but pad just segments.
Win32: High-Priority will not work in MetroMode
macosx: switch fspanel icon set to use the brighter 'highlight' graphics in idle mode, which is better to see.

just for testing purposes, for now
Remove unmaintained switcher module
skins2: use the "mute" variable
httplive: handle better relative urls

if path starts with / it's related to root of server and not
current path.

Fixes: #8321
Win32: use fputws instead of ToANSI+fputs
Qt4: replace awkward word 'keep-pressed'

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
libvlc: add functions to query log message "item" data

Also make provisions for file name and line number in the future.
libvlc: pass log message directly

Let the callback format message context infos however it wants.
pulse: ensure a report is sent if no stream is available
aout: remove what should be an unneeded update of "mute"

if aout_MuteSet returns successfully, the "mute" variables at the aout
and playlist levels have already been updated via a call to aout_MuteReport.

This late update was a hack to make things work when a audio output driver
forgets to call aout_MuteReport. So this patch may bring regression for those
audio output drivers that still forget to call aout_MuteReport and yet
terminate successfully. This is likely to occur in corner cases, for instance
when no stream is available as was the case for pulse.c
macosx: resize the retina bitmaps for the progressions knobs so AppKit doesn't do stupid things

This prevents the knob to be blurred in the bright interface style because the retina bitmap wasn't twice as large as the regular one
macosx: make sure the fspanel's volume slider knob is entirely displayed and not cut off
equalizer: increase precision of frequency centers in debug output

Currently, one of the debug lines in the equalizer module prints out center
frequency values truncated (not rounded) to zero decimal places, and when VLC
is set to use ISO center frequencies, this causes some level of disagreement
between the depiction of the truncated frequencies in the module debug output
and the depiction of the rounded frequencies in the Qt GUI labels.  The 62.5 Hz
ISO center frequency is one of these frequencies, where we have 62 Hz shown in
the debug output and 63 Hz shown in the Qt GUI.  This patch fixes the issue by
displaying the center frequencies in the debug output as real values rounded to
the nearest hundredth.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>