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.
PulseAudio: remove unused datum
es: copy va_list only when needed
demux: use stream_vaControl() where applicable (fixes #9302)