vlc.git
4 years agocopy: Don't modify fmt_out until success is ensured
Hugo Beauzée-Luyssen [Fri, 8 Dec 2017 10:41:56 +0000 (11:41 +0100)]
copy: Don't modify fmt_out until success is ensured

4 years agomacos: remove /usr/local/bin from PATH
Thomas Guillem [Fri, 8 Dec 2017 11:49:56 +0000 (12:49 +0100)]
macos: remove /usr/local/bin from PATH

In order to use our own extras tools and fix conflicts with Homebrew.

4 years agodemux: avi: replace off_t (fix #19249)
Francois Cartegnie [Fri, 8 Dec 2017 10:15:17 +0000 (11:15 +0100)]
demux: avi: replace off_t (fix #19249)

AVI has 32bit limitation, but off_t file size was signed

4 years agodemux: avi: use define for _EVEN
Francois Cartegnie [Fri, 8 Dec 2017 09:57:56 +0000 (10:57 +0100)]
demux: avi: use define for _EVEN

4 years agoRevert "macos: enable libplacebo"
Thomas Guillem [Fri, 8 Dec 2017 09:20:10 +0000 (10:20 +0100)]
Revert "macos: enable libplacebo"

It's now automatic.

This reverts commit 0885ed816120265a33eb6d3f229cec7a9d3524e1.

4 years agocontribs: openjpeg: create pkg-config file when requested.
Konstantin Pavlov [Fri, 8 Dec 2017 08:12:03 +0000 (11:12 +0300)]
contribs: openjpeg: create pkg-config file when requested.

UNIX is just a default, and when we force BUILD_PKGCONFIG_FILES we
expect the file to be created even on a non-UNIX systems (e.g. mingw).

4 years agoAdd sami extension for auto-loading of subs
Jean-Baptiste Kempf [Thu, 7 Dec 2017 22:17:55 +0000 (23:17 +0100)]
Add sami extension for auto-loading of subs

4 years agoUpdate AUTHORS
Jean-Baptiste Kempf [Thu, 7 Dec 2017 22:17:14 +0000 (23:17 +0100)]
Update AUTHORS

4 years agodemux: avi: fix slow seek access regression
Francois Cartegnie [Thu, 7 Dec 2017 13:13:02 +0000 (14:13 +0100)]
demux: avi: fix slow seek access regression

4 years agosnap: drop unneeded makefile rules.
Konstantin Pavlov [Thu, 7 Dec 2017 18:37:11 +0000 (21:37 +0300)]
snap: drop unneeded makefile rules.

4 years agosnap: Use contribs.
Konstantin Pavlov [Thu, 7 Dec 2017 18:32:33 +0000 (21:32 +0300)]
snap: Use contribs.

While at it, drop support for wayland-protocols and rely on configure to
find the needed libraries.

4 years agosnap: fixes to be able to build on Ubuntu 16.0.4
Alan Pope [Thu, 7 Dec 2017 18:28:39 +0000 (21:28 +0300)]
snap: fixes to be able to build on Ubuntu 16.0.4

- Fixed the desktop file and icon location
- Fixed the required gettext version (0.19.8 is not available on 16.04)
- Added ersion-script and 'echo' in the install stanza to easily
  identify git id from which the build was made
- Fixed vlc-wrapper to set the right environment variables to expose
  GPU drivers for VDPAU VA-API to work out of the box
- Bundle ffmpeg-3.4 and wayland-protocols

4 years agocontrib: chromaprint: improve detection of av{codec, util}
Sean McGovern [Thu, 7 Dec 2017 11:31:02 +0000 (06:31 -0500)]
contrib: chromaprint: improve detection of av{codec, util}

4 years agocontrib: openjpeg: import pthreads library where necessary
Sean McGovern [Thu, 7 Dec 2017 11:31:01 +0000 (06:31 -0500)]
contrib: openjpeg: import pthreads library where necessary

4 years agocontrib: openjpeg: build PIC
Sean McGovern [Thu, 7 Dec 2017 11:31:00 +0000 (06:31 -0500)]
contrib: openjpeg: build PIC

4 years agocontrib: ffmpeg: do not enable openjpeg v2 on Libav
Sean McGovern [Thu, 7 Dec 2017 11:30:59 +0000 (06:30 -0500)]
contrib: ffmpeg: do not enable openjpeg v2 on Libav

4 years agoSimplify and improve the detection of the number of CPU cores.
Konstantin Pavlov [Thu, 7 Dec 2017 12:30:13 +0000 (15:30 +0300)]
Simplify and improve the detection of the number of CPU cores.

4 years agocontribs: ffmpeg: work around the ffmpeg configure check for libmp3lame.
Konstantin Pavlov [Thu, 7 Dec 2017 09:27:48 +0000 (09:27 +0000)]
contribs: ffmpeg: work around the ffmpeg configure check for libmp3lame.

On Linux, libmp3lame.a requires -lm to be linked as well.  Now this
library does not have a pkg-config file, so there are not many options
to fix it.  One option is to pass extra-libs in our contrib system, and
another one is fixing libav/ffmpeg configure to try and link libmath
during the check.  Both are not good.

4 years agocontribs: ffmpeg: fix libav configure check for gsm.h.
Konstantin Pavlov [Thu, 7 Dec 2017 09:05:39 +0000 (09:05 +0000)]
contribs: ffmpeg: fix libav configure check for gsm.h.

For reasons unknown, the contrib system installs gsm.h under
include/gsm, which might or might not be the canonical path to put it
to.

4 years agojss: Avoid potential FPE
Hugo Beauzée-Luyssen [Thu, 7 Dec 2017 17:04:13 +0000 (18:04 +0100)]
jss: Avoid potential FPE

4 years agoadjust: change hue text/description
Thomas Guillem [Thu, 7 Dec 2017 13:02:17 +0000 (14:02 +0100)]
adjust: change hue text/description

"add_float_with_range( "hue", 0, -180., +180. ..."

Even if 360 is the same than -180 in the hue case, you can't pass value outside
the range anymore (since VLC 3.0).

4 years agoVLSub: Handle incomplete/invalid result sets without crashing
Hugo Beauzée-Luyssen [Thu, 7 Dec 2017 12:33:41 +0000 (13:33 +0100)]
VLSub: Handle incomplete/invalid result sets without crashing

4 years agoVLSub: Automatically select downloaded subtitle tracks
Hugo Beauzée-Luyssen [Thu, 7 Dec 2017 11:46:53 +0000 (12:46 +0100)]
VLSub: Automatically select downloaded subtitle tracks

4 years agoqt: Don't check extension when manually loading subtitles
Hugo Beauzée-Luyssen [Thu, 7 Dec 2017 11:45:17 +0000 (12:45 +0100)]
qt: Don't check extension when manually loading subtitles

refs #19229

4 years agoInput-Slave: remove .txt and .utf8 as auto-loaded subtitles
Jean-Baptiste Kempf [Thu, 7 Dec 2017 10:52:21 +0000 (11:52 +0100)]
Input-Slave: remove .txt and .utf8 as auto-loaded subtitles

4 years agolibass: fix subtitles for iOS
Jean-Baptiste Kempf [Thu, 7 Dec 2017 09:58:25 +0000 (10:58 +0100)]
libass: fix subtitles for iOS

Close #19134

4 years agodemux: avformat: fix broken refactor
Francois Cartegnie [Thu, 7 Dec 2017 08:16:33 +0000 (09:16 +0100)]
demux: avformat: fix broken refactor

4 years agocontribs: ffmpeg: only apply arm fixups when using FFMpeg.
Konstantin Pavlov [Thu, 7 Dec 2017 08:04:05 +0000 (11:04 +0300)]
contribs: ffmpeg: only apply arm fixups when using FFMpeg.

4 years agocontrib: ffmpeg: fix minimum required libavcodec after 53d723d5130ab62cba7215cc54fc96...
Sean McGovern [Wed, 6 Dec 2017 03:56:20 +0000 (22:56 -0500)]
contrib: ffmpeg: fix minimum required libavcodec after 53d723d5130ab62cba7215cc54fc961bfee51060

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocontribs: ffmpeg, fix compilation for ARMv7 on Android
Jean-Baptiste Kempf [Wed, 6 Dec 2017 22:46:29 +0000 (23:46 +0100)]
contribs: ffmpeg, fix compilation for ARMv7 on Android

4 years agodemux: avformat: refactor probing
Francois Cartegnie [Tue, 5 Dec 2017 14:59:50 +0000 (15:59 +0100)]
demux: avformat: refactor probing

4 years agodemux: subtitle: missing TS_0
Francois Cartegnie [Wed, 6 Dec 2017 17:49:48 +0000 (18:49 +0100)]
demux: subtitle: missing TS_0

4 years agodemux: subtitle: handle scc dropframe
Francois Cartegnie [Wed, 6 Dec 2017 12:35:52 +0000 (13:35 +0100)]
demux: subtitle: handle scc dropframe

SCC are always encoded as 29.97 or 30 with dropframe.

4 years agodemux: subtitle: read dropframe timecode
Francois Cartegnie [Wed, 6 Dec 2017 12:35:33 +0000 (13:35 +0100)]
demux: subtitle: read dropframe timecode

4 years agoopengl: add extra check
Thomas Guillem [Wed, 6 Dec 2017 13:22:03 +0000 (14:22 +0100)]
opengl: add extra check

4 years agoopengl: use GL core symbols from *GetProcAddress
Thomas Guillem [Wed, 6 Dec 2017 14:27:20 +0000 (15:27 +0100)]
opengl: use GL core symbols from *GetProcAddress

Use GetProcAddress to fetch GL core symbols instead of using symbols from the
libGL linked with the vlc gl plugin (but not for GLES2/Windows/macOS).

This fixes a crash with nvidia drivers when using EGL but can also fix some
others issues if a vendor/distrib ship more than one openGL libs.

cf. https://github.com/NVIDIA/libglvnd/issues/63

Symbols from the old libGL.so.1 were used instead of symbols from the new
libOpenGL.so (that are fetched via eglGetProcAddress()).

I guess that libGL.so.1 can't work with EGL with recent drivers.

Fixes #19093

4 years agoopengl: ios: add missing opengles2 flag
Thomas Guillem [Wed, 6 Dec 2017 15:15:23 +0000 (16:15 +0100)]
opengl: ios: add missing opengles2 flag

4 years agoopengl: caopengllayer: use vout_display_opengl_Viewport
Thomas Guillem [Wed, 6 Dec 2017 13:24:08 +0000 (14:24 +0100)]
opengl: caopengllayer: use vout_display_opengl_Viewport

Refs #19093

4 years agoopengl: ios: use vout_display_opengl_Viewport
Thomas Guillem [Wed, 6 Dec 2017 13:23:56 +0000 (14:23 +0100)]
opengl: ios: use vout_display_opengl_Viewport

Refs #19093

4 years agoopengl: macosx: use vout_display_opengl_Viewport
Thomas Guillem [Wed, 6 Dec 2017 13:23:31 +0000 (14:23 +0100)]
opengl: macosx: use vout_display_opengl_Viewport

Refs #19093

4 years agoopengl: use vout_display_opengl_Viewport
Thomas Guillem [Wed, 6 Dec 2017 13:23:23 +0000 (14:23 +0100)]
opengl: use vout_display_opengl_Viewport

Refs #19093

4 years agoopengl: win32: use vout_display_opengl_Viewport
Thomas Guillem [Wed, 6 Dec 2017 13:23:12 +0000 (14:23 +0100)]
opengl: win32: use vout_display_opengl_Viewport

Refs #19093

4 years agoopengl: add vout_display_opengl_Viewport
Thomas Guillem [Wed, 6 Dec 2017 13:22:59 +0000 (14:22 +0100)]
opengl: add vout_display_opengl_Viewport

In order to use glViewport from the vgl vtable.

Refs #19093

4 years agoopengl: use all GL symbols from the vtable
Thomas Guillem [Wed, 19 Jul 2017 15:18:29 +0000 (17:18 +0200)]
opengl: use all GL symbols from the vtable

Refs #19093

4 years agoopengl: sort gl core functions alphabetically
Thomas Guillem [Wed, 6 Dec 2017 12:33:45 +0000 (13:33 +0100)]
opengl: sort gl core functions alphabetically

4 years agodemux:mkv: don't crash if a child element has an unknown size and the parent doesn't
Steve Lhomme [Wed, 6 Dec 2017 09:31:48 +0000 (10:31 +0100)]
demux:mkv: don't crash if a child element has an unknown size and the parent doesn't

libebml should be fixed not to allow this.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agoavcodec: prioritise vaapi over vdpau
Thomas Guillem [Tue, 5 Dec 2017 10:00:49 +0000 (11:00 +0100)]
avcodec: prioritise vaapi over vdpau

Favor VAAPI over VDPAU: VDPAU is deprecated and present on less systems than
VAAPI. Furthermore, the try and fail of VDPAU vout/va take much longer than the
VAAPI one (around twice the time, that is 100-200ms). VAAPI will only be used
for direct rendering by default, so VDPAU will still be used instead of VAAPI
with CPU copy.

4 years agoavcodec: refactor PixelFormat reordering
Thomas Guillem [Tue, 5 Dec 2017 10:00:18 +0000 (11:00 +0100)]
avcodec: refactor PixelFormat reordering

TODO: The best way to specify ourself the best hw fmt would be to pass the
whole pi_fmt tab to va modules and order these modules by priority using module
capability.

4 years agoftp: check vlc_UrlParseFixup return
Thomas Guillem [Wed, 6 Dec 2017 08:47:23 +0000 (09:47 +0100)]
ftp: check vlc_UrlParseFixup return

4 years agonfs: check vlc_UrlParseFixup return
Thomas Guillem [Wed, 6 Dec 2017 08:43:09 +0000 (09:43 +0100)]
nfs: check vlc_UrlParseFixup return

4 years agosmb: check vlc_UrlParseFixup return
Thomas Guillem [Wed, 6 Dec 2017 08:15:36 +0000 (09:15 +0100)]
smb: check vlc_UrlParseFixup return

4 years agodsm: check vlc_UrlParseFixup return
Thomas Guillem [Wed, 6 Dec 2017 08:15:28 +0000 (09:15 +0100)]
dsm: check vlc_UrlParseFixup return

4 years agosftp: check vlc_UrlParseFixup return
Thomas Guillem [Wed, 6 Dec 2017 08:36:24 +0000 (09:36 +0100)]
sftp: check vlc_UrlParseFixup return

4 years agosftp: use vlc_UrlParseFixup
Thomas Guillem [Wed, 6 Dec 2017 08:35:22 +0000 (09:35 +0100)]
sftp: use vlc_UrlParseFixup

4 years agosftp: parse the url only once
Thomas Guillem [Wed, 6 Dec 2017 08:34:34 +0000 (09:34 +0100)]
sftp: parse the url only once

And duplicate url.psz_path before decoding it.

4 years agoftp: use vlc_UrlParseFixup
Thomas Guillem [Tue, 5 Dec 2017 08:51:00 +0000 (09:51 +0100)]
ftp: use vlc_UrlParseFixup

Refs #18991

4 years agonfs: use vlc_UrlParseFixup
Thomas Guillem [Tue, 5 Dec 2017 08:50:43 +0000 (09:50 +0100)]
nfs: use vlc_UrlParseFixup

Refs #18991

4 years agodsm: use vlc_UrlParseFixup
Thomas Guillem [Tue, 5 Dec 2017 08:49:29 +0000 (09:49 +0100)]
dsm: use vlc_UrlParseFixup

Refs #18991

4 years agosmb: use vlc_UrlParseFixup
Thomas Guillem [Tue, 5 Dec 2017 08:49:18 +0000 (09:49 +0100)]
smb: use vlc_UrlParseFixup

Refs #18991

4 years agourl: add vlc_UrlParseFixup
Thomas Guillem [Mon, 4 Dec 2017 12:56:41 +0000 (13:56 +0100)]
url: add vlc_UrlParseFixup

Refs #18991

4 years agocontrib:ebml: Do not use elements with an unknown size if it's not allowed
Steve Lhomme [Wed, 6 Dec 2017 08:36:23 +0000 (09:36 +0100)]
contrib:ebml: Do not use elements with an unknown size if it's not allowed

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agoUpdate PO files
Jean-Baptiste Kempf [Wed, 6 Dec 2017 01:56:18 +0000 (02:56 +0100)]
Update PO files

4 years agoMIDI: use only one i18n string for all the modules
Jean-Baptiste Kempf [Wed, 6 Dec 2017 01:54:46 +0000 (02:54 +0100)]
MIDI: use only one i18n string for all the modules

4 years agoQSV: fix typo on CBR
Jean-Baptiste Kempf [Tue, 5 Dec 2017 23:25:13 +0000 (00:25 +0100)]
QSV: fix typo on CBR

4 years agoSRT: fix typo
Jean-Baptiste Kempf [Tue, 5 Dec 2017 23:23:41 +0000 (00:23 +0100)]
SRT: fix typo

4 years agoconfigure: Assume if_nametoindex to be present
Hugo Beauzée-Luyssen [Tue, 5 Dec 2017 17:39:42 +0000 (18:39 +0100)]
configure: Assume if_nametoindex to be present

4 years agoContrib: FFmpeg, disable Linux perf because it fails on Android
Jean-Baptiste Kempf [Tue, 5 Dec 2017 16:16:25 +0000 (17:16 +0100)]
Contrib: FFmpeg, disable Linux perf because it fails on Android

4 years agocontribs: openjpeg2, don't build the tools (codec)
Jean-Baptiste Kempf [Tue, 5 Dec 2017 16:01:59 +0000 (17:01 +0100)]
contribs: openjpeg2, don't build the tools (codec)

This should fix build on Android.

4 years agocontrib: openjpeg: Add missing toolchain.cmake dependency
Hugo Beauzée-Luyssen [Tue, 5 Dec 2017 15:46:32 +0000 (16:46 +0100)]
contrib: openjpeg: Add missing toolchain.cmake dependency

Pointed out by: David Fuhrmann <dfuhrmann@videolan.org>

4 years agosubsdec: Fix memory leak
Hugo Beauzée-Luyssen [Tue, 5 Dec 2017 15:31:08 +0000 (16:31 +0100)]
subsdec: Fix memory leak

4 years agosubsdec: Fix memory leak
Hugo Beauzée-Luyssen [Tue, 5 Dec 2017 14:30:07 +0000 (15:30 +0100)]
subsdec: Fix memory leak

4 years agoRevert "configure: Fix if_nametoindex detection"
Hugo Beauzée-Luyssen [Tue, 5 Dec 2017 13:10:36 +0000 (14:10 +0100)]
Revert "configure: Fix if_nametoindex detection"

This reverts commit 34d979557edd3f5ce8ef1e3dc1b4bbbf7d386327.
This only works for win64 since win32's stdcall will mangle the symbols

4 years agovout:win32:common: no need to trace DXGI leaks here
Steve Lhomme [Tue, 5 Dec 2017 10:39:33 +0000 (11:39 +0100)]
vout:win32:common: no need to trace DXGI leaks here

It's already done in modules using DXGI

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoconfigure: Fix if_nametoindex detection
Hugo Beauzée-Luyssen [Mon, 4 Dec 2017 16:43:44 +0000 (17:43 +0100)]
configure: Fix if_nametoindex detection

This fixes win32 builds

4 years agocontrib: cmake: set the Debug/Release target for all operating systems.
Konstantin Pavlov [Tue, 5 Dec 2017 08:17:54 +0000 (11:17 +0300)]
contrib: cmake: set the Debug/Release target for all operating systems.

Previously it was under HAVE_WIN32, which is probably not what was
intended.

4 years agocontrib: soxr/openjpeg: don't explicitely set CMAKE_BUILD_TYPE.
Konstantin Pavlov [Tue, 5 Dec 2017 07:55:50 +0000 (10:55 +0300)]
contrib: soxr/openjpeg: don't explicitely set CMAKE_BUILD_TYPE.

4 years agocontrib: srt: call pkg_static.
Konstantin Pavlov [Tue, 5 Dec 2017 06:59:13 +0000 (09:59 +0300)]
contrib: srt: call pkg_static.

4 years agocontrib: ffmpeg: don't force-enable vda on Darwin.
Konstantin Pavlov [Tue, 5 Dec 2017 04:52:48 +0000 (07:52 +0300)]
contrib: ffmpeg: don't force-enable vda on Darwin.

The VLC code for that was removed in dc14ecb4f25874c364e6dabc902c540c94ac5556.

4 years agocontrib: openjpeg: added patch to fix install.
Konstantin Pavlov [Tue, 5 Dec 2017 04:38:18 +0000 (07:38 +0300)]
contrib: openjpeg: added patch to fix install.

While at it, use upstream-preferred cmake parameters.

4 years agocontribs: srt: override Werror=partial-availability for DARWIN_OS.
Konstantin Pavlov [Tue, 5 Dec 2017 03:39:39 +0000 (06:39 +0300)]
contribs: srt: override Werror=partial-availability for DARWIN_OS.

4 years agoaccess_out: srt: use pipe to detect interrupt
Justin Kim [Mon, 4 Dec 2017 06:15:25 +0000 (15:15 +0900)]
access_out: srt: use pipe to detect interrupt

`eventfd` is a linux-specific API. `pipe` can provide similar
mechanisms to be platform-independent.

Signed-off-by: Justin Kim <justin.kim@collabora.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess: srt: use pipe to detect interrupt
Justin Kim [Mon, 4 Dec 2017 06:15:24 +0000 (15:15 +0900)]
access: srt: use pipe to detect interrupt

`eventfd` is a linux-specific API. `pipe` can provide similar
mechanisms to be platform-independent.

Signed-off-by: Justin Kim <justin.kim@collabora.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: capital letter at the beginning
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:55 +0000 (01:12 +0100)]
i18n: capital letter at the beginning

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: missing . in LONGTEXT variables
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:54 +0000 (01:12 +0100)]
i18n: missing . in LONGTEXT variables

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: typo http -> HTTP
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:53 +0000 (01:12 +0100)]
i18n: typo http -> HTTP

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: typo fixes
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:52 +0000 (01:12 +0100)]
i18n: typo fixes

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: typo on "amount"
Michał Trzebiatowski [Fri, 1 Dec 2017 18:55:35 +0000 (19:55 +0100)]
i18n: typo on "amount"

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoAdd missing subtitles extensions
Jean-Baptiste Kempf [Mon, 4 Dec 2017 23:37:45 +0000 (00:37 +0100)]
Add missing subtitles extensions

Ref #19228 #19229 #19230 #19231

4 years agoinput: attach slaves to master only
Thomas Guillem [Mon, 4 Dec 2017 16:59:42 +0000 (17:59 +0100)]
input: attach slaves to master only

The previous logic was wrong. An input item is not necessarily a master if it's
not a slave.

Fixes #19208

4 years agoinput: use bsearch in input_item_slave_GetType
Thomas Guillem [Mon, 4 Dec 2017 16:49:18 +0000 (17:49 +0100)]
input: use bsearch in input_item_slave_GetType

4 years agonsv: fix flawed logic (fixes #19213)
Rémi Denis-Courmont [Mon, 4 Dec 2017 16:57:27 +0000 (18:57 +0200)]
nsv: fix flawed logic (fixes #19213)

4 years agoinput: fix null-deref from input_ControlVarStop
Thomas Guillem [Mon, 4 Dec 2017 09:22:23 +0000 (10:22 +0100)]
input: fix null-deref from input_ControlVarStop

This commit fixes a NULL dereference introduced by
ee8f0516a22a975e44bec35ea1991b076133fd94 when demux_Control( DEMUX_GET_TITLE )
pass but the input doesn't have any title.

The input_ControlVarStop() function cleans up chapters callback by destroying
the variables like input_ControlVarTitle() is already doing.

Fixes #19218

4 years agocontrib: Do not build fluidlite on macOS
Marvin Scholz [Mon, 4 Dec 2017 14:31:23 +0000 (15:31 +0100)]
contrib: Do not build fluidlite on macOS

There is now audiotoolbox_midi, which makes fluidlite unnecessary
on macOS

4 years agoaccess: decklink: fix build due to sys changes
Francois Cartegnie [Mon, 4 Dec 2017 12:40:15 +0000 (13:40 +0100)]
access: decklink: fix build due to sys changes

4 years agomacosx: Use NSDateComponentsFormatter for playlist duration
Marvin Scholz [Mon, 4 Dec 2017 14:16:22 +0000 (15:16 +0100)]
macosx: Use NSDateComponentsFormatter for playlist duration

This should fix a bug with off-by-one days calculation.

Fix #19221

4 years agodemux: hls: avoid redundant update of playlist
Zhao Zhili [Fri, 1 Dec 2017 09:52:53 +0000 (17:52 +0800)]
demux: hls: avoid redundant update of playlist

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
4 years agoContrib: remove FFmpeg unneeded patch
Jean-Baptiste Kempf [Mon, 4 Dec 2017 09:09:48 +0000 (10:09 +0100)]
Contrib: remove FFmpeg unneeded patch

4 years agoRevert "vaapi: fix crash on error case"
Thomas Guillem [Mon, 4 Dec 2017 08:23:04 +0000 (09:23 +0100)]
Revert "vaapi: fix crash on error case"

This case can't happen anymore.

This reverts commit 10a562ee149e199529f917e53da9c4fc902cf629.

4 years agoopengl: vaapi: fix UB when surface type and module doesn't match
Thomas Guillem [Mon, 4 Dec 2017 08:22:45 +0000 (09:22 +0100)]
opengl: vaapi: fix UB when surface type and module doesn't match

Fixes #19204

4 years agoContrib: fix typo
Jean-Baptiste Kempf [Mon, 4 Dec 2017 08:14:36 +0000 (09:14 +0100)]
Contrib: fix typo