Jean-Baptiste Kempf [Thu, 19 Oct 2017 16:23:38 +0000 (18:23 +0200)]
libass: use Noto fonts on Android 5+
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jean-Baptiste Kempf [Wed, 18 Oct 2017 11:56:00 +0000 (13:56 +0200)]
Update MODULES_LIST for VAAPI
Francois Cartegnie [Tue, 17 Oct 2017 18:18:38 +0000 (20:18 +0200)]
codec: cc: make captions default background half opaque
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>
Francois Cartegnie [Mon, 25 Sep 2017 14:11:05 +0000 (16:11 +0200)]
demux: mp4: add support for CEA708
Francois Cartegnie [Sun, 3 Sep 2017 16:56:13 +0000 (18:56 +0200)]
codec: add CEA708 decoder
Francois Cartegnie [Thu, 5 Oct 2017 14:51:32 +0000 (16:51 +0200)]
codec/esout: add support for CEA708
Francois Cartegnie [Mon, 25 Sep 2017 14:50:16 +0000 (16:50 +0200)]
codec/esout: use bitmap for cc channels and refactor channel creation
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>
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.
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.
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
Marvin Scholz [Sun, 15 Oct 2017 22:15:47 +0000 (00:15 +0200)]
videotoolbox: Use noErr instead of 0
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
Thomas Guillem [Fri, 13 Oct 2017 10:00:38 +0000 (12:00 +0200)]
ogg: don't call es_out_Send with NULL id
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.
Jean-Baptiste Kempf [Sat, 14 Oct 2017 21:50:06 +0000 (23:50 +0200)]
libass: correctly set fc options in ass_set_fonts call
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Konstantin Pavlov [Fri, 13 Oct 2017 16:28:38 +0000 (19:28 +0300)]
projectm: include locale headers.
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>
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>
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>
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>
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>
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>
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>
Jean-Baptiste Kempf [Thu, 12 Oct 2017 22:50:14 +0000 (00:50 +0200)]
Skins2: fix typo
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
Thomas Guillem [Thu, 12 Oct 2017 15:14:35 +0000 (17:14 +0200)]
libvlc: hide "extractor-flatten" option
Jean-Baptiste Kempf [Thu, 12 Oct 2017 15:16:16 +0000 (17:16 +0200)]
VT: only use hw decoding unless explicitely requested
Close #18911
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:48:00 +0000 (16:48 +0200)]
hls: uint8_t is available in the global namespace
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
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:44:05 +0000 (16:44 +0200)]
core: video_output: Remove unused include
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:31:35 +0000 (16:31 +0200)]
satip: There is already an access_sys_t typedef
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
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
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:06:31 +0000 (16:06 +0200)]
mkv: Remove trailing whitespaces
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 14:02:38 +0000 (16:02 +0200)]
adaptive: playlist: Remove explicit invocation of default contructor
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
Hugo Beauzée-Luyssen [Thu, 12 Oct 2017 13:57:09 +0000 (15:57 +0200)]
libvlc: Remove trailing whitespaces
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.
Thomas Guillem [Thu, 12 Oct 2017 11:27:27 +0000 (13:27 +0200)]
skins2: return in case of error
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).
Thomas Guillem [Thu, 12 Oct 2017 08:41:44 +0000 (10:41 +0200)]
input: readdir_helper: don't apply options on the current object
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.
Thomas Guillem [Thu, 12 Oct 2017 08:42:44 +0000 (10:42 +0200)]
videotoolbox: abort if no vout handle CVPX chroma
Fixes #18537
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>
Francois Cartegnie [Wed, 11 Oct 2017 17:29:26 +0000 (19:29 +0200)]
demux: adaptive: handle obsolete http header line folding
Thomas Guillem [Tue, 10 Oct 2017 16:28:58 +0000 (18:28 +0200)]
ci_filters: simplify weak symbols handling
Thomas Guillem [Tue, 10 Oct 2017 10:58:52 +0000 (12:58 +0200)]
tls: fix ignored interrupts
If session->readv() or session->writev() are interrupted, the next call to
vlc_poll_i11e() will hang since the interrupt context is already finished (by
readv/writev).
Rémi Denis-Courmont [Tue, 10 Oct 2017 17:14:12 +0000 (20:14 +0300)]
Revert "Force the X11 video outputs when libvlc_*_set_xwindow() is used"
This reverts commit
4787f2365afd93cbd2fa8fc5790920b5ad10fc40.
Thomas Guillem [Tue, 10 Oct 2017 13:01:26 +0000 (15:01 +0200)]
libvlc: don't force the xid "vout display"
libvlc_media_player_set_xwindow() should only force the embed-xid "vout window"
plugin but not the xid "vout display" plugin.
This allows to use the GL "vout display" via EGL/GLX (with full hardware
acceleration) with an embedded X window.
Fixes #18907
Thomas Guillem [Mon, 9 Oct 2017 13:35:39 +0000 (15:35 +0200)]
decoder: fix occasional deadlock on seek
This commit fixes the following deadlock:
The input thread (from input_DecoderWait()) reads p_owner->b_idle, and wait on
the wait_acknowledge condition variable because p_owner->b_idle is false (and
because p_owner->b_has_data is false too). The decoder thread sets
p_owner->b_idle to true because the fifo is empty and wait on the fifo
condition variable. Both threads are waiting each others, hence the deadlock.
To fix this issue, signal the input thread from the decoder thread after
setting p_owner->b_idle to true.
Since predictable scheduling behavior is not required, p_owner->lock doesn't
have to be held while signaling p_owner->wait_acknowledge.
Fixes #16100
KO Myung-Hun [Mon, 9 Oct 2017 13:18:16 +0000 (22:18 +0900)]
help: fix SIGSEGV
--help and -H causes SIGSEGV.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>