vlc.git
2 hours agovout: fix overflow in subpicture sar master
Francois Cartegnie [Sat, 21 Oct 2017 18:54:13 +0000 (20:54 +0200)]
vout: fix overflow in subpicture sar

triggers incorrect sar / subpicture size when
sar is set (scaling down)

7 hours agocodec: cea708: fix possible divbyzero
Francois Cartegnie [Sat, 21 Oct 2017 14:04:56 +0000 (16:04 +0200)]
codec: cea708: fix possible divbyzero

24 hours agocodec: substext: fix leak with multiple regions
Francois Cartegnie [Fri, 20 Oct 2017 20:40:39 +0000 (22:40 +0200)]
codec: substext: fix leak with multiple regions

24 hours agocodec: substext: rename defines for disambiguation
Francois Cartegnie [Fri, 20 Oct 2017 16:05:31 +0000 (18:05 +0200)]
codec: substext: rename defines for disambiguation

29 hours agoqt: drop Qt 4 support, set minimal Qt version to 5.5
Pierre Lamot [Fri, 20 Oct 2017 15:13:05 +0000 (17:13 +0200)]
qt: drop Qt 4 support, set minimal Qt version to 5.5

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
29 hours agoqt: restore compatibility for Qt 5.5
Pierre Lamot [Fri, 20 Oct 2017 15:13:04 +0000 (17:13 +0200)]
qt: restore compatibility for Qt 5.5

This is notably what Ubuntu LTS 16.04 has

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
34 hours agodemux: avformat: fix WTV dvb subtitles (fix #9120)
Francois Cartegnie [Fri, 20 Oct 2017 10:43:08 +0000 (12:43 +0200)]
demux: avformat: fix WTV dvb subtitles (fix #9120)

37 hours agolibass: use Noto fonts on Android 5+
Jean-Baptiste Kempf [Thu, 19 Oct 2017 16:23:38 +0000 (18:23 +0200)]
libass: use Noto fonts on Android 5+

2 days agommal/vout: Fix build
Julian Scheel [Thu, 19 Oct 2017 09:46:29 +0000 (11:46 +0200)]
mmal/vout: Fix build

Make the background switch independent from video size, as the
is_fullscreen was removed from vout_display_cfg. Instead a cmdline
options is introduced to enable or disable the background layer.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/deinterlace: Allocate extra buffers
Julian Scheel [Thu, 19 Oct 2017 09:23:06 +0000 (11:23 +0200)]
mmal/deinterlace: Allocate extra buffers

The image_fx plugin has an internal pool of allocated buffers which are
used to render filtered pictures into. This must be big enough to avoid
running out of buffers when vlc core holds pictures in it's queue before
rendering them. For this allocate 5 extra buffers.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/codec: Optimise buffer allocation
Julian Scheel [Thu, 19 Oct 2017 09:23:05 +0000 (11:23 +0200)]
mmal/codec: Optimise buffer allocation

Reduce the number of extra buffers, which effectively controls the size
of the allocated picture pool inside the codec.
At the same time increase the input buffer count, so that it is big
enough to contain all possibly sent pictures from the vout.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/deinterlace: Always flush mmal on flush
Julian Scheel [Thu, 19 Oct 2017 09:23:03 +0000 (11:23 +0200)]
mmal/deinterlace: Always flush mmal on flush

Do not only flush if buffers are in transit, but whenever flush is
called. This is necessary because the deinterlace filter has an internal
state (reference pictures) which is reset on mmal_port_flush as well.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/deinterlace: Replace cond_signal with vlc_sem
Julian Scheel [Thu, 19 Oct 2017 09:23:02 +0000 (11:23 +0200)]
mmal/deinterlace: Replace cond_signal with vlc_sem

Simply locking code by using vlc_sem_t. Also removes the peviously
unused sys->mutex instance.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/codec: flush: wait for input buffers
Julian Scheel [Thu, 19 Oct 2017 09:23:01 +0000 (11:23 +0200)]
mmal/codec: flush: wait for input buffers

Wait for all input buffers to be returned when flushing.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/codec: Fix flushing
Julian Scheel [Thu, 19 Oct 2017 09:23:00 +0000 (11:23 +0200)]
mmal/codec: Fix flushing

There is no reason to disable ports before flushing, neither is there a
reason to reconfigure the port after flushing. In fact this lead to
weird issues with the whole mmal stack when the codec was flushed.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/codec: Allow longer wait for input buffer
Julian Scheel [Thu, 19 Oct 2017 09:22:59 +0000 (11:22 +0200)]
mmal/codec: Allow longer wait for input buffer

Avoid useless flushing by allowing to wait a little longer for buffers
to be available.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agommal/codec: Remove useless locking
Julian Scheel [Thu, 19 Oct 2017 09:22:58 +0000 (11:22 +0200)]
mmal/codec: Remove useless locking

The mmal_queue is threadsafe and the block released from output callback
does not interfere with the block processing in decode. What could
happen was a use after free of block when checking the decode loop
condition after submitting the block to mmal. Avoid this by clearing the
block pointer before submitting to mmal and use it as extra loop
condition.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 days agodemux: adaptive: fix out of range exception
Zhao Zhili [Thu, 12 Oct 2017 08:04:02 +0000 (16:04 +0800)]
demux: adaptive: fix out of range exception

Fixes #18611

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
3 days agodirect3d9: prefer hardware vertex processing when possible
Steve Lhomme [Wed, 18 Oct 2017 10:33:41 +0000 (12:33 +0200)]
direct3d9: prefer hardware vertex processing when possible

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 days agod3d11_fmt: fix crash when the feature level doesn't match
Steve Lhomme [Wed, 18 Oct 2017 11:56:33 +0000 (13:56 +0200)]
d3d11_fmt: fix crash when the feature level doesn't match

Also log the feature level as hexadecimal, it's easier to read.

Fixes #18941

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 days agoUpdate MODULES_LIST for VAAPI
Jean-Baptiste Kempf [Wed, 18 Oct 2017 11:56:00 +0000 (13:56 +0200)]
Update MODULES_LIST for VAAPI

4 days agocodec: cc: make captions default background half opaque
Francois Cartegnie [Tue, 17 Oct 2017 18:18:38 +0000 (20:18 +0200)]
codec: cc: make captions default background half opaque

4 days agodemux: adaptive: fix cancellation during refresh playlist
Zhao Zhili [Wed, 13 Sep 2017 06:09:06 +0000 (14:09 +0800)]
demux: adaptive: fix cancellation during refresh playlist

This patch fixed a crash due to assert failure since mutex is not
unlocked before vlc_mutex_destroy().

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
4 days agodemux: mp4: add support for CEA708
Francois Cartegnie [Mon, 25 Sep 2017 14:11:05 +0000 (16:11 +0200)]
demux: mp4: add support for CEA708

4 days agocodec: add CEA708 decoder
Francois Cartegnie [Sun, 3 Sep 2017 16:56:13 +0000 (18:56 +0200)]
codec: add CEA708 decoder

4 days agocodec/esout: add support for CEA708
Francois Cartegnie [Thu, 5 Oct 2017 14:51:32 +0000 (16:51 +0200)]
codec/esout: add support for CEA708

4 days agocodec/esout: use bitmap for cc channels and refactor channel creation
Francois Cartegnie [Mon, 25 Sep 2017 14:50:16 +0000 (16:50 +0200)]
codec/esout: use bitmap for cc channels and refactor channel creation

4 days agodemux: adaptive: remove redundant check of CRLF
Zhao Zhili [Thu, 12 Oct 2017 07:30:35 +0000 (15:30 +0800)]
demux: adaptive: remove redundant check of CRLF

CRLF is stripped by readLine(), and the following code doesn't deal with
CRLF, so the check is redundant and suspicious.

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
4 days agoQt: remove toolbar icon size hack
Francois Cartegnie [Mon, 16 Oct 2017 10:50:09 +0000 (12:50 +0200)]
Qt: remove toolbar icon size hack

Text widget size is miscomputed due to a mix in non
native and scaled icon size.

This reverts commit 32930aa2e0c72371d4865a1ef18a0bab460be40a.

4 days agotools: Patch libtool to pass-through sanitizer flags
Marvin Scholz [Mon, 16 Oct 2017 08:19:46 +0000 (10:19 +0200)]
tools: Patch libtool to pass-through sanitizer flags

This is a backport of
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=a5c6466
as libtool has no release that includes this commit, yet.

It fixes using sanitizers on macOS, as without this patch, the
relevant flag is not passed to the compiler when linking, causing
undefined symbol errors.

4 days agowin32:dirs: the cache folder should not be backed up in the cloud on winstore
Steve Lhomme [Tue, 17 Oct 2017 14:41:09 +0000 (16:41 +0200)]
win32:dirs: the cache folder should not be backed up in the cloud on winstore

See LocalCacheFolder
https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata#Windows_Storage_ApplicationData_LocalCacheFolder

4 days agodirectx_va: add an extra buffer when decoding MPEG-2 (part 2)
Steve Lhomme [Tue, 17 Oct 2017 16:17:42 +0000 (18:17 +0200)]
directx_va: add an extra buffer when decoding MPEG-2 (part 2)

#18731 is not fixed in some cases because the deinterlacer may keep more than
one frame for later reference. The maximum extra frame currently supported is 2
so we need to add 2 frames to the decoder as they will be held for a while.

Theoretically the problem could happen with H264 but we usually have more frames
than we need.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agowin32: filesystem: transform UNIX permissions into Windows flags for _wopen()
Steve Lhomme [Tue, 17 Oct 2017 14:23:14 +0000 (16:23 +0200)]
win32: filesystem: transform UNIX permissions into Windows flags for _wopen()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agovdummy: don't crash when used with hardware decoding
Steve Lhomme [Tue, 17 Oct 2017 13:52:20 +0000 (15:52 +0200)]
vdummy: don't crash when used with hardware decoding

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agodxva2: log when a new device is detected
Steve Lhomme [Tue, 17 Oct 2017 12:19:19 +0000 (14:19 +0200)]
dxva2: log when a new device is detected

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agodirect3d11: avoid variable shadowing
Steve Lhomme [Tue, 17 Oct 2017 12:19:39 +0000 (14:19 +0200)]
direct3d11: avoid variable shadowing

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agod3d11_fmt: log when we decide not to use a D3D11 device
Steve Lhomme [Tue, 17 Oct 2017 12:20:10 +0000 (14:20 +0200)]
d3d11_fmt: log when we decide not to use a D3D11 device

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agod3d11_fmt: only allow the WARP device type with a software decoder
Steve Lhomme [Tue, 17 Oct 2017 12:20:09 +0000 (14:20 +0200)]
d3d11_fmt: only allow the WARP device type with a software decoder

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 days agod3d11: factorize the creation of the D3D11 device/context
Steve Lhomme [Tue, 17 Oct 2017 12:20:08 +0000 (14:20 +0200)]
d3d11: factorize the creation of the D3D11 device/context

This way you cannot use D3D11VA with a D3D9 vout by default.

Fix #18923

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 days agomacosx: Try to fix volume buttons with apple remote on 10.13
David Fuhrmann [Mon, 16 Oct 2017 17:00:49 +0000 (19:00 +0200)]
macosx: Try to fix volume buttons with apple remote on 10.13

macOS High Sierra remapped the volume up / down buttons on the
apple remote. This patch tries to fix that by adding the new
cookies.

refs #18894

5 days agodirect3d11: simplify the I420 handling
Steve Lhomme [Mon, 16 Oct 2017 11:25:33 +0000 (13:25 +0200)]
direct3d11: simplify the I420 handling

Rather than use buffers in the GPU and then copy in the staging texture, use
CPU buffers and copy in the staging texture from there.

Fixes #18766

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 days agoaccess: decklink: Support rgb input modes
Julian Scheel [Mon, 16 Oct 2017 10:45:54 +0000 (12:45 +0200)]
access: decklink: Support rgb input modes

Check if the card reports yuv or rgb input and set the codec format
accordingly.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 days agod3d11_surface: early check of the surface mapping possibilties
Steve Lhomme [Mon, 16 Oct 2017 13:16:31 +0000 (15:16 +0200)]
d3d11_surface: early check of the surface mapping possibilties

And log more errors.

Ref #18746

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 days agod3d11_surface: log when we use a different format
Steve Lhomme [Mon, 16 Oct 2017 13:16:30 +0000 (15:16 +0200)]
d3d11_surface: log when we use a different format

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 days agovideotoolbox: Use noErr instead of 0
Marvin Scholz [Sun, 15 Oct 2017 22:15:47 +0000 (00:15 +0200)]
videotoolbox: Use noErr instead of 0

5 days agovideotoolbox: Handle kVTParameterErr as error
Marvin Scholz [Sun, 15 Oct 2017 22:14:51 +0000 (00:14 +0200)]
videotoolbox: Handle kVTParameterErr as error

Previously kVTParameterErr was not indicated as an error but as
VTSESSION_STATUS_OK in HandleVTStatus.

Ref #18925

6 days agoogg: don't call es_out_Send with NULL id
Thomas Guillem [Fri, 13 Oct 2017 10:00:38 +0000 (12:00 +0200)]
ogg: don't call es_out_Send with NULL id

6 days agomacosx: playlist accessory view: Remove explicit sizes, center
David Fuhrmann [Sat, 14 Oct 2017 12:52:59 +0000 (14:52 +0200)]
macosx: playlist accessory view: Remove explicit sizes, center

Explicit sizes shall not be used to allow grow for l10n. Also
center the elements.

6 days agolibass: correctly set fc options in ass_set_fonts call
Jean-Baptiste Kempf [Sat, 14 Oct 2017 21:50:06 +0000 (23:50 +0200)]
libass: correctly set fc options in ass_set_fonts call

7 days agoqt: about dialog should set text color as it sets background color
Pierre Lamot [Fri, 29 Sep 2017 08:25:12 +0000 (10:25 +0200)]
qt: about dialog should set text color as it sets background color

Otherwise text might be unreadable when system default font use a light color

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: specify the image extension in Qt ressource keys for proper rendering of SVG...
Pierre Lamot [Fri, 29 Sep 2017 08:25:11 +0000 (10:25 +0200)]
qt: specify the image extension in Qt ressource keys for proper rendering of SVG with Qt5.6

this is workaround for https://bugreports.qt.io/browse/QTBUG-55388

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: fix rendering of FramelessButton with HiDpi
Pierre Lamot [Fri, 29 Sep 2017 08:25:10 +0000 (10:25 +0200)]
qt: fix rendering of FramelessButton with HiDpi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: svg support for pixmapanimator
Pierre Lamot [Fri, 29 Sep 2017 08:25:09 +0000 (10:25 +0200)]
qt: svg support for pixmapanimator

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: Volume slider rendering using vector graphics
Pierre Lamot [Fri, 29 Sep 2017 08:25:08 +0000 (10:25 +0200)]
qt: Volume slider rendering using vector graphics

Close #18649

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: scale icons to match user Dpi
Pierre Lamot [Fri, 29 Sep 2017 08:25:07 +0000 (10:25 +0200)]
qt: scale icons to match user Dpi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: respect Dpi while rendering Svg to QPixmap
Pierre Lamot [Fri, 29 Sep 2017 08:25:06 +0000 (10:25 +0200)]
qt: respect Dpi while rendering Svg to QPixmap

Qt default behavior for rendering SVG is to ignore Dpi, which
  might leads to aliasing.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agoqt: provide graphics as SVG
Pierre Lamot [Thu, 28 Sep 2017 15:53:31 +0000 (17:53 +0200)]
qt: provide graphics as SVG

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agocontrib/QtSvg: fix cross compilation for win32
Pierre Lamot [Fri, 13 Oct 2017 14:56:15 +0000 (16:56 +0200)]
contrib/QtSvg: fix cross compilation for win32

* set QtSvg as a requirement on windows
* fix link compilation order for mingw

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agocontrib/Qt: install missing QtSvg dependecies
Pierre Lamot [Fri, 13 Oct 2017 14:56:14 +0000 (16:56 +0200)]
contrib/Qt: install missing QtSvg dependecies

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agodxva2_deinterlace: set the default ProcAmpValues when deinterlacing
Steve Lhomme [Fri, 13 Oct 2017 10:59:15 +0000 (12:59 +0200)]
dxva2_deinterlace: set the default ProcAmpValues when deinterlacing

Fixes #18599

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agodeinterlace: show the interlaced picture rather than nothing in case of error
Steve Lhomme [Fri, 13 Oct 2017 10:59:14 +0000 (12:59 +0200)]
deinterlace: show the interlaced picture rather than nothing in case of error

Only in release builds.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 days agovout iOS: fix context initialization if someone else already created a context
Felix Paul Kühne [Fri, 13 Oct 2017 14:36:58 +0000 (16:36 +0200)]
vout iOS: fix context initialization if someone else already created a context

8 days agoprojectm: include locale headers.
Konstantin Pavlov [Fri, 13 Oct 2017 16:28:38 +0000 (19:28 +0300)]
projectm: include locale headers.

8 days agodisplay: add more documentation for display_info.handle_mouse_hide
Steve Lhomme [Tue, 8 Aug 2017 13:22:31 +0000 (15:22 +0200)]
display: add more documentation for display_info.handle_mouse_hide

In all cases this flag means that the vout has a custom Window and handles the
mouse event itself, including showing/hiding the mouse.

For the auto-hiding to work such vout need to call either
vout_display_SendEventMouseMoved or vout_display_SendEventMouseState to notify
the core of mouse events. And they all do that.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agologger/file: Improve the verbosity option description
Marvin Scholz [Fri, 8 Sep 2017 19:49:33 +0000 (21:49 +0200)]
logger/file: Improve the verbosity option description

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agologger/file: Use defines for logfile text and longtext
Marvin Scholz [Fri, 8 Sep 2017 19:49:34 +0000 (21:49 +0200)]
logger/file: Use defines for logfile text and longtext

Make it consistent with the rest of the options text and longtexts

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agoqt/pref: fix toolbar icon or text beeing cropped on Hi-DPI displays
Pierre Lamot [Wed, 13 Sep 2017 09:45:26 +0000 (11:45 +0200)]
qt/pref: fix toolbar icon or text beeing cropped on Hi-DPI displays

Qt doesn't seems to handle properly when QIcon within QToolButton doesn't
 respect the original image ratio.

 This might results in icons beeing cropped on Linux or text beeing cropped
 on windows.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agovideo_output: fix disabled log compilation
Steve Lhomme [Thu, 14 Sep 2017 13:01:08 +0000 (15:01 +0200)]
video_output: fix disabled log compilation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agoavcodec: remove useless initialization
Steve Lhomme [Thu, 14 Sep 2017 13:01:32 +0000 (15:01 +0200)]
avcodec: remove useless initialization

The value is never used before it's set to mdate()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agoavcodec: "avcodec-skip-frame" is read once into i_skip_frame
Steve Lhomme [Thu, 14 Sep 2017 13:02:09 +0000 (15:02 +0200)]
avcodec: "avcodec-skip-frame" is read once into i_skip_frame

p_context->skip_frame is the value that may change during decoding

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agoSkins2: fix typo
Jean-Baptiste Kempf [Thu, 12 Oct 2017 22:50:14 +0000 (00:50 +0200)]
Skins2: fix typo

8 days agoQt: add support for QtSVG
Pierre Lamot [Thu, 12 Oct 2017 21:57:57 +0000 (23:57 +0200)]
Qt: add support for QtSVG

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agoContribs: add support for QtSVG for Qt
Pierre Lamot [Fri, 29 Sep 2017 08:25:03 +0000 (10:25 +0200)]
Contribs: add support for QtSVG for Qt

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agodirect3d11: bring back the Flush
Steve Lhomme [Tue, 10 Oct 2017 12:40:15 +0000 (14:40 +0200)]
direct3d11: bring back the Flush

It does help to get the processing going during Prepare() and before Display()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agodirect3d11: Add one more buffer to the SwapChain
Steve Lhomme [Tue, 10 Oct 2017 12:40:16 +0000 (14:40 +0200)]
direct3d11: Add one more buffer to the SwapChain

It helps the GPU when one buffer is being processed for display and another
being displayed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agodirect3d11: disable display luminance detection
Steve Lhomme [Thu, 12 Oct 2017 09:29:58 +0000 (11:29 +0200)]
direct3d11: disable display luminance detection

It doesn't work well with our current way of tone mapping and adjusting the
luminance between the source and output.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agodirectx_va: add an extra buffer when decoding MPEG-2
Steve Lhomme [Thu, 12 Oct 2017 10:00:59 +0000 (12:00 +0200)]
directx_va: add an extra buffer when decoding MPEG-2

DXVA2 with deinterlacing seems to be using one of these buffers when it shouldn't

Fixes #18731

8 days agodxgi_fmt: add some common formats that may be supported
Steve Lhomme [Thu, 12 Oct 2017 10:56:20 +0000 (12:56 +0200)]
dxgi_fmt: add some common formats that may be supported

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agommal: Link to core, components, util explicitly
Julian Scheel [Thu, 12 Oct 2017 12:47:06 +0000 (14:47 +0200)]
mmal: Link to core, components, util explicitly

In older versions of the rpi-userland libmmal was linked against
libmmal_core/_components/_util, so they were linked implicitly. Newer
versions don't do that, so we have to link them explicitly.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agommal: Include headers with -isystem
Julian Scheel [Thu, 12 Oct 2017 12:47:05 +0000 (14:47 +0200)]
mmal: Include headers with -isystem

The vcos/mmal headers are vendor provided system headers.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 days agod3d11va: use the external pool texture size even for the internal pool
Steve Lhomme [Thu, 12 Oct 2017 13:53:34 +0000 (15:53 +0200)]
d3d11va: use the external pool texture size even for the internal pool

When it's available, so that pre-computed dimensions still match as if the
pictures were coming from the external pool.

Fixes #18578

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 days agolibvlc: hide "extractor-flatten" option
Thomas Guillem [Thu, 12 Oct 2017 15:14:35 +0000 (17:14 +0200)]
libvlc: hide "extractor-flatten" option

9 days agoVT: only use hw decoding unless explicitely requested
Jean-Baptiste Kempf [Thu, 12 Oct 2017 15:16:16 +0000 (17:16 +0200)]
VT: only use hw decoding unless explicitely requested

Close #18911

9 days agohls: uint8_t is available in the global namespace
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:48:00 +0000 (16:48 +0200)]
hls: uint8_t is available in the global namespace

9 days agotaglib: Don't use qualified name lookup on unscoped enumeration
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:44:55 +0000 (16:44 +0200)]
taglib: Don't use qualified name lookup on unscoped enumeration

9 days agocore: video_output: Remove unused include
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:44:05 +0000 (16:44 +0200)]
core: video_output: Remove unused include

9 days agosatip: There is already an access_sys_t typedef
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:31:35 +0000 (16:31 +0200)]
satip: There is already an access_sys_t typedef

9 days agoadaptive: Don't use qualified name lookup on unscoped enumerations
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:10:32 +0000 (16:10 +0200)]
adaptive: Don't use qualified name lookup on unscoped enumerations

9 days agomkv: Don't use qualified name lookup on unscoped enum type
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:08:56 +0000 (16:08 +0200)]
mkv: Don't use qualified name lookup on unscoped enum type

9 days agomkv: Remove trailing whitespaces
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:06:31 +0000 (16:06 +0200)]
mkv: Remove trailing whitespaces

9 days agoadaptive: playlist: Remove explicit invocation of default contructor
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:02:38 +0000 (16:02 +0200)]
adaptive: playlist: Remove explicit invocation of default contructor

9 days agovlc_fixups: Provide __STDC_*_MACROS when building C++ for NACL
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:00:57 +0000 (16:00 +0200)]
vlc_fixups: Provide __STDC_*_MACROS when building C++ for NACL

9 days agolibvlc: Remove trailing whitespaces
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 13:57:09 +0000 (15:57 +0200)]
libvlc: Remove trailing whitespaces

9 days agoskins2: fix unarchive
Thomas Guillem [Thu, 12 Oct 2017 11:28:31 +0000 (13:28 +0200)]
skins2: fix unarchive

Tell the stream extractor to read all files and flatten the result.

9 days agoskins2: return in case of error
Thomas Guillem [Thu, 12 Oct 2017 11:27:27 +0000 (13:27 +0200)]
skins2: return in case of error

9 days agolibvlc: add "extractor-flatten" option
Thomas Guillem [Thu, 12 Oct 2017 11:26:45 +0000 (13:26 +0200)]
libvlc: add "extractor-flatten" option

Used to force extractors to flatten their file listing (done automatically by
vlc_readdir_helper helper).

9 days agoinput: readdir_helper: don't apply options on the current object
Thomas Guillem [Thu, 12 Oct 2017 08:41:44 +0000 (10:41 +0200)]
input: readdir_helper: don't apply options on the current object

9 days agovariables: var_InheritBool: return false if a variable doesn't exist
Thomas Guillem [Thu, 12 Oct 2017 11:24:44 +0000 (13:24 +0200)]
variables: var_InheritBool: return false if a variable doesn't exist

config_GetInt() returns -1 if the variable doesn't exist.

As var_GetBool() returns false if the variable doesn't exist, it's safe to
assume that var_InheritBool() should do the same.

9 days agovideotoolbox: abort if no vout handle CVPX chroma
Thomas Guillem [Thu, 12 Oct 2017 08:42:44 +0000 (10:42 +0200)]
videotoolbox: abort if no vout handle CVPX chroma

Fixes #18537

9 days agodemux: adaptive: fix inverted logic
Zhao Zhili [Thu, 12 Oct 2017 03:50:05 +0000 (11:50 +0800)]
demux: adaptive: fix inverted logic

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>