vlc.git
16 months agocontrib: microdns: Update to the latest version, 0.0.9
Martin Storsjö [Tue, 27 Feb 2018 14:07:42 +0000 (16:07 +0200)]
contrib: microdns: Update to the latest version, 0.0.9

This version fixes building with llvm-mingw with mingw-w64 targeting
a version of windows >= vista.

16 months agostream_filter: ifo: check return value
Francois Cartegnie [Tue, 27 Feb 2018 13:18:00 +0000 (14:18 +0100)]
stream_filter: ifo: check return value

16 months agostream_filter: ifo: use VLC_EGENERIC
Francois Cartegnie [Tue, 27 Feb 2018 13:15:58 +0000 (14:15 +0100)]
stream_filter: ifo: use VLC_EGENERIC

16 months agostream_filter: ifo: don't overwrite url
Francois Cartegnie [Tue, 27 Feb 2018 13:10:01 +0000 (14:10 +0100)]
stream_filter: ifo: don't overwrite url

16 months agostream_filter: ifo: simplify
Francois Cartegnie [Tue, 27 Feb 2018 13:09:10 +0000 (14:09 +0100)]
stream_filter: ifo: simplify

16 months agostream_filter: ifo: check extension first
Francois Cartegnie [Tue, 27 Feb 2018 10:26:52 +0000 (11:26 +0100)]
stream_filter: ifo: check extension first

16 months agostream_filter: ifo: fix stream_filter regression
Francois Cartegnie [Tue, 27 Feb 2018 10:23:23 +0000 (11:23 +0100)]
stream_filter: ifo: fix stream_filter regression

16 months agostream_filter: ifo: rename demux/stream
Francois Cartegnie [Tue, 27 Feb 2018 10:14:06 +0000 (11:14 +0100)]
stream_filter: ifo: rename demux/stream

16 months agomacosx: escape sout filenames (fix #19841)
Marvin Scholz [Tue, 27 Feb 2018 01:25:32 +0000 (02:25 +0100)]
macosx: escape sout filenames (fix #19841)

16 months agomacosx: Refactor and update drag handling in ConvertAndSave Window
Marvin Scholz [Tue, 27 Feb 2018 01:12:05 +0000 (02:12 +0100)]
macosx: Refactor and update drag handling in ConvertAndSave Window

Fixes a crash when dragging a playlist item onto the drag and drop area
of the Convert an Save window, as it tried to access the no longer
present playlist item pointerValue.
Instead, the playlist item id has to be used to get the playlist item.

Additionally refactor the way too complex and hard to follow
draggedItems iteration code.

16 months agomacosx: escape sout filenames (fix #19841)
Francois Cartegnie [Mon, 26 Feb 2018 12:24:51 +0000 (13:24 +0100)]
macosx: escape sout filenames (fix #19841)

16 months agommdevice: skip if volume reset is enabled for now
Rémi Denis-Courmont [Mon, 26 Feb 2018 22:18:26 +0000 (00:18 +0200)]
mmdevice: skip if volume reset is enabled for now

16 months agopicture: fix empty allocation leak
Rémi Denis-Courmont [Mon, 26 Feb 2018 21:32:45 +0000 (23:32 +0200)]
picture: fix empty allocation leak

If the picture has zero planes, pic->p->p_pixels is set to NULL rather
than the allocated (zero bytes) buffer, leading to a potential leak
depending on aligned_alloc() implementation.

16 months agoremove vlc_tls_ClientSessionCreateFD
Francois Cartegnie [Mon, 26 Feb 2018 20:37:17 +0000 (21:37 +0100)]
remove vlc_tls_ClientSessionCreateFD

was only remaining there for previous adaptive code

16 months agovout: decklink: fix build again
Francois Cartegnie [Mon, 26 Feb 2018 20:00:48 +0000 (21:00 +0100)]
vout: decklink: fix build again

16 months agoaccess_demux: increase priority by 300
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:35:53 +0000 (22:35 +0200)]
access_demux: increase priority by 300

For the time being, access_demux modules should have a higher priority
than access modules, so that order is maintained if/when the two
capabilities are merged. The highest access module priority is below
300 as of now.

16 months agov4l2: bump priority to two and one
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
v4l2: bump priority to two and one

We want the regular V4L2 video demuxer to have a higher priority than
the V4L2 radio demuxer, and then both than the V4L2 bitstream access.

16 months agoimem: bump priority to one
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
imem: bump priority to one

This plugin does not need priority since no other plugins have any
alias in common. However, it has also an access submodule, and we want
the access_demux submodule at higher priority for the time being.

16 months agodshow: bump priority to one
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
dshow: bump priority to one

This plugin does not need priority since no other plugins have any
alias in common. However, it has also an access submodule, and we want
the access_demux submodule at higher priority for the time being.

16 months agocdda: drop priority to one
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
cdda: drop priority to one

This plugin does not need priority since no other plugins have any
alias in common. However, it has also an access submodule, and we want
the access_demux submodule at higher priority for the time being.

16 months agovcd: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
vcd: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agonfs: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
nfs: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agocdda: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
cdda: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agooss: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
oss: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agodecklink: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
decklink: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agodc1394: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
dc1394: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agoavcapture: drop priority to zero
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:19:44 +0000 (22:19 +0200)]
avcapture: drop priority to zero

This plugin does not need priority since no other plugins have any
alias in common.

16 months agostream filter: increase priorities
Rémi Denis-Courmont [Mon, 26 Feb 2018 20:11:34 +0000 (22:11 +0200)]
stream filter: increase priorities

This increases the priority of every stream filter with non-zero
priority by 300. The point is to make those priorities higher than any
existing demux priority (to merge the two capabilities later on).

16 months agoBump plugin ABI
Rémi Denis-Courmont [Mon, 26 Feb 2018 19:55:56 +0000 (21:55 +0200)]
Bump plugin ABI

16 months agodemux: make demux_t an alias of stream_t (refs #18504)
Rémi Denis-Courmont [Mon, 26 Feb 2018 19:54:15 +0000 (21:54 +0200)]
demux: make demux_t an alias of stream_t (refs #18504)

16 months agostream: add out and pf_demux (refs #18504)
Rémi Denis-Courmont [Mon, 26 Feb 2018 19:51:50 +0000 (21:51 +0200)]
stream: add out and pf_demux (refs #18504)

16 months agostream: add p_next field (refs #18504)
Rémi Denis-Courmont [Mon, 26 Feb 2018 19:48:49 +0000 (21:48 +0200)]
stream: add p_next field (refs #18504)

16 months agostream filter: provide file path in addition to URL
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:56:55 +0000 (20:56 +0200)]
stream filter: provide file path in addition to URL

16 months agoyadif: fix invalid function pointer conversion
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:46:04 +0000 (20:46 +0200)]
yadif: fix invalid function pointer conversion

16 months agodynamicoverlay: fix memory corruption
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:43:03 +0000 (20:43 +0200)]
dynamicoverlay: fix memory corruption

Font alpha is 8-bits, not 32-bits.

16 months agodynamicoverlay: fix undefined signed overflow
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:42:40 +0000 (20:42 +0200)]
dynamicoverlay: fix undefined signed overflow

16 months agochromaprint: missing cast
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:36:29 +0000 (20:36 +0200)]
chromaprint: missing cast

16 months agots: fix invalid casts
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:34:43 +0000 (20:34 +0200)]
ts: fix invalid casts

16 months agosout: look up index only once
Rémi Denis-Courmont [Mon, 26 Feb 2018 18:23:27 +0000 (20:23 +0200)]
sout: look up index only once

TAB_REMOVE would do a second look-up then call TAB_REMOVE.
Call TAB_REMOVE directly.

16 months agocodec: avcodec: map i422/16 (refs #19684)
Francois Cartegnie [Mon, 26 Feb 2018 18:00:41 +0000 (19:00 +0100)]
codec: avcodec: map i422/16 (refs #19684)

16 months agovfilter: blend: add i422/16
Francois Cartegnie [Mon, 26 Feb 2018 17:53:49 +0000 (18:53 +0100)]
vfilter: blend: add i422/16

16 months agofourcc: add i422/16
Francois Cartegnie [Mon, 26 Feb 2018 17:53:16 +0000 (18:53 +0100)]
fourcc: add i422/16

16 months agoinclude: revector bit ops
Rémi Denis-Courmont [Mon, 26 Feb 2018 16:43:40 +0000 (18:43 +0200)]
include: revector bit ops

16 months agoRename popcount to vlc_popcount
Kamil Rytarowski [Mon, 26 Feb 2018 06:11:48 +0000 (07:11 +0100)]
Rename popcount to vlc_popcount

This removes conflicts with the NetBSD headers and libc.
The conflicts caused fatal build errors.

No functional change intended for other Operating Systems.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
16 months agochromecast: fix load in when the state is 'Stopped'
Thomas Guillem [Mon, 26 Feb 2018 16:03:31 +0000 (17:03 +0100)]
chromecast: fix load in when the state is 'Stopped'

16 months agochromecast: avoid too many sout/cc restart when flushing
Thomas Guillem [Mon, 26 Feb 2018 16:02:48 +0000 (17:02 +0100)]
chromecast: avoid too many sout/cc restart when flushing

Wait for all streams being flushed before sending new data.

16 months agodemux: webvtt: release memstream empty alloc
Francois Cartegnie [Mon, 26 Feb 2018 13:34:25 +0000 (14:34 +0100)]
demux: webvtt: release memstream empty alloc

16 months agoQt: convert: merge sout chain as args
Francois Cartegnie [Mon, 26 Feb 2018 12:43:49 +0000 (13:43 +0100)]
Qt: convert: merge sout chain as args

16 months agoQt: use arg syntax in transcoding
Francois Cartegnie [Mon, 26 Feb 2018 12:14:38 +0000 (13:14 +0100)]
Qt: use arg syntax in transcoding

16 months agoQt: escape demuxdump filename (refs #19841)
Francois Cartegnie [Mon, 26 Feb 2018 12:12:10 +0000 (13:12 +0100)]
Qt: escape demuxdump filename (refs #19841)

16 months agoconfigure: Include windows.h before checking the _WIN32_WINNT version
Martin Storsjö [Thu, 14 Dec 2017 21:06:32 +0000 (23:06 +0200)]
configure: Include windows.h before checking the _WIN32_WINNT version

The default value of _WIN32_WINNT isn't something that is built into
the compiler, but is defined by the toolchain headers.

Include windows.h after including ws2tcpip.h/winsock2.h, since those
headers should be included in that particular order.

16 months agopacketizer: hevc: add hevc_get_chroma_luma
Francois Cartegnie [Mon, 26 Feb 2018 10:11:16 +0000 (11:11 +0100)]
packetizer: hevc: add hevc_get_chroma_luma

16 months agocontrib: x265: Patch x265 to skip the resource file
Martin Storsjö [Thu, 14 Dec 2017 10:08:39 +0000 (12:08 +0200)]
contrib: x265: Patch x265 to skip the resource file

CMake uses a static library to pass files to the linker. CMake
does request windres to produce a COFF formatted object file, but
llvm-mingw's windres wrapper currently overrides it and produces
a .res (arch independent) formatted one instead. LLD doesn't support
such files in static libraries.

Just don't bother with the resource file for now, it's irrelevant
from VLC's point of view - it's only used for the executable and
shared library, neither of which are used by VLC.

Passing -DCMAKE_RC_COMPILER=FALSE on the cmake configuration line
sounds like a different workaround, but that doesn't seem to work
though - then we suddenly start getting -fPIC flags to the compiler,
which clang errors out on.

This can be dropped once llvm-mingw doesn't need to force the
windres output into the arch independent format.

16 months agocontrib: live555: Don't try to use $(LD) to create static libraries on MinGW, use...
Martin Storsjö [Mon, 26 Feb 2018 09:31:46 +0000 (11:31 +0200)]
contrib: live555: Don't try to use $(LD) to create static libraries on MinGW, use $(AR)

This fixes building with llvm-mingw.

16 months agocontrib: flac: Don't force __MSVCRT_VERSION__ to a specific (old) version
Martin Storsjö [Thu, 14 Dec 2017 21:42:21 +0000 (23:42 +0200)]
contrib: flac: Don't force __MSVCRT_VERSION__ to a specific (old) version

The forcing of this define was added upstream many years ago, probably
to expose certain features that aren't available by default in the old
mingw.org headers. In mingw-w64, setting __MSVCRT_VERSION__ doesn't
expose much new functionality at all (contrary to in mingw.org), and
the default in mingw-w64 is 0x0700.

Therefore, since we're using mingw-w64 anyway, don't force this version
but just use whatever the toolchain default is, assuming the default
is new enough.

This fixes building with mingw-w64 with the default msvcrt set to
ucrtbase.

16 months agocontrib: postproc: Don't omit adding -DPIC on windows
Martin Storsjö [Mon, 26 Feb 2018 08:37:21 +0000 (10:37 +0200)]
contrib: postproc: Don't omit adding -DPIC on windows

This fixes the earlier patch from 204d674232 to match what is done
in libav/ffmpeg's configure script even closer - even if we skip
adding -fPIC when building for windows, we still need to pass -DPIC
to pick the right form for assembler source.

16 months agofribidi: update for version 1.0
Shaleen Jain [Sun, 25 Feb 2018 13:12:27 +0000 (18:42 +0530)]
fribidi: update for version 1.0

Update functions deprecated in version 1.0 when building with release 1.0 and
above.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
16 months agocontrib: pthreads: Don't use x86 inline asm on non-x86 platforms
Martin Storsjö [Wed, 10 Jan 2018 12:54:49 +0000 (14:54 +0200)]
contrib: pthreads: Don't use x86 inline asm on non-x86 platforms

16 months agocontrib: projectM: Don't forcibly add -fPIC when targeting windows
Martin Storsjö [Thu, 14 Dec 2017 07:17:39 +0000 (09:17 +0200)]
contrib: projectM: Don't forcibly add -fPIC when targeting windows

This fixes compilation with clang.

16 months agocontrib: postproc: Don't add -fPIC when targeting windows
Martin Storsjö [Wed, 13 Dec 2017 15:00:41 +0000 (17:00 +0200)]
contrib: postproc: Don't add -fPIC when targeting windows

This roughly matches 3965d404ccd from libav/ffmpeg. With GCC,
adding -fPIC when building for windows (x86_64) results in a warning,
while it is an error with clang.

16 months agocontrib: gnutls: Disable assembly on windows/x86_64 and aarch64 when built with clang
Martin Storsjö [Wed, 13 Dec 2017 14:11:09 +0000 (16:11 +0200)]
contrib: gnutls: Disable assembly on windows/x86_64 and aarch64 when built with clang

Move the check for clang from the qt rules.mak into the toplevel
main.mak.

This fixes building in these configurations.

16 months agocontrib: qt: Use the win32-clang-g++ mkspec when building with for windows with clang
Martin Storsjö [Wed, 21 Feb 2018 11:26:31 +0000 (13:26 +0200)]
contrib: qt: Use the win32-clang-g++ mkspec when building with for windows with clang

Check $(CC) --version to see if it turns out to be clang.

16 months agocontrib: qt: Add patches for building with llvm-mingw
Martin Storsjö [Wed, 13 Dec 2017 14:15:04 +0000 (16:15 +0200)]
contrib: qt: Add patches for building with llvm-mingw

All of them are backports (in Qt 5.11, everything needed for building
with llvm-mingw is upstreamed), with annotations about where they
come from.

To actually build with llvm-mingw, one has to use the mkspec
win32-clang-g++ instead of win32-g++.

16 months agocontrib: pthreads: Fix building with llvm-mingw
Martin Storsjö [Fri, 5 Jan 2018 21:53:37 +0000 (23:53 +0200)]
contrib: pthreads: Fix building with llvm-mingw

This avoids doing things with dlltool that llvm-dlltool doesn't
implement.

I don't see the need of running a second pass with dlltool to
produce an output def file and yet another pass to produce
an import library out of it; just make the linker output the
import library while linking the dll. (If the import library is
to be used by MSVC, there is a point in generating it with dlltool
instead of with ld though. Even then, there's no point in generating
the def file using dlltool though, when it could just be generated by
the linker.)

Remove an inline declaration on a function that can't be inline-only
(static inline).

For non-static inline functions in C, the compiler can choose to
use the inline function itself, or assume that a definition exists
in a different translation unit. In this case, clang seems to
not inline ptw32_cond_check_need_init and creates an undefined
reference to the same function that should be defined in another
translation unit (which doesn't exist).

See https://www.greenend.org.uk/rjk/tech/inline.html for more details
on this.

16 months agocontrib: goom: Fix building for i386 with clang
Martin Storsjö [Fri, 23 Feb 2018 22:14:13 +0000 (00:14 +0200)]
contrib: goom: Fix building for i386 with clang

This is based on a patch from gst-plugins-good (which bundles a copy
of the goom sources), based on a patch from FreeBSD ports.

16 months agocontrib: x264: Fix building for windows on arm
Martin Storsjö [Tue, 19 Dec 2017 09:05:47 +0000 (11:05 +0200)]
contrib: x264: Fix building for windows on arm

This includes a backport of one patch (from original git commit
7b13b31be60, included in the x264 master branch since Dec 24 2017),
and passing the necessary configure parameters for setting up
gas-preprocessor for this configuration.

16 months agocompat: remove no longer used ffsll()
Rémi Denis-Courmont [Sun, 25 Feb 2018 19:39:23 +0000 (21:39 +0200)]
compat: remove no longer used ffsll()

We don't need two ways to count trailing zeroes.

16 months agoopengl: use ctz() instead of ffsll()
Rémi Denis-Courmont [Sun, 25 Feb 2018 19:30:40 +0000 (21:30 +0200)]
opengl: use ctz() instead of ffsll()

When manipulating bit fields, zero-based ctz() is generally simpler
than one-based ffs().

By definition: ffs(x) = x ? (ctz(x) + 1) : 0

16 months agopicture_pool: simplify using ctz()
Rémi Denis-Courmont [Sun, 25 Feb 2018 19:05:19 +0000 (21:05 +0200)]
picture_pool: simplify using ctz()

Same as 09fa628168421b5d8881b72ced9390d84dd58123.

16 months agopicture_pool: fix cancellation handling with lock
Rémi Denis-Courmont [Sun, 25 Feb 2018 19:06:40 +0000 (21:06 +0200)]
picture_pool: fix cancellation handling with lock

If there is a deprecated lock callback, the mutex might be released
and the cancellation flag much be rechecked.

Conversely, if the pool is empty, then there is no point in checking
the flag: allocation will anyway fail immediately.

16 months agopicture_pool: simplify using ctz()
Rémi Denis-Courmont [Sun, 25 Feb 2018 19:05:19 +0000 (21:05 +0200)]
picture_pool: simplify using ctz()

Zero-based value is easier than one-based in this context.

16 months agocontrib: upnp: Improve and generalize a patch for handling inet_pton
Martin Storsjö [Sat, 24 Feb 2018 22:02:47 +0000 (00:02 +0200)]
contrib: upnp: Improve and generalize a patch for handling inet_pton

libupnp locally overrides the version of _WIN32_WINNT via
configure.ac and autoconfig.h (which is disabled by a vlc contrib
patch when targeting winrt though).

Make sure that autoconfig.h is included everywhere necessary, to
show/hide the relevant parts of winsock headers depending on the
chosen version of _WIN32_WINNT (either default or overridden).

This avoids including the system declarations of these functions if
the default target is >= vista but the build tries to override it
to a lower version.

On the other hand, if the override of _WIN32_WINNT is removed (as
when targeting winrt) and the default is >= vista, skip the local
version of inet_pton.

This should have the same effect as the previous patch, but
evaluated by the preprocessor instead of hardcoding commenting out
of certain source files.

16 months agoavcodec: map MagicYUV codec id
Jean-Baptiste Kempf [Sat, 24 Feb 2018 17:50:43 +0000 (18:50 +0100)]
avcodec: map MagicYUV codec id

16 months agoFourCC for MagicYUV
Jean-Baptiste Kempf [Sat, 24 Feb 2018 17:49:47 +0000 (18:49 +0100)]
FourCC for MagicYUV

16 months agod3d11va: do not use the external if there's not enough pictures
Steve Lhomme [Sat, 24 Feb 2018 12:46:53 +0000 (13:46 +0100)]
d3d11va: do not use the external if there's not enough pictures

Do the detection earlier and avoid fetching pictures from the pool for nothing.

16 months agod3d11_fmt: simplify the nvidia check
Steve Lhomme [Sat, 24 Feb 2018 12:41:30 +0000 (13:41 +0100)]
d3d11_fmt: simplify the nvidia check

16 months agodummy vout: fix sign warning
Rémi Denis-Courmont [Sat, 24 Feb 2018 07:57:45 +0000 (09:57 +0200)]
dummy vout: fix sign warning

16 months agoinclude: fix clz on pure ISO C compilers
Rémi Denis-Courmont [Sat, 24 Feb 2018 07:53:54 +0000 (09:53 +0200)]
include: fix clz on pure ISO C compilers

16 months agocontrib: ffmpeg: enable bsf=vp9_superframe
Thomas Guillem [Fri, 23 Feb 2018 12:39:34 +0000 (13:39 +0100)]
contrib: ffmpeg: enable bsf=vp9_superframe

This is used to mux VP9 inside webm/mkv

16 months agodemux: avi: fix fpe (#19688)
Francois Cartegnie [Fri, 23 Feb 2018 17:48:47 +0000 (18:48 +0100)]
demux: avi: fix fpe (#19688)

16 months agoqt: remove unused parameter
Rémi Denis-Courmont [Fri, 23 Feb 2018 17:18:32 +0000 (19:18 +0200)]
qt: remove unused parameter

16 months agoRevert "input: use the original demux for slave synchronisation"
Thomas Guillem [Fri, 23 Feb 2018 16:54:41 +0000 (17:54 +0100)]
Revert "input: use the original demux for slave synchronisation"

This reverts commit 2a8dda4c43b8967b5d53ee57a4de7f6aa99cff29.A

cf. 2e3120ad713190473134af431db78fbe9b25e033

16 months agochromecast: disable SPU
Thomas Guillem [Fri, 23 Feb 2018 17:12:29 +0000 (18:12 +0100)]
chromecast: disable SPU

cf. comment

16 months agodemux: extend demux_FilterChainNew() documentation
Rémi Denis-Courmont [Fri, 23 Feb 2018 17:01:58 +0000 (19:01 +0200)]
demux: extend demux_FilterChainNew() documentation

16 months agochromecast: fix typo in msg logs
Thomas Guillem [Fri, 23 Feb 2018 16:43:18 +0000 (17:43 +0100)]
chromecast: fix typo in msg logs

16 months agoQt: fix drawing of preview (#18109)
Francois Cartegnie [Fri, 23 Feb 2018 16:15:03 +0000 (17:15 +0100)]
Qt: fix drawing of preview (#18109)

16 months agomediacodec: don't override sar if already correct
Thomas Guillem [Fri, 23 Feb 2018 16:08:13 +0000 (17:08 +0100)]
mediacodec: don't override sar if already correct

16 months agochromecast: add SPU blending support
Thomas Guillem [Thu, 1 Feb 2018 12:42:14 +0000 (13:42 +0100)]
chromecast: add SPU blending support

16 months agoqt: always enable subtitle selection menu
Thomas Guillem [Fri, 23 Feb 2018 14:18:09 +0000 (15:18 +0100)]
qt: always enable subtitle selection menu

This was incoherent with audio/video selection menus. Indeed, audio/video
selection menus are always visible (regardless of vout/aout state).

This allows users to change the spu track when using a sout (and a renderer).

16 months agoinput: use the original demux for slave synchronisation
Thomas Guillem [Fri, 23 Feb 2018 13:47:47 +0000 (14:47 +0100)]
input: use the original demux for slave synchronisation

When using a renderer, the filtered demux will report the time currently
displayed by the renderer. If slaves synchronize to this time, SPU or other ES
tracks will always come too late. To fix this issue, we fetch the time on the
original demux (that will report the time being buffered).

This could be removed in VLC 4.0 in favor of a new demux control, like
DEMUX_GET_BUFFERED_TIME.

16 months agodemux: ts: reject ffmpeg/libav default SDT
Francois Cartegnie [Fri, 23 Feb 2018 10:43:29 +0000 (11:43 +0100)]
demux: ts: reject ffmpeg/libav default SDT

16 months agochromecast: fix webm support
Thomas Guillem [Fri, 23 Feb 2018 12:36:29 +0000 (13:36 +0100)]
chromecast: fix webm support

VP9 and OPUS are webm. Also configure the muxer for webm.

16 months agopacketizer: avparser: set keyframe flag
Thomas Guillem [Fri, 23 Feb 2018 12:35:31 +0000 (13:35 +0100)]
packetizer: avparser: set keyframe flag

16 months agomacosx: Display icons depending on renderer capabilities
Marvin Scholz [Fri, 23 Feb 2018 12:17:19 +0000 (13:17 +0100)]
macosx: Display icons depending on renderer capabilities

16 months agomacosx: Remove a SDK 10.11 preprocessor check
Marvin Scholz [Fri, 23 Feb 2018 12:11:05 +0000 (13:11 +0100)]
macosx: Remove a SDK 10.11 preprocessor check

16 months agoservice_discovery/bonjour: Parse Chromecast capabilities
Marvin Scholz [Fri, 23 Feb 2018 11:59:16 +0000 (12:59 +0100)]
service_discovery/bonjour: Parse Chromecast capabilities

Add support for correctly parsing the Chromecast capability flags and
correctly set VLC_RENDERER_CAN_VIDEO/AUDIO based on those.

16 months agochromecast: show perfs dialog only one time (if accepted)
Thomas Guillem [Fri, 23 Feb 2018 10:52:43 +0000 (11:52 +0100)]
chromecast: show perfs dialog only one time (if accepted)

This fixes the dialog reappearing after a seek.

16 months agoaudiotrack: fix wrong init parameter
Thomas Guillem [Fri, 23 Feb 2018 10:35:17 +0000 (11:35 +0100)]
audiotrack: fix wrong init parameter

My bad, just changed in last minute the int to int64_t instead of using jint.

16 months agodemux:mkv: fix i_last_dts mtime_t init
Steve Lhomme [Fri, 23 Feb 2018 09:32:13 +0000 (10:32 +0100)]
demux:mkv: fix i_last_dts mtime_t init

16 months agodemux:mkv: fix the position displayed for ordered chapters
Steve Lhomme [Fri, 23 Feb 2018 08:51:51 +0000 (09:51 +0100)]
demux:mkv: fix the position displayed for ordered chapters