Marvin Scholz [Mon, 30 Jan 2017 11:15:24 +0000 (12:15 +0100)]
contrib: macOS: Remove BGHUDAppKit
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Marvin Scholz [Mon, 30 Jan 2017 11:15:23 +0000 (12:15 +0100)]
macOS: Remove BGHUDAppKit in build scripts
This removes BGHUDAppKit from the Xcode project, package and codesign script.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Marvin Scholz [Mon, 30 Jan 2017 11:15:21 +0000 (12:15 +0100)]
macOS: Remove all BGHUD classes from XIBs
This is done in preparation for more minimal replacement
classes that do custom drawing for OS X < 10.10 and on
10.10+ we will use the native translucent dark UI provided
by the system.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Tue, 31 Jan 2017 15:47:11 +0000 (16:47 +0100)]
input: es_out: don't use meta from metaless programs
refs #17933
Francois Cartegnie [Tue, 31 Jan 2017 12:53:09 +0000 (13:53 +0100)]
vlc_codec: show leading zeros in GUID_FMT
Francois Cartegnie [Tue, 31 Jan 2017 12:05:54 +0000 (13:05 +0100)]
demux: asf: read DVR sample extension timing (fix #17959)
Undocumented, so no clue about the spec for
that extension. Guess from libavformat.
Francois Cartegnie [Tue, 31 Jan 2017 09:19:51 +0000 (10:19 +0100)]
codec: textst: fix size check on palette read
Francois Cartegnie [Tue, 31 Jan 2017 09:18:41 +0000 (10:18 +0100)]
codec: textst: null rereference (cid #
1399643)
Hugo Beauzée-Luyssen [Tue, 31 Jan 2017 09:10:42 +0000 (10:10 +0100)]
qt: Inherit "fullscreen" from the config
This fix initial playback not being fullscreen when the fullscreen
preference is toggled.
ref #17101
Hugo Beauzée-Luyssen [Mon, 30 Jan 2017 16:40:38 +0000 (17:40 +0100)]
qt: Add missing emit
Hugo Beauzée-Luyssen [Wed, 25 Jan 2017 09:43:03 +0000 (10:43 +0100)]
configure: Fix activation of smb module on windows
Always disable smbclient for winrt instead of relying on
--enable/--disable-smbclient
The PKG_ENABLE_MODULES_VLC fiddles with $enable_smbclient, making it
unreliable to use when activating/deactivating the module
Hugo Beauzée-Luyssen [Fri, 27 Jan 2017 11:51:49 +0000 (12:51 +0100)]
nsis: Register VLC with iso files
Fix #17472
Hugo Beauzée-Luyssen [Fri, 27 Jan 2017 11:51:30 +0000 (12:51 +0100)]
nsis: Allow some extensions to be registered but not associated
Hugo Beauzée-Luyssen [Fri, 27 Jan 2017 10:25:50 +0000 (11:25 +0100)]
nsis: Rename RegisterExtensionSection -> AssociateExtensionSection
To have a clear distinction between extensions we register as handled,
and extensions we associate with to be opened by double clicking
Francois Cartegnie [Mon, 30 Jan 2017 17:51:07 +0000 (18:51 +0100)]
demux: ogg: fix leak on attachments
Francois Cartegnie [Mon, 30 Jan 2017 17:20:44 +0000 (18:20 +0100)]
codec: textst: missing length check on styles
Francois Cartegnie [Mon, 30 Jan 2017 17:09:14 +0000 (18:09 +0100)]
demux: ts: fix PCR repicking
Was reselecting previous pcr if lowest pid
after
426edade588f6c01a8aa1bcc1cc76601594a1686 changes
Francois Cartegnie [Mon, 30 Jan 2017 12:25:17 +0000 (13:25 +0100)]
decoders: add HDMV text subtitles decoder
Francois Cartegnie [Mon, 30 Jan 2017 11:02:56 +0000 (12:02 +0100)]
demux: mkv: map HDMV text
Marvin Scholz [Sun, 29 Jan 2017 22:38:01 +0000 (23:38 +0100)]
macOS: Autosave log window state and make it a panel
Jean-Baptiste Kempf [Sun, 29 Jan 2017 21:56:34 +0000 (22:56 +0100)]
Contribs: update zlib to 1.2.11
Close #17955
David Fuhrmann [Sun, 29 Jan 2017 21:47:34 +0000 (22:47 +0100)]
macosx: Do not set movableByBackground on FS panel
FS panel is moved by your custom code, so this flag should not
be set.
David Fuhrmann [Sun, 29 Jan 2017 21:43:53 +0000 (22:43 +0100)]
macosx: Fix FS controller autosaving frame of window
This restores size of window correctly.
David Fuhrmann [Sun, 29 Jan 2017 20:48:47 +0000 (21:48 +0100)]
macosx: center fullscreen panel for new fullscreen size
The fullscreen window can have a new size if the fullscreen monitor
was switched or the user used split screen in between.
Center FS panel in those cases. Also constrain size as the new
available space might be smaller.
David Fuhrmann [Sun, 29 Jan 2017 19:15:15 +0000 (20:15 +0100)]
macosx: Fade in FS controller after it was activated
David Fuhrmann [Sun, 29 Jan 2017 18:46:28 +0000 (19:46 +0100)]
macosx: Fix for FS controller jumping to the top of fullscreen window
This bug lead to jumping to the top of the window on monitors with
a non-zero based x coordinate.
Rémi Denis-Courmont [Sun, 29 Jan 2017 15:22:21 +0000 (17:22 +0200)]
wayland: initial XDG shell window provider
This provides a very very basic window provider using the unstable XDG
shell protocol version 5. This will be updated later, to unstable
version 6, a higher unstable version or preferably a stable version.
Rémi Denis-Courmont [Sun, 29 Jan 2017 17:52:09 +0000 (19:52 +0200)]
window: document vout_window_ReportSize()
Rémi Denis-Courmont [Sun, 29 Jan 2017 14:03:36 +0000 (16:03 +0200)]
wayland: rename wl_shell_surface to wl_shell
Rémi Denis-Courmont [Sun, 29 Jan 2017 16:51:14 +0000 (18:51 +0200)]
wayland/shm: fix picture leak at reset
We need to explicitly detach any buffer that is currently attached to
the display server. The display server will not (cannot) emit a buffer
release event after we destroy the buffer object.
Rémi Denis-Courmont [Sun, 29 Jan 2017 16:38:31 +0000 (18:38 +0200)]
wayland/shm: fix picture release (fix #17956)
When the compositor no longer needs the buffer, release the picture
that was held, not the one that originally contained the buffer.
(The mismatch is an unfortunate side effect of pooling and cloning.)
Rémi Denis-Courmont [Sun, 29 Jan 2017 13:27:47 +0000 (15:27 +0200)]
wayland/shm: update to wp_viewporter protocol version 1 (fixes #16834)
The wl_scaler protocol no longer exists. wp_viewporter replaces it.
Rémi Denis-Courmont [Sun, 29 Jan 2017 13:09:18 +0000 (15:09 +0200)]
configure: look for wayland-protocols
Rémi Denis-Courmont [Sun, 29 Jan 2017 13:08:58 +0000 (15:08 +0200)]
configure: rationalize Wayland tests
Francois Cartegnie [Sun, 29 Jan 2017 12:34:36 +0000 (13:34 +0100)]
demux: adaptive: change unset state variable value
int max not suitable for UI or command line overriding
Rémi Denis-Courmont [Sun, 29 Jan 2017 08:27:59 +0000 (10:27 +0200)]
update: use Makefile conditional to disable code
This fixes the build without gcrypt.
Marvin Scholz [Sat, 28 Jan 2017 20:25:19 +0000 (21:25 +0100)]
macOS: Forgot to rename logwindow xib in package.mak
This is a fixup for
3886295
Francois Cartegnie [Sat, 28 Jan 2017 10:44:12 +0000 (11:44 +0100)]
demux: ts: drop blocks and cleanup for es without decoders
unlikely
Francois Cartegnie [Fri, 27 Jan 2017 17:46:38 +0000 (18:46 +0100)]
avcodec: map HDMV text
note: still no decoder
Francois Cartegnie [Fri, 27 Jan 2017 17:45:01 +0000 (18:45 +0100)]
demux: ts: map HDMV subtitles
Francois Cartegnie [Fri, 27 Jan 2017 17:37:33 +0000 (18:37 +0100)]
fourcc: add HDMV text subtitles
Petri Hintukainen [Fri, 27 Jan 2017 20:46:56 +0000 (22:46 +0200)]
sftp: fix leak
Petri Hintukainen [Fri, 27 Jan 2017 20:48:02 +0000 (22:48 +0200)]
sftp: fix segfault when user name is not given in mrl
Petri Hintukainen [Fri, 27 Jan 2017 20:36:15 +0000 (22:36 +0200)]
sftp: fix memory corruption
man libssh2_userauth_list:
On success a comma delimited list of supported authentication schemes.
This list is internally managed by libssh2.
Marvin Scholz [Mon, 9 Jan 2017 12:20:45 +0000 (13:20 +0100)]
macOS: Rework log window
Francois Cartegnie [Fri, 27 Jan 2017 17:16:41 +0000 (18:16 +0100)]
input_internal: constify pointer to master source titles
Francois Cartegnie [Fri, 27 Jan 2017 17:13:26 +0000 (18:13 +0100)]
input: unset pointer to titles on source deletion (fix #17944)
Francois Cartegnie [Fri, 27 Jan 2017 16:07:03 +0000 (17:07 +0100)]
access: bluray: stop spamming with unimplemented controls
Francois Cartegnie [Fri, 27 Jan 2017 14:51:27 +0000 (15:51 +0100)]
text_renderer: freetype: fix off by one char for > 2nd background
Francois Cartegnie [Fri, 27 Jan 2017 10:31:48 +0000 (11:31 +0100)]
demux: mp4: fix regression with false frag discontinuities
Steve Lhomme [Thu, 26 Jan 2017 14:16:33 +0000 (15:16 +0100)]
vout: win32: remove unused defines
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Thu, 26 Jan 2017 14:16:13 +0000 (15:16 +0100)]
vout: win32: name the parameters for more clarity
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Thu, 26 Jan 2017 14:17:13 +0000 (15:17 +0100)]
direct3d11: warn when the projection is not handled
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Thu, 26 Jan 2017 14:16:50 +0000 (15:16 +0100)]
direct3d11: rename the picture_sys_pool_t variable
picsys sounded more like a picture_sys_t
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Thu, 26 Jan 2017 14:15:47 +0000 (15:15 +0100)]
avcodec: simplify the log generation
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Thu, 26 Jan 2017 20:00:05 +0000 (21:00 +0100)]
demux: ttml: fix time parsing
as provided by Filip Roséen <filip@atch.se>
Francois Cartegnie [Thu, 26 Jan 2017 19:38:21 +0000 (20:38 +0100)]
demux: adaptive: replace width/height options with maxwidth/height
allows filtering out problematic resolution for a device
Francois Cartegnie [Thu, 26 Jan 2017 14:36:25 +0000 (15:36 +0100)]
demux: stl: rework
Implements teletext styles, accumulation, multiple spu per block
and removes block duplication.
Francois Cartegnie [Thu, 26 Jan 2017 18:21:12 +0000 (19:21 +0100)]
text_style: add DOUBLE_WIDTH
so we can match all width/height combinations
using width modifiers and font size scaling.
Francois Cartegnie [Thu, 26 Jan 2017 15:34:57 +0000 (16:34 +0100)]
input: decoder: process spu->p_next
Unused then now leaking
Thomas Guillem [Thu, 26 Jan 2017 14:39:36 +0000 (15:39 +0100)]
opengl: build vertex shaders depending on plane count
On Apple systems, using an attribute variable (MultiTexCoord1 and
MultiTexCoord2) that is not used by the fragment produce an undefined behavior
and the following warning: "Output of vertex shader 'TexCoordx' not read by
fragment shader".
This fixes RGBA video output on macos.
Thomas Guillem [Thu, 26 Jan 2017 13:28:38 +0000 (14:28 +0100)]
opengl: don't keep vertex shader handle
Jean-Baptiste Kempf [Thu, 26 Jan 2017 14:33:03 +0000 (15:33 +0100)]
STL: support background (boxing) style
Jean-Baptiste Kempf [Wed, 25 Jan 2017 23:58:07 +0000 (00:58 +0100)]
STL: support change of style mid-sentence
Francois Cartegnie [Thu, 26 Jan 2017 11:56:41 +0000 (12:56 +0100)]
demux: subs: fix incorrect control() param
Thomas Guillem [Thu, 26 Jan 2017 10:47:46 +0000 (11:47 +0100)]
opengl: calculate and upload coordinates when needed
SetupCoords() is called only when the source changes.
Thomas Guillem [Thu, 26 Jan 2017 10:16:31 +0000 (11:16 +0100)]
opengl: calculate orientation and viewpoint matrixes when needed
Thomas Guillem [Thu, 26 Jan 2017 10:15:42 +0000 (11:15 +0100)]
opengl: move code
No functional changes, needed by the next commit.
Thomas Guillem [Wed, 25 Jan 2017 17:22:18 +0000 (18:22 +0100)]
opengl: fetch attrib/uniform locations only one time
And assert/fails if a variable can't be found in the program. This will permit
to debug fragment and vertex shaders as missing variables won't be ignored
anymore (beware, variables can be optimized out).
Thomas Guillem [Wed, 25 Jan 2017 16:38:39 +0000 (17:38 +0100)]
opengl: use one tex_conv per program
It's not possible anymore to use a same tex_conv for the main and the subtitle
program (case with RGBA pics with subtitles). This can be problematic for tex
conv that use a specific context.
Thomas Guillem [Wed, 25 Jan 2017 16:26:43 +0000 (17:26 +0100)]
opengl: remove useless calls
Thomas Guillem [Tue, 24 Jan 2017 10:01:47 +0000 (11:01 +0100)]
opengl: set textures non const
This allow tex converters to generate textures from the pf_update callback.
Thomas Guillem [Tue, 24 Jan 2017 09:10:51 +0000 (10:10 +0100)]
opengl: remove VLCGL_TEXTURE_COUNT
This is not used anymore.
Steve Lhomme [Thu, 26 Jan 2017 11:01:37 +0000 (12:01 +0100)]
demux: adaptive: include <algorithm> for std::max()
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Hugo Beauzée-Luyssen [Thu, 26 Jan 2017 11:38:49 +0000 (12:38 +0100)]
qt: Explicitely parent the VideoWidget to the central stack
This ensure the VideoWidget will have a valid initial size
Fix #17895
Hugo Beauzée-Luyssen [Thu, 26 Jan 2017 08:48:04 +0000 (09:48 +0100)]
stl: Fix memory leak
Hugo Beauzée-Luyssen [Wed, 25 Jan 2017 15:33:33 +0000 (16:33 +0100)]
qt: Remove tabs
Hugo Beauzée-Luyssen [Wed, 25 Jan 2017 15:33:16 +0000 (16:33 +0100)]
qt: Don't try to modify constant values
Francois Cartegnie [Wed, 25 Jan 2017 20:15:47 +0000 (21:15 +0100)]
demux: stl: fix usage as master demux
Francois Cartegnie [Wed, 25 Jan 2017 20:23:28 +0000 (21:23 +0100)]
demux: stl: remove xallocs
Francois Cartegnie [Wed, 25 Jan 2017 20:21:15 +0000 (21:21 +0100)]
demux: stl: fail on empty or broken seek
Francois Cartegnie [Wed, 25 Jan 2017 20:17:36 +0000 (21:17 +0100)]
demux: stl: fix NULL deref on decoder failure
Jean-Baptiste Kempf [Wed, 25 Jan 2017 19:44:56 +0000 (20:44 +0100)]
STL: handle italics/underline styles
The support is not 100% complete, but we lack samples
Close #10910
Jean-Baptiste Kempf [Wed, 25 Jan 2017 17:20:36 +0000 (18:20 +0100)]
STL: rework function parameters
Jean-Baptiste Kempf [Wed, 25 Jan 2017 19:34:34 +0000 (20:34 +0100)]
STL: correctly ignore user-data comments
Ref #10910 and FABst comments
Francois Cartegnie [Wed, 25 Jan 2017 18:51:31 +0000 (19:51 +0100)]
demux: adaptive: handle redirections
Yidong Ren [Sat, 21 Jan 2017 05:11:33 +0000 (00:11 -0500)]
access/sftp: authenticate with ssh-agent
And check libssh2_userauth_list for available authentication methods
Ref #17199
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Wed, 25 Jan 2017 14:48:56 +0000 (15:48 +0100)]
codec: libass: disable hinting (fix #14990)
Native "No idea" -> Light
16be5123ac29a0f1c032f042dddbcde2438c2e0c
Hugo Beauzée-Luyssen [Wed, 25 Jan 2017 13:36:48 +0000 (14:36 +0100)]
microdns: Fix use of uninitialized b_ipv6
Konstantin Pavlov [Wed, 25 Jan 2017 11:46:37 +0000 (14:46 +0300)]
snap: drop shell process when launching vlc.
Francois Cartegnie [Wed, 25 Jan 2017 10:15:50 +0000 (11:15 +0100)]
Qt: epg: uninitialized members (cid #
1049043, #
1049042, #
1049041)
Francois Cartegnie [Wed, 25 Jan 2017 09:54:27 +0000 (10:54 +0100)]
decoder: ttml: fix NULL deref and broken logic (cid #
1398412)
Francois Cartegnie [Wed, 25 Jan 2017 09:24:05 +0000 (10:24 +0100)]
demux: subtitle: int overflows (cid #
1253093, #
1253086)
Francois Cartegnie [Wed, 25 Jan 2017 09:17:42 +0000 (10:17 +0100)]
packetizer: hevc: read overflow (cid #
1346973)
Francois Cartegnie [Wed, 25 Jan 2017 09:11:01 +0000 (10:11 +0100)]
mux: mp4: fix out of bound write (cid #
1398414)
Francois Cartegnie [Wed, 25 Jan 2017 09:05:05 +0000 (10:05 +0100)]
demux: mp4: missing breaks (cid #
1372930, cid #
1362068)
Francois Cartegnie [Wed, 25 Jan 2017 09:00:22 +0000 (10:00 +0100)]
demux: mp4: fix NULL deref (cid #
1313697)
Francois Cartegnie [Wed, 25 Jan 2017 08:58:44 +0000 (09:58 +0100)]
demux: mp4: fix leak (cid #
1253114)
Francois Cartegnie [Wed, 25 Jan 2017 08:50:24 +0000 (09:50 +0100)]
demux: subtitle: missing breaks (cid #
1399556, #
1399555)
Thomas Guillem [Wed, 25 Jan 2017 08:19:12 +0000 (09:19 +0100)]
http: fix double-free in keystore
Due to recent keystore functional changes.
see
5a4393b and
67373b6