vlc.git
6 hours agodemux: mkv: ProcessNavAction: negate if to prevent nesting master
Filip Roséen [Sun, 22 Jul 2018 06:16:35 +0000 (08:16 +0200)]
demux: mkv: ProcessNavAction: negate if to prevent nesting

By negating the protective if-condition we can get rid of one layer of
indentation.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 hours agodemux: mkv: HandleKeyEvent: introduce common helper
Filip Roséen [Sun, 22 Jul 2018 06:16:34 +0000 (08:16 +0200)]
demux: mkv: HandleKeyEvent: introduce common helper

All of the handling in terms of ACTIONID_NAV_{LEFT,RIGHT,UP,DOWN} have
the same logic, besides what button they affect. A new helper,
ProcessNavAction, has been introduced to avoid code-duplication.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 hours agodemux: mkv: HandleKeyEvent: use common variable initialization
Filip Roséen [Sun, 22 Jul 2018 06:16:33 +0000 (08:16 +0200)]
demux: mkv: HandleKeyEvent: use common variable initialization

All cases are declaring an identical variable with the same
initialization, the only difference in the first few cases is that it
refers to the value using a pointer (which is unnecessary as the read
value will be the same).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 hours agodemux: mkv: HandleKeyEvent: negate if to prevent nesting
Filip Roséen [Sun, 22 Jul 2018 06:16:32 +0000 (08:16 +0200)]
demux: mkv: HandleKeyEvent: negate if to prevent nesting

The relevant if statement is the same for all switch cases, meaning
that we can rewrite it to abort early, and remove the duplicate check
from each case.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 hours agodemux: mkv: add missing initialization
Filip Roséen [Sat, 21 Jul 2018 05:05:05 +0000 (07:05 +0200)]
demux: mkv: add missing initialization

cid: #1438066
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
26 hours agoinput: input: always DEMUX_GET_TIME before --stop-time check
Filip Roséen [Sat, 21 Jul 2018 17:00:19 +0000 (19:00 +0200)]
input: input: always DEMUX_GET_TIME before --stop-time check

In order for --stop-time to work as it is intended, we must compare
the threshold to where the demuxer says it is. By introducing an
explicit DEMUX_GET_TIME before said logic we have some good
guarantees, such as:

 - Jumps due to --input-repeat does not result in premature EOF
   of playback because input_priv(i_time)->i_time not yet having
   received an update between the jump and our stop-check.

 - The --stop-time value is correct respected even if we have not yet
   reached the update threshold introduced in 7adcf5f7c6.

fixes: #20833
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
26 hours agoinput: input: MainLoopDemux: use intermediate variable
Filip Roséen [Fri, 20 Jul 2018 08:05:16 +0000 (10:05 +0200)]
input: input: MainLoopDemux: use intermediate variable

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
30 hours agotext_renderer: freetype: fix memory leak in AnalyzeParagraph
Filip Roséen [Sat, 21 Jul 2018 21:14:57 +0000 (23:14 +0200)]
text_renderer: freetype: fix memory leak in AnalyzeParagraph

fixes: #20881
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 days agostream: replace input_thread_t by input_item_t
Thomas Guillem [Fri, 20 Jul 2018 15:20:55 +0000 (17:20 +0200)]
stream: replace input_thread_t by input_item_t

This will prevent all demuxers/access/streams to mess with the input_thread_t
state.

2 days agoaccess: keep stream input in a private struct
Thomas Guillem [Thu, 19 Jul 2018 12:14:34 +0000 (14:14 +0200)]
access: keep stream input in a private struct

2 days agoinput: add an input_item_t arg to input_CreateFilename()
Thomas Guillem [Thu, 19 Jul 2018 12:12:49 +0000 (14:12 +0200)]
input: add an input_item_t arg to input_CreateFilename()

2 days agostrings: add an input_item_t arg to vlc_strfinput()
Thomas Guillem [Thu, 19 Jul 2018 12:01:58 +0000 (14:01 +0200)]
strings: add an input_item_t arg to vlc_strfinput()

Now, this helper can be used with just an input_item_t. Few formats won't be
able to work without the input_thread_t, like rate for example.

2 days agomodules: remove attachment access module
Thomas Guillem [Fri, 20 Jul 2018 13:30:01 +0000 (15:30 +0200)]
modules: remove attachment access module

Replaced by ce263157c68c9e9b6b212a69eb03f1e8caa860d4

2 days agoaccess: handle attachment:// with vlc_stream_AttachmentNew
Thomas Guillem [Fri, 20 Jul 2018 14:28:54 +0000 (16:28 +0200)]
access: handle attachment:// with vlc_stream_AttachmentNew

2 days agostream: add vlc_stream_AttachmentNew
Thomas Guillem [Fri, 20 Jul 2018 14:26:49 +0000 (16:26 +0200)]
stream: add vlc_stream_AttachmentNew

Like vlc_stream_MemoryNew but with an attachment, that is released on stream
destroy.

2 days agometa: use INPUT_GET_ATTACHMENT control
Thomas Guillem [Fri, 20 Jul 2018 14:29:23 +0000 (16:29 +0200)]
meta: use INPUT_GET_ATTACHMENT control

2 days agocontribs: srt: Fix pkgconfig file generation
Olivier Crête [Thu, 19 Jul 2018 21:39:29 +0000 (17:39 -0400)]
contribs: srt: Fix pkgconfig file generation

VLC doesn't use pkg-config --static but hacks the .pc files, so do
the same here. Also fix srt to produce valid pc files.

Signed-off-by: Konstantin Pavlov <thresh@videolan.org>
2 days agocontrib: live555: prevent inclusion of xlocale.h on linux
Filip Roséen [Mon, 16 Jul 2018 03:29:06 +0000 (05:29 +0200)]
contrib: live555: prevent inclusion of xlocale.h on linux

https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27

Also, as stated in the above notes, xlocale.h was never meant to be
included, so live555 is in the wrong for even trying.

Signed-off-by: Konstantin Pavlov <thresh@videolan.org>
2 days agochromecast: replace the p_input hack by an other one
Thomas Guillem [Fri, 20 Jul 2018 12:35:04 +0000 (14:35 +0200)]
chromecast: replace the p_input hack by an other one

This is very questionable if this hack is cleaner that the previous one. But
this one doesn't depend on the input_thread_t that we want to hide from
demuxers. Furthermore, it allows more controls with applications using libvlc
that will receive a CorkEvent.

2 days agomisc: medialibrary: prefer loop over code duplication
Filip Roséen [Fri, 20 Jul 2018 02:16:09 +0000 (04:16 +0200)]
misc: medialibrary: prefer loop over code duplication

(cherry picked from commit 90d5bb1cb6946628c869a9a2c44a65cbb5de2018)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agomisc: medialibrary: use istringstream if possible
Filip Roséen [Fri, 20 Jul 2018 02:08:35 +0000 (04:08 +0200)]
misc: medialibrary: use istringstream if possible

The code in question does not need the capabilities of
std::ostringstream, as such std::istringstream is enough.

(cherry picked from commit d8e98d40eb1c33a4c331204028c4a94d86a323be)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agomisc: medialibrary: add missing error check
Filip Roséen [Fri, 20 Jul 2018 01:52:39 +0000 (03:52 +0200)]
misc: medialibrary: add missing error check

If vlc_event_attach fails there is no way for us to know when to stop
waiting for the item to finish, meaning that we would get stuck
forever.

(cherry picked from commit 5af57c0e3726963108e871ca3e4811003a1add36)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agomisc: medialibrary: ctx does not need dynamic lifetime
Filip Roséen [Fri, 20 Jul 2018 01:40:11 +0000 (03:40 +0200)]
misc: medialibrary: ctx does not need dynamic lifetime

The relevant object is only meant to be alive for the duration of the
function in question, as such wrapping it in a std::unique_ptr has no
value.

(cherry picked from commit 681a956bdf5136faa79464d339daeccf32767b2e)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agomisc: medialibrary: use strdup-helper to avoid code-duplication
Filip Roséen [Wed, 18 Jul 2018 08:57:06 +0000 (10:57 +0200)]
misc: medialibrary: use strdup-helper to avoid code-duplication

(cherry picked from commit 1ddac1cbbf1deec8a3103de0dab67f192e61fa47)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agomisc: medialibrary: remove unnecessary variables
Filip Roséen [Wed, 18 Jul 2018 09:07:04 +0000 (11:07 +0200)]
misc: medialibrary: remove unnecessary variables

(cherry picked from commit 45a46f65b07f47ab01c7916c6ffb07585172af22)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agomisc: medialibrary: use loop instead of copy+paste
Filip Roséen [Wed, 18 Jul 2018 07:52:13 +0000 (09:52 +0200)]
misc: medialibrary: use loop instead of copy+paste

(cherry picked from commit 00e164cb2015d71b69f74d729f9e464fcdd059b2)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 days agoegl: explicitly destroy the context
Thomas Guillem [Fri, 20 Jul 2018 08:29:26 +0000 (10:29 +0200)]
egl: explicitly destroy the context

The eglTerminate() documentation state that any contexts and surfaces
associated with the display are marked for deletion.

But this doesn't seem to be the case on Android with a GLES2 context.

2 days agots: Fix make distcheck
Hugo Beauzée-Luyssen [Fri, 20 Jul 2018 08:29:06 +0000 (10:29 +0200)]
ts: Fix make distcheck

2 days agothreads: remove now unused VLC_HIGHLIGHT_MUTEX
Thomas Guillem [Fri, 20 Jul 2018 07:30:36 +0000 (09:30 +0200)]
threads: remove now unused VLC_HIGHLIGHT_MUTEX

2 days agodemux: mkv: simplify lock logic in EventThread
Filip Roséen [Thu, 19 Jul 2018 18:07:12 +0000 (20:07 +0200)]
demux: mkv: simplify lock logic in EventThread

2 days agodemux: mkv: use new event handling for actions
Filip Roséen [Thu, 19 Jul 2018 17:30:45 +0000 (19:30 +0200)]
demux: mkv: use new event handling for actions

2 days agodemux: mkv: remove no longer required code
Filip Roséen [Wed, 18 Jul 2018 05:39:54 +0000 (07:39 +0200)]
demux: mkv: remove no longer required code

2 days agodemux: mkv: use ES_OUT_SPU_SET_HIGHLIGHT
Filip Roséen [Wed, 18 Jul 2018 03:09:43 +0000 (05:09 +0200)]
demux: mkv: use ES_OUT_SPU_SET_HIGHLIGHT

2 days agodemux: mkv: use ES_OUT_VOUT_SET_MOUSE_EVENT
Filip Roséen [Thu, 19 Jul 2018 17:53:21 +0000 (19:53 +0200)]
demux: mkv: use ES_OUT_VOUT_SET_MOUSE_EVENT

2 days agodemux: mkv: prepare for new event handling
Filip Roséen [Thu, 19 Jul 2018 17:41:13 +0000 (19:41 +0200)]
demux: mkv: prepare for new event handling

2 days agodemux: mkv: demux_sys_t::p_ev does not need dynamic lifetime
Filip Roséen [Wed, 18 Jul 2018 04:53:02 +0000 (06:53 +0200)]
demux: mkv: demux_sys_t::p_ev does not need dynamic lifetime

2 days agodemux: mkv: move mouse event handling to separate function
Filip Roséen [Wed, 18 Jul 2018 01:12:30 +0000 (03:12 +0200)]
demux: mkv: move mouse event handling to separate function

2 days agodemux: mkv: move key event handling to separate function
Filip Roséen [Wed, 18 Jul 2018 01:09:44 +0000 (03:09 +0200)]
demux: mkv: move key event handling to separate function

2 days agodemux: mkv: move event functionality to separate files
Filip Roséen [Wed, 18 Jul 2018 01:02:37 +0000 (03:02 +0200)]
demux: mkv: move event functionality to separate files

2 days agodemux: mkv: move dvd-types to a header of its own
Filip Roséen [Wed, 18 Jul 2018 00:46:57 +0000 (02:46 +0200)]
demux: mkv: move dvd-types to a header of its own

2 days agoasf: use ES_OUT_SET_ES_FMT
Thomas Guillem [Wed, 18 Jul 2018 10:10:25 +0000 (12:10 +0200)]
asf: use ES_OUT_SET_ES_FMT

2 days agoes_out: fix ES_OUT_SET_ES_FMT
Thomas Guillem [Wed, 18 Jul 2018 09:13:57 +0000 (11:13 +0200)]
es_out: fix ES_OUT_SET_ES_FMT

Drain the decoder before destroying it, and check if the cat is the same.

2 days agobluray: use ES_OUT_VOUT_ADD_OVERLAY
Thomas Guillem [Tue, 17 Jul 2018 13:07:48 +0000 (15:07 +0200)]
bluray: use ES_OUT_VOUT_ADD_OVERLAY

2 days agobluray: use ES_OUT_VOUT_SET_MOUSE_EVENT
Thomas Guillem [Tue, 17 Jul 2018 12:34:38 +0000 (14:34 +0200)]
bluray: use ES_OUT_VOUT_SET_MOUSE_EVENT

2 days agodvdnav: use ES_OUT_SPU_SET_HIGHLIGHT
Thomas Guillem [Fri, 13 Jul 2018 13:41:15 +0000 (15:41 +0200)]
dvdnav: use ES_OUT_SPU_SET_HIGHLIGHT

2 days agodvdnav: use ES_OUT_SET_VOUT_MOUSE_EVENT
Thomas Guillem [Mon, 16 Jul 2018 13:48:03 +0000 (15:48 +0200)]
dvdnav: use ES_OUT_SET_VOUT_MOUSE_EVENT

2 days agoes_out: add ES_OUT_SPU_SET_HIGHLIGHT
Thomas Guillem [Fri, 13 Jul 2018 12:50:15 +0000 (14:50 +0200)]
es_out: add ES_OUT_SPU_SET_HIGHLIGHT

This control allows demuxers to highlight a specific area of a SPU (already
sent). This will replace the p_input highlight variables and the
VLC_HIGHLIGHT_MUTEX.

2 days agoes_out: add ES_OUT_VOUT_ADD_OVERLAY
Thomas Guillem [Tue, 17 Jul 2018 07:57:36 +0000 (09:57 +0200)]
es_out: add ES_OUT_VOUT_ADD_OVERLAY

This control allow demuxers to send subpicture_t directly to the vout of the
video es. This will be used by the bluray demuxer.

ES_OUT_VOUT_FLUSH allow to clear any subpictures previously sent via
ES_OUT_VOUT_ADD_OVERLAY.

2 days agoes_out: add ES_OUT_SET_VOUT_MOUSE_EVENT
Thomas Guillem [Mon, 16 Jul 2018 13:47:45 +0000 (15:47 +0200)]
es_out: add ES_OUT_SET_VOUT_MOUSE_EVENT

This a new preferred method to get mouse events from demuxers (instead of
registering to "intf-event" from the p_input and registering to mouse events
from any vouts).

2 days agovout: set a mouse event cb when creating a vout
Thomas Guillem [Mon, 16 Jul 2018 13:46:50 +0000 (15:46 +0200)]
vout: set a mouse event cb when creating a vout

3 days agocontrib: Add extras/tools/build/share/aclocal to ACLOCAL_AMFLAGS
Martin Storsjö [Wed, 18 Jul 2018 19:50:50 +0000 (22:50 +0300)]
contrib: Add extras/tools/build/share/aclocal to ACLOCAL_AMFLAGS

If some tools (e.g. libtool) have been built in extras/tools, but
automake/autoconf haven't, we need to make sure to pick up the
aclocal files from there, otherwise the build will end up with
inconsistent results and the build will fail.

3 days agocodec: aom: flush decoder on seek
Francois Cartegnie [Thu, 19 Jul 2018 14:56:30 +0000 (16:56 +0200)]
codec: aom: flush decoder on seek

also drops flushed pics intead of sending them

3 days agocodec: aom: handle drain
Francois Cartegnie [Thu, 19 Jul 2018 14:51:29 +0000 (16:51 +0200)]
codec: aom: handle drain

3 days agocodec: aom: rework decoder loop
Francois Cartegnie [Thu, 19 Jul 2018 14:46:40 +0000 (16:46 +0200)]
codec: aom: rework decoder loop

now outputs delayed frames

3 days agocodec: aom: store frame private data locally
Francois Cartegnie [Thu, 19 Jul 2018 14:21:05 +0000 (16:21 +0200)]
codec: aom: store frame private data locally

fix leaks on error

3 days agodemux: mp4: handle av1C
Francois Cartegnie [Thu, 19 Jul 2018 11:43:18 +0000 (13:43 +0200)]
demux: mp4: handle av1C

3 days agodemux: mp4: set AVC profile/level
Francois Cartegnie [Thu, 19 Jul 2018 11:39:53 +0000 (13:39 +0200)]
demux: mp4: set AVC profile/level

3 days agodemux: mp4: remove useless avcC unfolding
Francois Cartegnie [Thu, 19 Jul 2018 11:29:10 +0000 (13:29 +0200)]
demux: mp4: remove useless avcC unfolding

3 days agobluray: remove p_input requirement
Thomas Guillem [Thu, 19 Jul 2018 11:20:03 +0000 (13:20 +0200)]
bluray: remove p_input requirement

3 days agobluray: use es_out controls instead of input variables
Thomas Guillem [Thu, 19 Jul 2018 10:53:29 +0000 (12:53 +0200)]
bluray: use es_out controls instead of input variables

3 days agoes_out: add ES_OUT_UNSET_ES
Thomas Guillem [Thu, 19 Jul 2018 10:50:23 +0000 (12:50 +0200)]
es_out: add ES_OUT_UNSET_ES

This control will allow demuxers to disable an ES track without using "*-es"
input variables.

3 days agoes_out: remove recursive lock
Thomas Guillem [Wed, 18 Jul 2018 13:11:47 +0000 (15:11 +0200)]
es_out: remove recursive lock

3 days agodemux: ts: handle TTML extended descriptor
Francois Cartegnie [Thu, 19 Jul 2018 07:42:15 +0000 (09:42 +0200)]
demux: ts: handle TTML extended descriptor

3 days agodemux: ts: merge hearing impaired tracks desc
Francois Cartegnie [Thu, 19 Jul 2018 08:01:58 +0000 (10:01 +0200)]
demux: ts: merge hearing impaired tracks desc

3 days agodemux: ts: use defines for descriptions
Francois Cartegnie [Thu, 19 Jul 2018 07:53:09 +0000 (09:53 +0200)]
demux: ts: use defines for descriptions

3 days agodemux: ts: add support for TTML
Francois Cartegnie [Wed, 18 Jul 2018 13:17:45 +0000 (15:17 +0200)]
demux: ts: add support for TTML

3 days agocodec: ttml: handle EN 303 560 payload
Francois Cartegnie [Wed, 18 Jul 2018 12:38:14 +0000 (14:38 +0200)]
codec: ttml: handle EN 303 560 payload

3 days agofourcc: add specific TTML encapsulation
Francois Cartegnie [Wed, 18 Jul 2018 21:02:04 +0000 (23:02 +0200)]
fourcc: add specific TTML encapsulation

3 days agoes_out: reindent after previous commit
Thomas Guillem [Thu, 19 Jul 2018 08:45:01 +0000 (10:45 +0200)]
es_out: reindent after previous commit

3 days agoes_out: fix spu track always marked as forced
Thomas Guillem [Thu, 19 Jul 2018 08:41:59 +0000 (10:41 +0200)]
es_out: fix spu track always marked as forced

fixup of cfea200c8c7596de07d9e4b7bb88f993015939be

The second arg of ES_OUT_SET_ES_BY_ID was ignored (and was false for input
slaves).

4 days agogui: qt: prevent fullscreen controller from stealing focus
Filip Roséen [Mon, 16 Jul 2018 03:26:30 +0000 (05:26 +0200)]
gui: qt: prevent fullscreen controller from stealing focus

A widget will (per default) receive focus when it is displayed,
something which is not ideal for our fullscreen controller (as it may
result in VLC grabbing focus from whatever window the user is actually
interested in at the time).

fixes #8712

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 days agoes_out: remove the final legacy variable usage
Thomas Guillem [Wed, 18 Jul 2018 15:41:51 +0000 (17:41 +0200)]
es_out: remove the final legacy variable usage

Count ESes using the foreach_es_then_es_slaves() helper and add the "Disable"
track from legacy var callbacks.

4 days agoes_out: remove a legacy variable usage
Thomas Guillem [Wed, 18 Jul 2018 15:29:19 +0000 (17:29 +0200)]
es_out: remove a legacy variable usage

Add the EsOutGetSelectedCat() helper to replace var_GetInteger( p_input,
"*-es").

4 days agoes_out: remove a legacy variable usage
Thomas Guillem [Wed, 18 Jul 2018 15:01:19 +0000 (17:01 +0200)]
es_out: remove a legacy variable usage

The variables "video", "audio", and "spu" were reset to true only when an ES
was changed from "*-es" variables.

To fix this issue, add a new arg to the ES_OUT_SET_ES_BY_ID control that allow
to bypass initial user preferences regarding track selection.

4 days agoes_out: remove deprecated ES_OUT_RESTART_ALL_ES
Thomas Guillem [Wed, 18 Jul 2018 13:17:31 +0000 (15:17 +0200)]
es_out: remove deprecated ES_OUT_RESTART_ALL_ES

4 days agoinput: fix intf-event triggered twice
Thomas Guillem [Wed, 18 Jul 2018 15:37:32 +0000 (17:37 +0200)]
input: fix intf-event triggered twice

4 days agoinput: move variables initialization
Thomas Guillem [Wed, 18 Jul 2018 14:36:17 +0000 (16:36 +0200)]
input: move variables initialization

Move these 4 variables from input_LegacyVarInit() to input_ConfigVarInit()
Indeed, these variables are needed, as read-only, for input_thread or the
es_out initialization.

4 days agodemux/subtitle: only fetch "sub-fps" variable
Thomas Guillem [Wed, 18 Jul 2018 11:11:31 +0000 (13:11 +0200)]
demux/subtitle: only fetch "sub-fps" variable

Since this module handle the same way "sub-fps" and "sub-original-fps" (and
because fetching "sub-original-fps" from the input is a HACK).

4 days agoinput: simplify fps variable handling
Thomas Guillem [Wed, 18 Jul 2018 11:03:12 +0000 (13:03 +0200)]
input: simplify fps variable handling

This commit merge "sub-original-fps" and "sub-fps" variables into one. The
"sub-fps" will be always valid. It will be, by priority order, the user choice,
then the master demux fps.

4 days agocontribs: Bump ML hash
Hugo Beauzée-Luyssen [Wed, 18 Jul 2018 15:01:56 +0000 (17:01 +0200)]
contribs: Bump ML hash

To a version which will link on macOS

4 days agomedialib: Assert on invalid file type when adding external mrl
Hugo Beauzée-Luyssen [Wed, 18 Jul 2018 13:43:53 +0000 (15:43 +0200)]
medialib: Assert on invalid file type when adding external mrl

All expected values (vlc_ml_file_type_t) are explicitely handled by the
switch

4 days agomedialib: Remove risky type deduction from list conversion
Hugo Beauzée-Luyssen [Wed, 18 Jul 2018 13:38:21 +0000 (15:38 +0200)]
medialib: Remove risky type deduction from list conversion

Since flexible arrays are only language extensions, it's unsafe to do
any assumption on what decltype(<flexible array>) will yield.
This fixes the build on gcc 5 (at least)

4 days agocontrib: ffmpeg: Remove SNAPURL
Hugo Beauzée-Luyssen [Wed, 18 Jul 2018 12:09:02 +0000 (14:09 +0200)]
contrib: ffmpeg: Remove SNAPURL

It's been unused since b49f27fc2b01175ee3ae7fe0f5b08c2ae0a40dd2

4 days agopackage: macOS: Provide OBJCXX env variable
Hugo Beauzée-Luyssen [Wed, 18 Jul 2018 11:39:24 +0000 (13:39 +0200)]
package: macOS: Provide OBJCXX env variable

4 days agocodec: webvtt: handle flush
Francois Cartegnie [Wed, 18 Jul 2018 10:01:08 +0000 (12:01 +0200)]
codec: webvtt: handle flush

duplicate spu issue with demuxers not flagging discontinuity

5 days agoAdd a new medialibrary module
Hugo Beauzée-Luyssen [Tue, 19 Jun 2018 09:39:27 +0000 (11:39 +0200)]
Add a new medialibrary module

5 days agolibvlc: Instantiate media library module
Hugo Beauzée-Luyssen [Mon, 18 Jun 2018 13:19:53 +0000 (15:19 +0200)]
libvlc: Instantiate media library module

5 days agoAdd a new media library core API
Hugo Beauzée-Luyssen [Mon, 18 Jun 2018 13:19:39 +0000 (15:19 +0200)]
Add a new media library core API

5 days agocore: Expose input_CreatePreparser
Hugo Beauzée-Luyssen [Fri, 8 Jun 2018 09:16:34 +0000 (11:16 +0200)]
core: Expose input_CreatePreparser

5 days agocore: Remove old medialibrary
Hugo Beauzée-Luyssen [Thu, 7 Jun 2018 13:25:07 +0000 (15:25 +0200)]
core: Remove old medialibrary

5 days agomodules: Remove references to the old media library
Hugo Beauzée-Luyssen [Thu, 7 Jun 2018 13:19:43 +0000 (15:19 +0200)]
modules: Remove references to the old media library

5 days agocontribs: Add medialibrary
Hugo Beauzée-Luyssen [Thu, 7 Jun 2018 08:32:16 +0000 (10:32 +0200)]
contribs: Add medialibrary

5 days agocontrib: Update & reactivate sqlite
Hugo Beauzée-Luyssen [Fri, 22 Jun 2018 12:01:44 +0000 (14:01 +0200)]
contrib: Update & reactivate sqlite

5 days agoinclude: Add C++ memory management helpers
Hugo Beauzée-Luyssen [Thu, 12 Jul 2018 13:19:06 +0000 (15:19 +0200)]
include: Add C++ memory management helpers

5 days agodemux: avi: replace macro with an actual variable
Filip Roséen [Mon, 16 Jul 2018 11:33:54 +0000 (13:33 +0200)]
demux: avi: replace macro with an actual variable

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
5 days agodemux: mkv: fix inability to build with MKV_DEBUG after f87c441 + a6fde34 (variable...
Filip Roséen [Tue, 17 Jul 2018 01:59:38 +0000 (03:59 +0200)]
demux: mkv: fix inability to build with MKV_DEBUG after f87c441 + a6fde34 (variable renaming)

f87c441 + a6fde34 did not do a very good job at replacing variable
names (resulting in an inability to enable MKV_DEBUG) as the variables
referenced has new names.

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
5 days agodemux: mkv: add missing error-checks
Filip Roséen [Sun, 15 Jul 2018 20:57:29 +0000 (22:57 +0200)]
demux: mkv: add missing error-checks

Prevent potential null-pointer dereferences.

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
5 days agoNEWS: add entry for 16-bit greyscale
Tristan Matthews [Tue, 17 Jul 2018 12:54:10 +0000 (08:54 -0400)]
NEWS: add entry for 16-bit greyscale

5 days agoconfigure.sh: Don't force enable twolame & x264
Hugo Beauzée-Luyssen [Tue, 17 Jul 2018 08:40:18 +0000 (10:40 +0200)]
configure.sh: Don't force enable twolame & x264

They will be enabled if the dependency is there. This fixes builds with
configure.sh & --disable-sout

5 days agocodec: avcodec: map Y16 (Fixes #20814)
Tristan Matthews [Tue, 17 Jul 2018 06:04:49 +0000 (02:04 -0400)]
codec: avcodec: map Y16 (Fixes #20814)