Hugo Beauzée-Luyssen [Fri, 2 Jun 2017 15:29:31 +0000 (17:29 +0200)]
codec: dxva: Pretend we're always building on desktop
So that we can have the GUID declared
Hugo Beauzée-Luyssen [Fri, 2 Jun 2017 13:38:42 +0000 (15:38 +0200)]
contribs: Fix ffmpeg build on UWP
The patch was also sent upstream
Hugo Beauzée-Luyssen [Fri, 2 Jun 2017 10:13:59 +0000 (12:13 +0200)]
contribs: archive: Don't try to build windows files implementation on UWP
Hugo Beauzée-Luyssen [Thu, 1 Jun 2017 14:31:33 +0000 (16:31 +0200)]
libvlc: media_player: Remove trailing whitespaces/unbreakable space
Hugo Beauzée-Luyssen [Thu, 1 Jun 2017 14:20:26 +0000 (16:20 +0200)]
libvlc: media_player: Clarify doc
Hugo Beauzée-Luyssen [Thu, 1 Jun 2017 14:18:38 +0000 (16:18 +0200)]
vout: snapshot: Fix handling of file path
Fix #18358
Marvin Scholz [Fri, 2 Jun 2017 15:33:44 +0000 (17:33 +0200)]
macOS: Use system font for help window HTML
Marvin Scholz [Fri, 2 Jun 2017 15:08:13 +0000 (17:08 +0200)]
macOS: Minor VLCHelpWindowController codestyle changes
This refactors Hungarian notation to easier to read and understand
variable names and removes some comments that stated obvious things.
Thomas Guillem [Fri, 2 Jun 2017 13:56:51 +0000 (15:56 +0200)]
variables: move lock
twalk_ctx doesn't need to be locked.
Thomas Guillem [Fri, 2 Jun 2017 09:32:09 +0000 (11:32 +0200)]
opengl: try generic converter lastly
Since this converter can fallback to CPU chromas.
Thomas Guillem [Thu, 1 Jun 2017 09:12:52 +0000 (11:12 +0200)]
preparser: handle input errors
And don't timeout in case of error.
Marvin Scholz [Thu, 1 Jun 2017 11:43:35 +0000 (13:43 +0200)]
macOS: Unify VLCHUDToggleButton/VLCHUDImageButton to VLCImageButton
The implementation of these buttons is nearly the same, so it makes no
sense to have separate classes for them.
Only reason to do so, was the inability to get the button type, which
for now is worked-around by using an IBInspectable BOOL that has to be
set, if the button is a toggle button.
Not the nicest solution, but there is no better way, as far as I know.
Thomas Guillem [Fri, 26 May 2017 13:57:14 +0000 (15:57 +0200)]
filter_chain: load "chain" video filter as a fallback
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 26 May 2017 11:50:07 +0000 (13:50 +0200)]
video_chroma: chain: add a video filter
This new "chain" video filter will try to add a video converter before the
requested video filter.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 5 May 2017 08:14:02 +0000 (10:14 +0200)]
filters: add filter name
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Marvin Scholz [Thu, 1 Jun 2017 09:59:51 +0000 (11:59 +0200)]
macOS: Move VLCTimeField out of misc
This moves the VLCTimeField class in their own files, out of misc.
Marvin Scholz [Thu, 1 Jun 2017 09:35:50 +0000 (11:35 +0200)]
macOS: Remove unnecessary styling from VLCTimeField
If this is desired, it should be done on a case-by-case base and not
included in this subclass, as it is useful in a number of different
locations where the click to show alternate time functionality is
desired.
Hugo Beauzée-Luyssen [Wed, 31 May 2017 16:31:19 +0000 (18:31 +0200)]
direct3d9: Don't copy from an odd offset
This can (and often will) make StretchRect fail
Hugo Beauzée-Luyssen [Wed, 31 May 2017 14:37:43 +0000 (16:37 +0200)]
qt: video_widget: Fetch the container widget size
This fixes occasional weird positioning of the video in the video widget on windows
Marvin Scholz [Thu, 1 Jun 2017 06:40:35 +0000 (08:40 +0200)]
macOS: Move VLCOpenTextField out of misc
The VLCOpenTextField is only ever used in the VLCOpenWindowController.
Thomas Guillem [Wed, 31 May 2017 14:16:32 +0000 (16:16 +0200)]
qt: remove false warning
These values are valid.
Thomas Guillem [Tue, 23 May 2017 08:25:46 +0000 (10:25 +0200)]
qt: save effects and filters on user request
Fixes #6873
Thomas Guillem [Tue, 23 May 2017 17:39:35 +0000 (19:39 +0200)]
qt: don't save SyncControls preferences
Ref #6873
Thomas Guillem [Tue, 23 May 2017 17:37:52 +0000 (19:37 +0200)]
qt: refactor ChangeVFiltersString
Ref #6873
Thomas Guillem [Tue, 23 May 2017 17:19:27 +0000 (19:19 +0200)]
qt: refactor ChangeAFiltersString
Ref #6873
Thomas Guillem [Tue, 23 May 2017 17:14:33 +0000 (19:14 +0200)]
qt: set setFilterOption non static
Ref #6873
Thomas Guillem [Mon, 29 May 2017 09:59:59 +0000 (11:59 +0200)]
qt: duplicate video filters options in the playlist
Since we don't want to always save options anymore, we need a parent object to
store options that won't be destroyed (in contrary to the vout that can be
restarted/destroyed).
Ref #6873
Thomas Guillem [Mon, 29 May 2017 09:57:18 +0000 (11:57 +0200)]
qt: set video filters options directly in all vouts
Thomas Guillem [Tue, 30 May 2017 15:30:43 +0000 (17:30 +0200)]
qt: refactor ExtVideo::setFilterOption
Thomas Guillem [Tue, 30 May 2017 15:14:22 +0000 (17:14 +0200)]
qt: apply filters change on all vouts
Thomas Guillem [Tue, 30 May 2017 15:10:31 +0000 (17:10 +0200)]
qt: add MainInputManager::getVouts
Thomas Guillem [Mon, 29 May 2017 09:55:23 +0000 (11:55 +0200)]
qt: save/retrieve video filters to/from the playlist
Thomas Guillem [Tue, 30 May 2017 14:31:25 +0000 (16:31 +0200)]
qt: fix filter list false positives
Thomas Guillem [Wed, 24 May 2017 07:56:50 +0000 (09:56 +0200)]
qt: remove forward declaration
Thomas Guillem [Wed, 31 May 2017 15:28:37 +0000 (17:28 +0200)]
qt: fix usage of a released aout object
Thomas Guillem [Wed, 31 May 2017 14:38:32 +0000 (16:38 +0200)]
qt: get audio filters from the playlist
Thomas Guillem [Wed, 24 May 2017 08:23:53 +0000 (10:23 +0200)]
vout: trigger filters commands
The vout now duplicates every command variables of spawned filters in order
to trigger events directly from the vout.
Thomas Guillem [Tue, 30 May 2017 09:02:41 +0000 (11:02 +0200)]
variables: add var_GetAllNames
Thomas Guillem [Tue, 30 May 2017 16:25:47 +0000 (18:25 +0200)]
aout: save filter settings in the parent object
For now, the parent object is always the playlist.
Ref #6873
Thomas Guillem [Mon, 29 May 2017 09:49:55 +0000 (11:49 +0200)]
playlist: create filters variables
Ref #6873
Francois Cartegnie [Wed, 31 May 2017 12:09:21 +0000 (14:09 +0200)]
vlc_codec: fix confusing parameter in decoder_NewAudioBuffer
Nicolas Chauvet [Wed, 31 May 2017 10:43:17 +0000 (12:43 +0200)]
Fix make dist after ID3Genres.h move to meta_engine
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
Francois Cartegnie [Wed, 31 May 2017 11:02:29 +0000 (13:02 +0200)]
codec: flac: fix heap write overflow on frame format change
Thomas Guillem [Wed, 31 May 2017 08:01:45 +0000 (10:01 +0200)]
meta: ID3: set ID3_tag_to_metatype static
Hugo Beauzée-Luyssen [Tue, 30 May 2017 16:39:51 +0000 (18:39 +0200)]
dshow: Fix CapturePin initialization
Regression introduced in
e6b343dd68854fc9de383e8fb44c716221f8d403
Francois Cartegnie [Tue, 30 May 2017 11:36:55 +0000 (13:36 +0200)]
demux: ttml: fix utf8 doctype probing
Remita Amine [Sat, 20 May 2017 18:51:55 +0000 (19:51 +0100)]
ttml: correct region style resolution order and process region referential styling
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
Francois Cartegnie [Fri, 26 May 2017 19:03:25 +0000 (21:03 +0200)]
aout: fix replaygain
Thomas Guillem [Tue, 30 May 2017 08:55:36 +0000 (10:55 +0200)]
vlc_arrays: fix missing parenthesis
Tristan Matthews [Mon, 29 May 2017 19:27:17 +0000 (15:27 -0400)]
qt: fix build when QT5_HAS_XCB but !QT5_HAS_X11
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
David Fuhrmann [Mon, 29 May 2017 19:56:05 +0000 (21:56 +0200)]
macosx: Fix VLC.app build
Fixes build of VLC.app bundle, by making sure to copy all
needed ressources.
Rémi Denis-Courmont [Mon, 29 May 2017 19:23:24 +0000 (22:23 +0300)]
ttml: use explicit 64/32-bits types
Francois Cartegnie [Mon, 29 May 2017 18:01:42 +0000 (20:01 +0200)]
demux: mp4: parse 3GPP ID3
Untested
Francois Cartegnie [Mon, 29 May 2017 18:01:56 +0000 (20:01 +0200)]
demux: es: use refactored id3 parser
Francois Cartegnie [Mon, 29 May 2017 17:48:19 +0000 (19:48 +0200)]
meta: ID3: load replaygain into meta
Francois Cartegnie [Mon, 29 May 2017 15:49:27 +0000 (17:49 +0200)]
demux: mp4: move ID3 genres to meta
Rémi Denis-Courmont [Mon, 29 May 2017 15:39:44 +0000 (18:39 +0300)]
sap: remove unused parameter
Rémi Denis-Courmont [Mon, 29 May 2017 15:39:34 +0000 (18:39 +0300)]
sd: fix inverted parameter (fixes #18372)
Rémi Denis-Courmont [Mon, 29 May 2017 15:36:54 +0000 (18:36 +0300)]
sap: use vlc_memstream, fix heap overflow
Rémi Denis-Courmont [Sun, 28 May 2017 11:50:42 +0000 (14:50 +0300)]
libmpeg2: fix NULl deref on vout failure (fixes #18366)
This ensures that the synchro object is allocated regardless of the
video output state.
Note that they are probably other ways to trigger similar NULL
dereference. It is highly questionable that this plugin should remain
in the tree with all its bugs and no upstream (libmpeg2) maintainance.
Rémi Denis-Courmont [Sun, 28 May 2017 11:40:08 +0000 (14:40 +0300)]
synchro: privatize inside libmpeg2 plugin
This set of "helpers" is only used by the libmpeg2 plugin, and was not
exposed to out-of-tree-plugins. There is apparently no point keeping it
inside the core.
Francois Cartegnie [Mon, 29 May 2017 14:31:32 +0000 (16:31 +0200)]
demux: mp4: set replay gain
Francois Cartegnie [Mon, 29 May 2017 14:02:10 +0000 (16:02 +0200)]
demux: mp4: store meta on Open()
Francois Cartegnie [Mon, 29 May 2017 13:42:40 +0000 (15:42 +0200)]
demux: mp4: extract iTunesInfo
Thomas Guillem [Mon, 29 May 2017 14:17:33 +0000 (16:17 +0200)]
qt: remove "Black Slot" puzzle option
This option had been removed from the filter module in 2013, see
4b4f62a0e0114a638d3234db81bd02b1513a39d6.
Fixes #15418
Filip Roséen [Thu, 25 May 2017 19:58:05 +0000 (21:58 +0200)]
input: InputGetExtraFiles: handle rar splits
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Filip Roséen [Thu, 25 May 2017 19:58:04 +0000 (21:58 +0200)]
input: allow InputGetExtraFiles to force an access
As extensions, such as .001, are heavily coupled with access/concat,
this allows a certain pattern to force a specific access module to
handle the incoming data.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Filip Roséen [Thu, 25 May 2017 20:08:58 +0000 (22:08 +0200)]
input: InputGetExtraFilesPattern: include scheme in concat-list entries
This allows for easier implementation for modules using the
concat-list, as it can assume that all entries can be passed directly
to functions such as vlc_stream_NewURL (as they are now valid URIs).
These changes also makes it so that the contents of concat-list
matches that of the documentation, as it uses the notion "input URLs".
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Filip Roséen [Thu, 25 May 2017 19:58:02 +0000 (21:58 +0200)]
input: InputGetExtraFiles: refactor
These changes allow for an implementation that is a little bit easier
to read, and maintain.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Fri, 19 May 2017 08:22:29 +0000 (10:22 +0200)]
input: decoder: fix end of preroll on discontinuity
End of preroll time was not updated properly.
Initial discontinuities were notified
through es_out/input_DecoderDiscontinuity
79cb45a41bdeaca63eb5fa2f3c53913ce463c6a5
using a forged empty block with discontinuity
flag.
Current decoders/demuxers discontinuity flag
is set on first block after discontinuity, and
is no longer empty data. We need to test for
this.
refs #18245
First spu dropped on preroll (preroll > INT_MIN)
(due to another special case/preroll incompatibility)
Rémi Denis-Courmont [Fri, 26 May 2017 19:37:31 +0000 (22:37 +0300)]
vlc_stream_ReadLine: fix trimming 8-bits lines (fixes #18364)
The conversion from UTF-16 to UTF-8 could (until a few days ago) fail
before the end. In that case, the appended nul terminator would not be
converted. A nul terminator is anyway always appended after conversion
and trimming.
If conversion failed on the first character, that nul terminator would
be written at a negative offset, leading to heap buffer "underflow" and
memory corruption. This was fixed but lead to a mismatch in the value of
i_lines depending on the character width.
This change removes the useless pre-conversion nul terminator, and thus
makes trimming work again with single byte character width work. This
fixes reading text files formatted with MS-DOS line endings.
Francois Cartegnie [Fri, 26 May 2017 16:07:47 +0000 (18:07 +0200)]
demux: es: add replaygain from ID3
Francois Cartegnie [Fri, 26 May 2017 14:39:06 +0000 (16:39 +0200)]
meta: ID3: split string conversion
Thomas Guillem [Fri, 26 May 2017 13:25:44 +0000 (15:25 +0200)]
video_chroma: chain: fix uninitialized variable
Thomas Guillem [Fri, 26 May 2017 13:11:17 +0000 (15:11 +0200)]
mmal/deinterlace: fix priority
Since deinterlace filters are loaded manually.
Thomas Guillem [Fri, 26 May 2017 13:08:13 +0000 (15:08 +0200)]
i420_rgb: fix MMX and non optimized capabilities
Francois Cartegnie [Fri, 26 May 2017 10:26:40 +0000 (12:26 +0200)]
codec: ttml: fix white space stripping
Must not depend of ttml style presence
Francois Cartegnie [Fri, 26 May 2017 09:00:06 +0000 (11:00 +0200)]
demux: ttml: probe document header less xml
Francois Cartegnie [Fri, 26 May 2017 08:08:46 +0000 (10:08 +0200)]
mux: mp4: set single field duration
Tristan Matthews [Thu, 25 May 2017 00:35:04 +0000 (20:35 -0400)]
flac: use library defined constant
Rémi Denis-Courmont [Wed, 24 May 2017 19:07:05 +0000 (22:07 +0300)]
vlc_stream_ReadLine: fix trimming
Removal of CR or LF final characters relied on the off-by-one bug fixed
in the previous changest, and no longer works. This adjusts it
accordingly.
Rémi Denis-Courmont [Wed, 24 May 2017 16:47:12 +0000 (19:47 +0300)]
vlc_stream_ReadLine: fix off-by-one
Do not erase the last converted byte. This bug has apparently existed
ever since UTF-16 support was added.
If the conversion fails, this bug resulted in a heap underflow (writing
zero right before the beginning of the buffer).
Rémi Denis-Courmont [Wed, 24 May 2017 16:43:39 +0000 (19:43 +0300)]
vlc_stream_ReadLine(): improve error reporting
Hugo Beauzée-Luyssen [Wed, 24 May 2017 14:06:22 +0000 (16:06 +0200)]
contribs: microdns: Bump to 0.0.7
David Fuhrmann [Sat, 20 May 2017 14:04:24 +0000 (16:04 +0200)]
macosx: Remove Makefile recursion, change xib compilation
xib compilation is changed to be not triggered if macosx module
is not built.
Hugo Beauzée-Luyssen [Wed, 24 May 2017 10:35:34 +0000 (12:35 +0200)]
Revert "subtitle: Fix potential memory leaks"
This reverts commit
c2e45c4ecf2d51820dfe095d89e8b9379c8df4ca.
Hugo Beauzée-Luyssen [Tue, 23 May 2017 17:57:17 +0000 (19:57 +0200)]
direct3d9: Fix spu texture mapping
Jean-Baptiste Kempf [Tue, 23 May 2017 16:31:36 +0000 (18:31 +0200)]
qt: remove postproc menus
Postproc is almost always useless nowadays and does not work in most
cases.
Francois Cartegnie [Tue, 23 May 2017 16:09:40 +0000 (18:09 +0200)]
decoder: pass cc sub decoders reorder depth through QueueCC
no comment
Francois Cartegnie [Tue, 23 May 2017 09:07:16 +0000 (11:07 +0200)]
codec: ttml: compute sizes from cells (fix #18347)
Francois Cartegnie [Tue, 23 May 2017 10:04:33 +0000 (12:04 +0200)]
codec: ttml: fix empty dict check (fix #18260)
Filip Roséen [Sun, 21 May 2017 19:34:41 +0000 (21:34 +0200)]
playlist/item: add_subitem_tree: fix next on flat playlist and empty node
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Mon, 22 May 2017 17:51:56 +0000 (20:51 +0300)]
es_format: memset() the whole structure
Rémi Denis-Courmont [Mon, 22 May 2017 16:22:53 +0000 (19:22 +0300)]
playlist: ram: fix flawed logic
Thomas Guillem [Mon, 22 May 2017 13:58:20 +0000 (15:58 +0200)]
playlist: fix null-deref if there is no aout
Francois Cartegnie [Mon, 22 May 2017 10:11:25 +0000 (12:11 +0200)]
access: bluray: don't create demux on invalid es_out
Francois Cartegnie [Mon, 22 May 2017 13:46:16 +0000 (15:46 +0200)]
access: bluray: fix discontinuity on set_title
Francois Cartegnie [Mon, 22 May 2017 12:42:14 +0000 (14:42 +0200)]
access: bluray: missing es_format_Init
Jean-Baptiste Kempf [Mon, 22 May 2017 09:59:36 +0000 (11:59 +0200)]
Qt: fix audio filter typo
Jean-Baptiste Kempf [Mon, 22 May 2017 08:21:14 +0000 (10:21 +0200)]
input info: use "video resolution" instead of "display resolution"
Technically, this is not the "display resolution", since we don't know
what the display will be (zoom and unzoom)