lua dkjson: use us_tostring() to fix locale issues with decimals

This only fixes encoding but we don't use decoding anyway.

Fixes #8854
doc: New fortune :)
avcodec: pass aligned picture dimensions to video output

This enables direct rendering for H.264 software decoding.
Input clock reference: bump maximum gap to 60s

Some APE files can have a single packet duration of up to 30s
Is there even a hard limit in this format, or can packets be longer?

Previous gap limit was an arbitrary 22s, written in a way reminiscent of
the MPEG 90kHz clock, which does not make sense anymore since reference clock
in all our demuxers use our own 1MHz clock.

Also explicitely use CLOCK_FREQ
extras/tools: fix ragel build with clang on OSX Mavericks
extras/tools: bump cmake version to current stable and add a patch fixing build on OSX Mavericks.
auhal: cosmetics
auhal: respect changes in default audio device during playback (fixes #9266)
Correctly repacketize wavpack frames from Matroska

Since libavcodec decoder doesn't expect matroska formatted wavpack anymore.
scene: Fix division by 0

Close #9291
Allow negative rates

Some inputs (e.g. RTSP) can provide negative rates (rewind) just fine

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
mjpeg: work around broken MIME separators in crappy firmwares

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
libvlc: libvlc_MediaSubItemTreeAdded event type added

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
MacOSX: fix engrish error
Qt: trim the MRL before validating its content (fix #9289)

The default implementation of QLineEdit only calls the fixup method if the
user presses Enter and the content is not currently valid.
Add support for updating Opus metadata.

This requires a taglib version with Opus support, but such a
version has not yet been released, even though support has been in
git almost a year. This version is scheduled as version 1.9

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Update the language when saving metadata.

Otherwise it won't get saved to the file.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Fix a memory leak in ParseVorbisComments().

Also, don't abort parsing the rest of the comments if we encounter
an empty one.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Show Save Metadata button when editing comments.

QTextEdit doesn't have a textEdited() signal, but textChanged()
works well enough if we disable it while we're changing the text
ourselves.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
PulseAudio: remove broken logic

sys->first_pts is the time the stream started originally, but was
mistaken as the time of the stream was paused.

Now, it is assumed that pausing and resuming take approximately the
same time. This is usually true, and if it is not, there is no way for
either VLC or PulseAudio to know (since ALSA does not expose
pause/resume latency informations for the underlying devices).

In practice, this makes no real difference other than removing a bogus
warning about being late when resuming from pause.