vlc.git
2 years agoavcodec: fourcc: add av1 mapping
Tristan Matthews [Wed, 27 Dec 2017 13:06:09 +0000 (08:06 -0500)]
avcodec: fourcc: add av1 mapping

Needed to mux AV1 using libavformat's IVF muxer.
IVF muxing for AV1 was added to ffmpeg in
commit e8f0a463b0d27a4d74c0d9f1857e72a8033d1069.

2 years agocontrib: gnutls: Drop pkgconfig patch for macOS
David Fuhrmann [Wed, 27 Dec 2017 17:41:46 +0000 (18:41 +0100)]
contrib: gnutls: Drop pkgconfig patch for macOS

Checking for that specific symbol is not needed anymore since
the keychain lookup patch is not needed anymore. Additionally,
this patched a pkgconfig file which is not needed by vlc and is not
even installed / compiled.

2 years agocontrib: gnutls: Drop mac keychain lookup patch
David Fuhrmann [Wed, 27 Dec 2017 17:27:12 +0000 (18:27 +0100)]
contrib: gnutls: Drop mac keychain lookup patch

Similar code is now part of the release itself, therefore this
patch is not needed anymore.

2 years agobin/Makefile.am: Explicitely depend on libbreakpad_wrapper.la
Hugo Beauzée-Luyssen [Wed, 27 Dec 2017 14:57:50 +0000 (15:57 +0100)]
bin/Makefile.am: Explicitely depend on libbreakpad_wrapper.la

2 years agobin/Makefile.am: Simplify
Hugo Beauzée-Luyssen [Wed, 27 Dec 2017 14:26:22 +0000 (15:26 +0100)]
bin/Makefile.am: Simplify

2 years agoqt: fix crash if no fullscreen controls are available
Hannes Domani [Wed, 27 Dec 2017 13:08:39 +0000 (14:08 +0100)]
qt: fix crash if no fullscreen controls are available

Close #19349

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agocontrib: aom: build av1 encoder
Tristan Matthews [Mon, 18 Dec 2017 15:10:53 +0000 (10:10 -0500)]
contrib: aom: build av1 encoder

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agofourcc: use standard AV1 fourcc
Tristan Matthews [Mon, 18 Dec 2017 15:10:51 +0000 (10:10 -0500)]
fourcc: use standard AV1 fourcc

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoaom: allow low bitdepth path for decoder
Tristan Matthews [Mon, 18 Dec 2017 15:10:50 +0000 (10:10 -0500)]
aom: allow low bitdepth path for decoder

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agodirect3d11: do not force the decoder padding if we're using the staging texture
Steve Lhomme [Wed, 27 Dec 2017 10:58:27 +0000 (11:58 +0100)]
direct3d11: do not force the decoder padding if we're using the staging texture

The decoder will use its own pool with its own sizes anyway

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agocontribs: gcrypt: Make sure that a git repo is available during reconfigure
Martin Storsjö [Thu, 21 Dec 2017 09:48:16 +0000 (11:48 +0200)]
contribs: gcrypt: Make sure that a git repo is available during reconfigure

Without this, when reconfiguring, BUILD_FILEVERSION will end up with
a trailing comma with no revision number, which means that
src/versioninfo.rc will have a syntax error on build.

To reproduce/understand, download the plain gcrypt tarball;
configure contains a line like this:
    BUILD_FILEVERSION="${BUILD_FILEVERSION}45409"
After running configure, src/versioninfo.rc contains
"FILEVERSION 1,7,8,45409".

If running autoreconfigure with no enclosing git repo anywhere,
the same line in configure will end up as this:
    BUILD_FILEVERSION="${BUILD_FILEVERSION}"
After configuring, src/versioninfo.rc will now contain
"FILEVERSION 1,7,8,", which results in syntax errors.

As long as an enclosing git repo is available somewhere (if
the surrounding vlc tree contains a .git directory), this isn't
an issue though.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoextras/tools: Bump the required protoc version
Martin Storsjö [Thu, 21 Dec 2017 09:37:11 +0000 (11:37 +0200)]
extras/tools: Bump the required protoc version

Contribs build protobuf 3.1.0 and assumes that the host environment
already has got a new enough protoc version.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agowin32: build.sh: Fix breakpad activation
Hugo Beauzée-Luyssen [Wed, 27 Dec 2017 11:00:32 +0000 (12:00 +0100)]
win32: build.sh: Fix breakpad activation

2 years agoRevert "codec: ttml: no longer need to use resolution after rebase"
Francois Cartegnie [Wed, 27 Dec 2017 08:59:40 +0000 (09:59 +0100)]
Revert "codec: ttml: no longer need to use resolution after rebase"

That what happens when you're fed with broken files

This reverts commit 1ee818f94cfa168f792d29d98a76feb565ed8c4d.

2 years agotest: hxxx: reorder include
Francois Cartegnie [Tue, 26 Dec 2017 22:49:23 +0000 (23:49 +0100)]
test: hxxx: reorder include

2 years agocodec: webvtt: fix reparenting on closing tag
Francois Cartegnie [Tue, 26 Dec 2017 17:59:44 +0000 (18:59 +0100)]
codec: webvtt: fix reparenting on closing tag

2 years agoUse "org.videolan.VLC" as the AppStream ID
Nathaniel Graham [Tue, 26 Dec 2017 22:28:16 +0000 (23:28 +0100)]
Use "org.videolan.VLC" as the AppStream ID

Close #19335

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoContribs: GnuTLS: do not use connectx for macOS
Jean-Baptiste Kempf [Tue, 26 Dec 2017 17:05:49 +0000 (18:05 +0100)]
Contribs: GnuTLS: do not use connectx for macOS

It is only available since 10.11

2 years agoContribs: gnutls: Fix win32, winrt, android, macOS compilation
Jean-Baptiste Kempf [Tue, 26 Dec 2017 15:29:43 +0000 (16:29 +0100)]
Contribs: gnutls: Fix win32, winrt, android, macOS compilation

2 years agocontrib: gnutls: update to current stable 3.5.16 (fixes #19350)
Rémi Denis-Courmont [Tue, 26 Dec 2017 14:45:47 +0000 (16:45 +0200)]
contrib: gnutls: update to current stable 3.5.16 (fixes #19350)

2 years agobin: Fix vlc CFLAGS on !WIN32
Hugo Beauzée-Luyssen [Tue, 26 Dec 2017 13:14:00 +0000 (14:14 +0100)]
bin: Fix vlc CFLAGS on !WIN32

Reported-by: Alexandre Fernandez <nerf@boboop.fr>
2 years agoextras: Add a breakpad symbols dumping script
Pierre Lamot [Tue, 26 Dec 2017 12:08:44 +0000 (13:08 +0100)]
extras: Add a breakpad symbols dumping script

2 years agocontribs: x264: Pin to a specific tarball
Hugo Beauzée-Luyssen [Tue, 26 Dec 2017 10:25:42 +0000 (11:25 +0100)]
contribs: x264: Pin to a specific tarball

2 years agotest: hxxx: missing config.h
Francois Cartegnie [Tue, 26 Dec 2017 10:05:41 +0000 (11:05 +0100)]
test: hxxx: missing config.h

2 years agocodec: ttml: no longer need to use resolution after rebase
Francois Cartegnie [Tue, 26 Dec 2017 09:19:51 +0000 (10:19 +0100)]
codec: ttml: no longer need to use resolution after rebase

2 years agobluray: check setmntent return value.
Konstantin Pavlov [Mon, 25 Dec 2017 23:03:31 +0000 (02:03 +0300)]
bluray: check setmntent return value.

2 years agocontrib: update breakpad to 0.1.2
Marvin Scholz [Mon, 25 Dec 2017 21:36:49 +0000 (22:36 +0100)]
contrib: update breakpad to 0.1.2

Breakpad 0.1.2 fixes macOS build failures with the Xcode project for the
dump_syms tool.

2 years agocodec: ttml: don't round up font size
Francois Cartegnie [Sun, 24 Dec 2017 19:44:04 +0000 (20:44 +0100)]
codec: ttml: don't round up font size

2 years agocodec: ttml: fix setting percent based sizings
Francois Cartegnie [Fri, 22 Dec 2017 15:50:47 +0000 (16:50 +0100)]
codec: ttml: fix setting percent based sizings

2 years agowin32: build.sh: Add breakpad support
Hugo Beauzée-Luyssen [Thu, 21 Dec 2017 17:10:45 +0000 (18:10 +0100)]
win32: build.sh: Add breakpad support

2 years agowin32: Use breakpad for crash reporting
Hugo Beauzée-Luyssen [Thu, 21 Dec 2017 10:09:55 +0000 (11:09 +0100)]
win32: Use breakpad for crash reporting

2 years agoconfigure: Specify a build ID when building with breakpad on windows
Hugo Beauzée-Luyssen [Tue, 19 Dec 2017 15:42:00 +0000 (16:42 +0100)]
configure: Specify a build ID when building with breakpad on windows

2 years agowinvlc: Remove old crash handling code
Hugo Beauzée-Luyssen [Tue, 19 Dec 2017 11:09:28 +0000 (12:09 +0100)]
winvlc: Remove old crash handling code

2 years agoRework breakpad detection to enable it on windows as well
Hugo Beauzée-Luyssen [Mon, 18 Dec 2017 11:46:53 +0000 (12:46 +0100)]
Rework breakpad detection to enable it on windows as well

2 years agocontrib: Allow breakpad to be built on windows
Hugo Beauzée-Luyssen [Thu, 21 Dec 2017 17:29:52 +0000 (18:29 +0100)]
contrib: Allow breakpad to be built on windows

2 years agocontribs: Bump breakpad version
Hugo Beauzée-Luyssen [Sat, 23 Dec 2017 16:02:25 +0000 (17:02 +0100)]
contribs: Bump breakpad version

2 years agoavcodec: do not reorder Ambisonics channels encoded in AAC
Adrien Maglo [Thu, 21 Dec 2017 17:18:40 +0000 (18:18 +0100)]
avcodec: do not reorder Ambisonics channels encoded in AAC

Keep the codec order to achieve a correct Ambisonics rendering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agofaad: do not reorder Ambisonics channels
Adrien Maglo [Thu, 21 Dec 2017 17:15:01 +0000 (18:15 +0100)]
faad: do not reorder Ambisonics channels

Keep the original decoded order to achieve a correct Ambisonics rendering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoconfigure: test for getaddrinfo_a and libanl
Natanael Copa [Wed, 20 Dec 2017 12:21:02 +0000 (12:21 +0000)]
configure: test for getaddrinfo_a and libanl

Test for the existence of the GNU extension getaddrinf_a and libanl
instead of assuming that every Linux has it. Fall back to posix variant
if they are missing.

This fixes build with musl libc which does not implement this GNU
extension.

Fixes #19320

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agocontrib: x264: disable asm on Android x86*
Thomas Guillem [Fri, 22 Dec 2017 14:38:42 +0000 (15:38 +0100)]
contrib: x264: disable asm on Android x86*

Because of TEXTREL...

2 years agocontrib: vpx: fix x86 android build with encoders
Thomas Guillem [Fri, 22 Dec 2017 14:04:47 +0000 (15:04 +0100)]
contrib: vpx: fix x86 android build with encoders

__ANDROID__ doesn't seem to be defined when built from the android yasm

2 years agochroma: fix chroma copy tests on big endian
Natanael Copa [Wed, 20 Dec 2017 15:56:24 +0000 (15:56 +0000)]
chroma: fix chroma copy tests on big endian

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 years agocontribs: glew: Simplify/improve the win32 patch, fix building with lld
Martin Storsjö [Thu, 21 Dec 2017 21:34:29 +0000 (23:34 +0200)]
contribs: glew: Simplify/improve the win32 patch, fix building with lld

The previous version of win32.patch left things in a bit more broken state
than necessary.

The previous version of the patch removed LD=gcc and removed a number of
flags, making the build trying to build a DLL (but without the option
-shared), actually producing an EXE. (The linked DLLs are later
actually removed by the contribs build system.) Instead of removing LD=gcc,
change it into LD=$(CC) which is more what glew originally intended, and
keep the flags for linking shared libraries (but remove the -soname option
which isn't supported by neither GNU ld nor lld).

This fixes building in setups where $(LD) points to lld.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 years agocontribs: qt: Clean up libQt5Bootstrap.a in the build tree as well
Martin Storsjö [Thu, 21 Dec 2017 21:57:44 +0000 (23:57 +0200)]
contribs: qt: Clean up libQt5Bootstrap.a in the build tree as well

When building the Qt tools for the target architecture in cross
compilation, the bootstrap object library is rebuilt. (In cross
builds of Qt, the tools are only built for the build host.
The VLC contribs build them manually for the targeted environment
afterwards.) The tools bootstrap library wasn't removed inbetween
though.

This meant that the object files for the second round (for the
cross target environment) were added to the bootstrap library for
the host environment. Most object files were just replaced, but some
few object files weren't built at all in cross builds for windows.
This meant that after cross-building the bootstrap library for windows,
it still contained a few object files for the native host build
environment as well.

lld-link errors out when it encounters object files in a static library
that it can't parse (in this case, ELF files when doing a windows cross
build).

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 years agocontribs: harfbuzz: Fix compilation with clang on win64
Martin Storsjö [Thu, 21 Dec 2017 21:57:43 +0000 (23:57 +0200)]
contribs: harfbuzz: Fix compilation with clang on win64

Clang errors out on casting from a pointer to a smaller integer
type.

This is an adapted backport of a newer upstream harfbuzz
commit 03b7a221f701a9b003890878e730ad175c3fdd86.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 years agocontribs: lua: Use an import library when linking, fix building with lld
Martin Storsjö [Thu, 21 Dec 2017 21:57:42 +0000 (23:57 +0200)]
contribs: lua: Use an import library when linking, fix building with lld

lld doesn't support providing the DLL instead of an import library
when linking.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 years agodcp: Fix invalid delete
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:49:48 +0000 (10:49 +0100)]
dcp: Fix invalid delete

CID #1463250

2 years agodcp: Fix potentially invalid release
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:46:49 +0000 (10:46 +0100)]
dcp: Fix potentially invalid release

CID #1463254

2 years agodcp: Fix assignment instead of comparison
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:40:51 +0000 (10:40 +0100)]
dcp: Fix assignment instead of comparison

CID #1463255 #1463251

2 years agodcpparser: Remove unused (and uninitialized) member
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:39:09 +0000 (10:39 +0100)]
dcpparser: Remove unused (and uninitialized) member

CID #1463259

2 years agodcp: Remove unrequired checks
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:35:29 +0000 (10:35 +0100)]
dcp: Remove unrequired checks

CID #1463257 #1463249

2 years agodcp: Fix leak on error
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:26:25 +0000 (10:26 +0100)]
dcp: Fix leak on error

CID #1463258

2 years agodcp: Add missing initialization
Hugo Beauzée-Luyssen [Fri, 22 Dec 2017 09:25:04 +0000 (10:25 +0100)]
dcp: Add missing initialization

CID #1463259

2 years agocodec: ttml: override region position
Francois Cartegnie [Thu, 21 Dec 2017 17:01:40 +0000 (18:01 +0100)]
codec: ttml: override region position

occues in <set> animations and
broken CaptionMaker smpte-tt

refs #19231

2 years agocodec: ttml: refactor and fix inline extent/origin reading
Francois Cartegnie [Thu, 21 Dec 2017 14:19:24 +0000 (15:19 +0100)]
codec: ttml: refactor and fix inline extent/origin reading

2 years agotext_renderer: workaround max y size limit
Francois Cartegnie [Thu, 21 Dec 2017 19:49:31 +0000 (20:49 +0100)]
text_renderer: workaround max y size limit

because computed regions size usually do not
 match the real line size.
(the right fix being to know font metrics
 before our renderers)

refs #19230

2 years agotranscode: fix encoder chroma initialization
Thomas Guillem [Thu, 21 Dec 2017 12:00:11 +0000 (13:00 +0100)]
transcode: fix encoder chroma initialization

2 years agoQt, sprefs: remove one extra string (reuse)
Jean-Baptiste Kempf [Thu, 21 Dec 2017 13:10:46 +0000 (14:10 +0100)]
Qt, sprefs: remove one extra string (reuse)

Ref #19305

2 years agoQt: spref, add option to select the fullscreen screen
Pierre Lamot [Wed, 20 Dec 2017 16:58:13 +0000 (17:58 +0100)]
Qt: spref, add option to select the fullscreen screen

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, add fast seek option
Pierre Lamot [Wed, 20 Dec 2017 16:58:12 +0000 (17:58 +0100)]
Qt: spref, add fast seek option

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, remove DirectX DisplayDevice preference
Pierre Lamot [Wed, 20 Dec 2017 16:58:11 +0000 (17:58 +0100)]
Qt: spref, remove DirectX DisplayDevice preference

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, move DirectX specific options to the DirectX GroupBox
Pierre Lamot [Wed, 20 Dec 2017 16:58:10 +0000 (17:58 +0100)]
Qt: spref, move DirectX specific options to the DirectX GroupBox

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, align Privacy / Network options
Pierre Lamot [Wed, 20 Dec 2017 16:58:09 +0000 (17:58 +0100)]
Qt: spref, align Privacy / Network options

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, move "Continue playback?" to playlist
Pierre Lamot [Wed, 20 Dec 2017 16:58:08 +0000 (17:58 +0100)]
Qt: spref, move "Continue playback?" to playlist

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, fix Interface > Network > Filter alignment
Pierre Lamot [Wed, 20 Dec 2017 16:58:07 +0000 (17:58 +0100)]
Qt: spref, fix Interface > Network > Filter alignment

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoQt: spref, remove Dolby Surround and headphone preference
Pierre Lamot [Wed, 20 Dec 2017 16:58:05 +0000 (17:58 +0100)]
Qt: spref, remove Dolby Surround and headphone preference

Ref #19305

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agocontrib: Disable asdcp on winstore
Hugo Beauzée-Luyssen [Thu, 21 Dec 2017 12:52:33 +0000 (13:52 +0100)]
contrib: Disable asdcp on winstore

2 years agoDCP: fix heap-use-after-free on xml_ReaderNextNode error
Thomas Guillem [Thu, 21 Dec 2017 09:57:01 +0000 (10:57 +0100)]
DCP: fix heap-use-after-free on xml_ReaderNextNode error

==9090==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000173170 at pc 0x7f8a86e19063 bp 0x7f8a7bbf9230 sp 0x7f8a7bbf89e0
READ of size 2 at 0x602000173170 thread T10
[000061200002c080] dbus interface debug: Getting All properties
[000061200002c080] dbus interface debug: Getting All properties
    #0 0x7f8a86e19062  (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x3c062)
    #1 0x7f8a84dda3b6 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x1203b6)
    #2 0x7f8a4d1bfef1 in XmlFile::ReadNextNode(demux_t*, xml_reader_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ../../modules/access/dcp/dcpparser.cpp:750
    #3 0x7f8a4d1c0d82 in PKL::Parse() ../../modules/access/dcp/dcpparser.cpp:864
    #4 0x7f8a4d1bbe32 in AssetMap::Parse() ../../modules/access/dcp/dcpparser.cpp:291
    #5 0x7f8a4d1b2f7c in parseXML(demux_t*) ../../modules/access/dcp/dcp.cpp:1011
    #6 0x7f8a4d1b2b12 in dcpInit(demux_t*) ../../modules/access/dcp/dcp.cpp:942
    #7 0x7f8a4d1ad3c2 in Open ../../modules/access/dcp/dcp.cpp:326
    #8 0x7f8a8653b97d in generic_start ../../src/modules/modules.c:356
    #9 0x7f8a8653acd4 in module_load ../../src/modules/modules.c:183
    #10 0x7f8a8653b328 in vlc_module_load ../../src/modules/modules.c:279
    #11 0x7f8a8653bace in module_need ../../src/modules/modules.c:371
    #12 0x7f8a8658c8c5 in demux_NewAdvanced ../../src/input/demux.c:270
    #13 0x7f8a865c84c7 in InputDemuxNew ../../src/input/input.c:2403
    #14 0x7f8a865c8e89 in InputSourceNew ../../src/input/input.c:2555
    #15 0x7f8a865c15bf in Init ../../src/input/input.c:1303
    #16 0x7f8a865bc641 in Run ../../src/input/input.c:498
    #17 0x7f8a857ee493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
    #18 0x7f8a8532cafe in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe8afe)

0x602000173170 is located 0 bytes inside of 12-byte region [0x602000173170,0x60200017317c)
freed by thread T10 here:
    #0 0x7f8a86e9ea10 in free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1a10)
    #1 0x7f8a78a29181 in ReaderNextNode ../../modules/misc/xml/libxml.c:217
    #2 0x7f8a4d1ba838 in xml_ReaderNextNode ../../include/vlc_xml.h:87
    #3 0x7f8a4d1bfec2 in XmlFile::ReadNextNode(demux_t*, xml_reader_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ../../modules/access/dcp/dcpparser.cpp:744
    #4 0x7f8a4d1c0d82 in PKL::Parse() ../../modules/access/dcp/dcpparser.cpp:864
    #5 0x7f8a4d1bbe32 in AssetMap::Parse() ../../modules/access/dcp/dcpparser.cpp:291
    #6 0x7f8a4d1b2f7c in parseXML(demux_t*) ../../modules/access/dcp/dcp.cpp:1011
    #7 0x7f8a4d1b2b12 in dcpInit(demux_t*) ../../modules/access/dcp/dcp.cpp:942
    #8 0x7f8a4d1ad3c2 in Open ../../modules/access/dcp/dcp.cpp:326
    #9 0x7f8a8653b97d in generic_start ../../src/modules/modules.c:356
    #10 0x7f8a8653acd4 in module_load ../../src/modules/modules.c:183
    #11 0x7f8a8653b328 in vlc_module_load ../../src/modules/modules.c:279
    #12 0x7f8a8653bace in module_need ../../src/modules/modules.c:371
    #13 0x7f8a8658c8c5 in demux_NewAdvanced ../../src/input/demux.c:270
    #14 0x7f8a865c84c7 in InputDemuxNew ../../src/input/input.c:2403
    #15 0x7f8a865c8e89 in InputSourceNew ../../src/input/input.c:2555
    #16 0x7f8a865c15bf in Init ../../src/input/input.c:1303
    #17 0x7f8a865bc641 in Run ../../src/input/input.c:498
    #18 0x7f8a857ee493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)

2 years agodemux: ts: don't wait for network time (fix #19234)
Francois Cartegnie [Thu, 21 Dec 2017 09:53:37 +0000 (10:53 +0100)]
demux: ts: don't wait for network time (fix #19234)

2 years agovideo_output: skip epg time if not avail
Francois Cartegnie [Thu, 21 Dec 2017 09:42:14 +0000 (10:42 +0100)]
video_output: skip epg time if not avail

2 years agoextras/tools: add all files in the dist package
Jean-Baptiste Kempf [Thu, 21 Dec 2017 09:03:16 +0000 (10:03 +0100)]
extras/tools: add all files in the dist package

2 years agodemux: mp4: map DTS-HD profile
Francois Cartegnie [Wed, 20 Dec 2017 18:52:47 +0000 (19:52 +0100)]
demux: mp4: map DTS-HD profile

2 years agoImageWrite: create filters when RGB masks differ
Francois Cartegnie [Wed, 20 Dec 2017 18:33:03 +0000 (19:33 +0100)]
ImageWrite: create filters when RGB masks differ

refs #13349

2 years agocodec: png: encoder wants RGB
Francois Cartegnie [Wed, 20 Dec 2017 18:18:25 +0000 (19:18 +0100)]
codec: png: encoder wants RGB

refs #13349

2 years agospatialaudio: replace the FHK HRTF by the 3D Sound Labs HRTF
Adrien Maglo [Mon, 18 Dec 2017 13:21:52 +0000 (14:21 +0100)]
spatialaudio: replace the FHK HRTF by the 3D Sound Labs HRTF

This HRTF is licensed under the GNU Lesser General Public License v2.1
or later.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2 years agoaout: audiotrack: setup DTS_HD output only when needed
Thomas Guillem [Wed, 20 Dec 2017 13:10:01 +0000 (14:10 +0100)]
aout: audiotrack: setup DTS_HD output only when needed

2 years agoaout: mmdevice: setup DTS_HD output only when needed
Thomas Guillem [Wed, 20 Dec 2017 13:09:48 +0000 (14:09 +0100)]
aout: mmdevice: setup DTS_HD output only when needed

2 years agoaout: add HACK to differentiate DTS from DTS-HD
Thomas Guillem [Wed, 20 Dec 2017 13:09:08 +0000 (14:09 +0100)]
aout: add HACK to differentiate DTS from DTS-HD

This HACK need to be replaced in 4.0 by adding a profile to audio_format_t or
by passing it to aout modules.

2 years agodecoder: check i_profile similarity for audio
Thomas Guillem [Wed, 20 Dec 2017 13:02:26 +0000 (14:02 +0100)]
decoder: check i_profile similarity for audio

Maybe es_format_IsSimilar should be used.

2 years agoes_format: check i_profile similarity for audio
Thomas Guillem [Wed, 20 Dec 2017 10:20:55 +0000 (11:20 +0100)]
es_format: check i_profile similarity for audio

2 years agocodec: spdif: pass i_profile
Thomas Guillem [Wed, 20 Dec 2017 13:07:51 +0000 (14:07 +0100)]
codec: spdif: pass i_profile

2 years agodemux: psi: fill DTS profile
Thomas Guillem [Wed, 20 Dec 2017 13:08:32 +0000 (14:08 +0100)]
demux: psi: fill DTS profile

2 years agodemux: mp4: fill DTS profile
Thomas Guillem [Wed, 20 Dec 2017 13:08:11 +0000 (14:08 +0100)]
demux: mp4: fill DTS profile

2 years agopacketizer: dts: set DTS_HD profile
Thomas Guillem [Wed, 20 Dec 2017 13:03:37 +0000 (14:03 +0100)]
packetizer: dts: set DTS_HD profile

Only basic set of profile: DTS or DTS_HD, we don't really care about
differentiating HD form HD-MA or others for now.

2 years agodirect3d11: remove EraseYUVBorders()
Steve Lhomme [Tue, 19 Dec 2017 09:32:02 +0000 (10:32 +0100)]
direct3d11: remove EraseYUVBorders()

We don't need it anymore now that we don't do interpolation with these extra pixels

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agodirect3d11: switch the pixel shader to point interpolation when reaching visible...
Steve Lhomme [Tue, 19 Dec 2017 09:32:01 +0000 (10:32 +0100)]
direct3d11: switch the pixel shader to point interpolation when reaching visible sides

The texture is bigger than the visible sides, so if we use linear interpolation
on the last pixel it will use values with unknown values on the part where it
would do clamping otherwise. So we force it to use point interpolation (not
using pixels around) for the last line/column to display.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agodirect3d11: use a simplified shader function to sample pixels from the texture
Steve Lhomme [Tue, 19 Dec 2017 09:32:00 +0000 (10:32 +0100)]
direct3d11: use a simplified shader function to sample pixels from the texture

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agodirect3d11: provide 2 sampler states
Steve Lhomme [Tue, 19 Dec 2017 09:31:59 +0000 (10:31 +0100)]
direct3d11: provide 2 sampler states

One with linear interpolation, one with point (none) interpolation.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agocontrib:ffmpeg: fix crash in DVXA in interlaced VC-1
Steve Lhomme [Tue, 19 Dec 2017 13:51:26 +0000 (14:51 +0100)]
contrib:ffmpeg: fix crash in DVXA in interlaced VC-1

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoContribs: asdcplib depends on nettle
Jean-Baptiste Kempf [Wed, 20 Dec 2017 15:47:18 +0000 (16:47 +0100)]
Contribs: asdcplib depends on nettle

2 years agoContribs: activate asdcplib on desktops
Jean-Baptiste Kempf [Wed, 20 Dec 2017 15:23:29 +0000 (16:23 +0100)]
Contribs: activate asdcplib on desktops

2 years agocodec: ttml: fallback on non namespaced id
Francois Cartegnie [Wed, 20 Dec 2017 14:18:12 +0000 (15:18 +0100)]
codec: ttml: fallback on non namespaced id

2 years agocodec: ttml: fix absolute position inside root region
Francois Cartegnie [Wed, 20 Dec 2017 13:54:25 +0000 (14:54 +0100)]
codec: ttml: fix absolute position inside root region

and default to bottom (not really matching spec)

2 years agoglwin32: Don't return an error code from a void function
Martin Storsjö [Wed, 20 Dec 2017 13:49:16 +0000 (15:49 +0200)]
glwin32: Don't return an error code from a void function

This fixes a compiler error with clang, present since ed9fe3b7:

glwin32.c:249:9: error: void function 'Manage' should not return a value [-Wreturn-type]
        return VLC_EGENERIC;
        ^      ~~~~~~~~~~~~

2 years agocodec: substx3g: fix alignment
Francois Cartegnie [Wed, 20 Dec 2017 11:34:08 +0000 (12:34 +0100)]
codec: substx3g: fix alignment

2 years agodemux: avi: reject invalid dwRate/dwScale
Francois Cartegnie [Wed, 20 Dec 2017 09:52:07 +0000 (10:52 +0100)]
demux: avi: reject invalid dwRate/dwScale

2 years agodemux: avi: do 2 step rescaling
Francois Cartegnie [Wed, 20 Dec 2017 10:19:57 +0000 (11:19 +0100)]
demux: avi: do 2 step rescaling

2 years agoContribs: detect sidplay2 with pkg-config
Jean-Baptiste Kempf [Wed, 20 Dec 2017 10:15:21 +0000 (11:15 +0100)]
Contribs: detect sidplay2 with pkg-config

2 years agoContribs: detect live555 with pkg-config
Jean-Baptiste Kempf [Wed, 20 Dec 2017 10:12:54 +0000 (11:12 +0100)]
Contribs: detect live555 with pkg-config

2 years agoContribs: fix mpg123 pkg-config name detection
Jean-Baptiste Kempf [Wed, 20 Dec 2017 10:07:14 +0000 (11:07 +0100)]
Contribs: fix mpg123 pkg-config name detection