vlc.git
2 years agocontribs: gpg-error: Provide a lock-obj for armv8
Hugo Beauzée-Luyssen [Fri, 21 Apr 2017 12:50:56 +0000 (14:50 +0200)]
contribs: gpg-error: Provide a lock-obj for armv8

Which is the same as x86_64, and needs to be stored in the linux-android
file, since genheader appears to ignore the processor flavor

2 years agocontribs: gcrypt: Disable armv8 crypto support
Hugo Beauzée-Luyssen [Fri, 21 Apr 2017 12:50:24 +0000 (14:50 +0200)]
contribs: gcrypt: Disable armv8 crypto support

As it's crashing consistantly

2 years agocontribs: protobuf: Don't build protoc when specifying --with-protoc
Hugo Beauzée-Luyssen [Thu, 20 Apr 2017 16:07:52 +0000 (18:07 +0200)]
contribs: protobuf: Don't build protoc when specifying --with-protoc

2 years agocontribs: gcrypt: Fix pthread detection
Hugo Beauzée-Luyssen [Thu, 20 Apr 2017 15:26:02 +0000 (17:26 +0200)]
contribs: gcrypt: Fix pthread detection

2 years agocontribs: main.mak: Don't override CC/CXX if already provided
Hugo Beauzée-Luyssen [Thu, 20 Apr 2017 14:28:41 +0000 (16:28 +0200)]
contribs: main.mak: Don't override CC/CXX if already provided

2 years agocontribs: lua: Allow an absolute path to be passed as CC/STRIP/RANLIB
Hugo Beauzée-Luyssen [Thu, 20 Apr 2017 14:26:31 +0000 (16:26 +0200)]
contribs: lua: Allow an absolute path to be passed as CC/STRIP/RANLIB

2 years agovout/android: clear surfaces only when needed
Thomas Guillem [Thu, 20 Apr 2017 12:29:21 +0000 (14:29 +0200)]
vout/android: clear surfaces only when needed

2 years agomediacodec: fix deadlock when drain times out
Thomas Guillem [Thu, 20 Apr 2017 11:46:13 +0000 (13:46 +0200)]
mediacodec: fix deadlock when drain times out

2 years agomediacodec: increase drain max delay
Thomas Guillem [Thu, 20 Apr 2017 11:45:49 +0000 (13:45 +0200)]
mediacodec: increase drain max delay

2 years agomediacodec: always call hxxx pf_process_block
Thomas Guillem [Thu, 20 Apr 2017 09:28:02 +0000 (11:28 +0200)]
mediacodec: always call hxxx pf_process_block

And don't ask to parse NALs if the decoder supports adaptive.

2 years agomediacodec: remove late opening
Thomas Guillem [Thu, 20 Apr 2017 09:07:37 +0000 (11:07 +0200)]
mediacodec: remove late opening

Since packetizers will trigger a decoder reload when the size is finally valid.
We can open MediaCodec without having any CSDs since we can send them later
with the queueInput() method.

2 years agocodec: hxxx: also parse avcC for SPS/PPS change
Thomas Guillem [Thu, 20 Apr 2017 09:30:01 +0000 (11:30 +0200)]
codec: hxxx: also parse avcC for SPS/PPS change

2 years agocodec: hxxx: refactor
Thomas Guillem [Thu, 20 Apr 2017 12:08:38 +0000 (14:08 +0200)]
codec: hxxx: refactor

2 years agocodec: hxxx: move code
Thomas Guillem [Thu, 20 Apr 2017 09:29:31 +0000 (11:29 +0200)]
codec: hxxx: move code

2 years agocodec: hxxx: fix log
Thomas Guillem [Thu, 20 Apr 2017 09:25:38 +0000 (11:25 +0200)]
codec: hxxx: fix log

2 years agocodec: hxxx: parse nal only when asked for
Thomas Guillem [Thu, 20 Apr 2017 09:10:04 +0000 (11:10 +0200)]
codec: hxxx: parse nal only when asked for

2 years agocodec: hxxx: pf_process_block is now mandatory
Thomas Guillem [Thu, 20 Apr 2017 09:06:03 +0000 (11:06 +0200)]
codec: hxxx: pf_process_block is now mandatory

2 years agoPNG: Modify color correction application to fix semi-transparent pixels
Diogo Silva [Sat, 15 Apr 2017 15:32:16 +0000 (16:32 +0100)]
PNG: Modify color correction application to fix semi-transparent pixels

Improved color correction by replacing PNG_ALPHA_STANDARD with
PNG_ALPHA_OPTIMIZED and PNG_GAMMA_LINEAR with PNG_DEFAULT_sRGB (was marked
for academic environments).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoheadphone: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:45:12 +0000 (20:45 +0300)]
headphone: remove redundant cast

2 years agoxvideo: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:43:53 +0000 (20:43 +0300)]
xvideo: remove redundant casts

2 years agox11: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:43:38 +0000 (20:43 +0300)]
x11: remove redundant cast

2 years agoevas: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:43:17 +0000 (20:43 +0300)]
evas: remove redundant cast

2 years agorecord: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:43:04 +0000 (20:43 +0300)]
record: remove redundant cast

2 years agoaccesstweaks: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:42:50 +0000 (20:42 +0300)]
accesstweaks: remove redundant casts

2 years agomux_mpjpeg: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:42:08 +0000 (20:42 +0300)]
mux_mpjpeg: remove redundant casts

2 years agomux_ts: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:41:52 +0000 (20:41 +0300)]
mux_ts: remove redundant casts

2 years agomux_ps: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:41:39 +0000 (20:41 +0300)]
mux_ps: remove redundant casts

2 years agomux_mp4: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:41:22 +0000 (20:41 +0300)]
mux_mp4: remove redundant casts

2 years agomux_dummy: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:41:11 +0000 (20:41 +0300)]
mux_dummy: remove redundant casts

2 years agomux_avi: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:40:58 +0000 (20:40 +0300)]
mux_avi: remove redundant casts

2 years agomux_asf: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:40:45 +0000 (20:40 +0300)]
mux_asf: remove redundant casts

2 years agottml: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:40:29 +0000 (20:40 +0300)]
ttml: remove redundant casts

2 years agotta: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:40:07 +0000 (20:40 +0300)]
tta: remove redundant casts

2 years agosubtitle: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:39:49 +0000 (20:39 +0300)]
subtitle: remove redundant casts

2 years agostl: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:39:30 +0000 (20:39 +0300)]
stl: remove redundant casts

2 years agopva: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:39:13 +0000 (20:39 +0300)]
pva: remove redundant casts

2 years agoplaylist: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:38:09 +0000 (20:38 +0300)]
playlist: remove redundant cast

2 years agonuv: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:38:49 +0000 (20:38 +0300)]
nuv: remove redundant casts

2 years agonsv: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:38:45 +0000 (20:38 +0300)]
nsv: remove redundant casts

2 years agots: fix/remove casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:37:07 +0000 (20:37 +0300)]
ts: fix/remove casts

2 years agops: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:35:55 +0000 (20:35 +0300)]
ps: remove redundant casts

2 years agoes: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:35:28 +0000 (20:35 +0300)]
es: remove redundant casts

2 years agodirectory: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:35:03 +0000 (20:35 +0300)]
directory: remove redundant cast

2 years agodirac: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:34:54 +0000 (20:34 +0300)]
dirac: remove redundant casts

2 years agocaf: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:34:37 +0000 (20:34 +0300)]
caf: remove redundant casts

2 years agoaiff: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:33:53 +0000 (20:33 +0300)]
aiff: remove redundant casts

2 years agoudp: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:33:45 +0000 (20:33 +0300)]
udp: remove redundant casts

2 years agotcp: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:31:07 +0000 (20:31 +0300)]
tcp: remove redundant casts

2 years agoscreen: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:30:25 +0000 (20:30 +0300)]
screen: remove redundant casts

2 years agosatip: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:30:09 +0000 (20:30 +0300)]
satip: remove redundant casts

2 years agortp: remove redundant cast
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:29:56 +0000 (20:29 +0300)]
rtp: remove redundant cast

2 years agoaccess_oss: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:28:47 +0000 (20:28 +0300)]
access_oss: remove redundant casts

2 years agomtp: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:28:28 +0000 (20:28 +0300)]
mtp: remove redundant casts

2 years agomms: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:27:08 +0000 (20:27 +0300)]
mms: remove redundant casts

2 years agolive555: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:26:19 +0000 (20:26 +0300)]
live555: remove redundant casts

2 years agolinsys_hdsdi: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:25:24 +0000 (20:25 +0300)]
linsys_hdsdi: remove redundant casts

2 years agoaccess_jack: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:24:52 +0000 (20:24 +0300)]
access_jack: remove redundant casts

Also fix indentation.

2 years agoftp: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:24:22 +0000 (20:24 +0300)]
ftp: remove redundant casts

2 years agofile: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:23:50 +0000 (20:23 +0300)]
file: remove redundant casts

2 years agodvdread: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:23:26 +0000 (20:23 +0300)]
dvdread: remove redundant casts

2 years agodvb: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:22:40 +0000 (20:22 +0300)]
dvb: remove redundant casts

2 years agodshow: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:22:22 +0000 (20:22 +0300)]
dshow: remove redundant casts

2 years agodecklink: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:22:00 +0000 (20:22 +0300)]
decklink: remove redundant casts

2 years agodcp: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:21:45 +0000 (20:21 +0300)]
dcp: remove redundant casts

2 years agoavcapture: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:20:57 +0000 (20:20 +0300)]
avcapture: remove redundant casts

2 years agosid: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:20:03 +0000 (20:20 +0300)]
sid: remove redundant casts

2 years agoreal: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:19:37 +0000 (20:19 +0300)]
real: remove redundant casts

2 years agoogg: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:19:14 +0000 (20:19 +0300)]
ogg: remove redundant casts

2 years agomp4: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:18:16 +0000 (20:18 +0300)]
mp4: remove redundant casts

2 years agomod: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:17:26 +0000 (20:17 +0300)]
mod: remove redundant casts

2 years agoflac: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:16:57 +0000 (20:16 +0300)]
flac: remove redundant casts

2 years agoavi: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:15:46 +0000 (20:15 +0300)]
avi: remove redundant casts

2 years agoavformat: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:15:17 +0000 (20:15 +0300)]
avformat: remove redundant casts

2 years agoasf: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:14:17 +0000 (20:14 +0300)]
asf: remove redundant casts

2 years agoadaptive: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:13:12 +0000 (20:13 +0300)]
adaptive: remove redundant casts

2 years agovnc: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:12:03 +0000 (20:12 +0300)]
vnc: remove redundant casts

2 years agordp: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:11:33 +0000 (20:11 +0300)]
rdp: remove redundant casts

2 years agodvdnav: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:11:01 +0000 (20:11 +0300)]
dvdnav: remove redundant casts

2 years agobluray: remove redundant casts
Rémi Denis-Courmont [Wed, 19 Apr 2017 17:10:02 +0000 (20:10 +0300)]
bluray: remove redundant casts

2 years agoRevert "Contribs: update pupnp to 1.6.21"
Hugo Beauzée-Luyssen [Wed, 19 Apr 2017 16:40:35 +0000 (18:40 +0200)]
Revert "Contribs: update pupnp to 1.6.21"

This reverts commit 87d6c82901f646c93328cb10ce03c4d36ebe369d.

2 years agodemux: ps: delay creation from system header
Francois Cartegnie [Wed, 19 Apr 2017 14:09:42 +0000 (16:09 +0200)]
demux: ps: delay creation from system header

2 years agovideotoolbox: abort in case of kVTVideoDecoderMalfunctionErr
Thomas Guillem [Wed, 19 Apr 2017 12:40:54 +0000 (14:40 +0200)]
videotoolbox: abort in case of kVTVideoDecoderMalfunctionErr

And fallback to the next decoder.

2 years agom3u: Fix inverted logic
Hugo Beauzée-Luyssen [Wed, 19 Apr 2017 09:16:50 +0000 (11:16 +0200)]
m3u: Fix inverted logic

2 years agovlc_stream: Fix stream_IsMimeType
Hugo Beauzée-Luyssen [Wed, 19 Apr 2017 08:17:42 +0000 (10:17 +0200)]
vlc_stream: Fix stream_IsMimeType

2 years agoContribs: download lua from VideoLAN servers
Jean-Baptiste Kempf [Wed, 19 Apr 2017 09:15:21 +0000 (11:15 +0200)]
Contribs: download lua from VideoLAN servers

2 years agodemux: adaptive: default logic to nearoptimal
Francois Cartegnie [Wed, 19 Apr 2017 08:56:32 +0000 (10:56 +0200)]
demux: adaptive: default logic to nearoptimal

2 years agodemux: adaptive: add BOLA/nearoptimal logic
Francois Cartegnie [Thu, 13 Apr 2017 20:01:00 +0000 (22:01 +0200)]
demux: adaptive: add BOLA/nearoptimal logic

2 years agodemux: adaptive: forward min buffering level through event
Francois Cartegnie [Tue, 18 Apr 2017 16:28:12 +0000 (18:28 +0200)]
demux: adaptive: forward min buffering level through event

2 years agodemux: adaptive: fix overflow computing bps remains
Francois Cartegnie [Tue, 18 Apr 2017 15:15:20 +0000 (17:15 +0200)]
demux: adaptive: fix overflow computing bps remains

2 years agodemux: adaptive: add PBA reference
Francois Cartegnie [Wed, 19 Apr 2017 08:42:04 +0000 (10:42 +0200)]
demux: adaptive: add PBA reference

2 years agodemux: adaptive: fix debug
Francois Cartegnie [Tue, 18 Apr 2017 15:13:42 +0000 (17:13 +0200)]
demux: adaptive: fix debug

2 years agolua: fix incorrect assertion in playlist file read
Rémi Denis-Courmont [Tue, 18 Apr 2017 20:42:50 +0000 (23:42 +0300)]
lua: fix incorrect assertion in playlist file read

2 years agolua: convert playlist parser to stream filter
Rémi Denis-Courmont [Tue, 18 Apr 2017 19:35:47 +0000 (22:35 +0300)]
lua: convert playlist parser to stream filter

ReadDir() is more logical and simpler than Demux() here.

2 years agolua: remove no longer used arguments and return value
Rémi Denis-Courmont [Tue, 18 Apr 2017 20:25:52 +0000 (23:25 +0300)]
lua: remove no longer used arguments and return value

2 years agolua: factor common playlist add/enqueue code
Rémi Denis-Courmont [Tue, 18 Apr 2017 20:21:48 +0000 (23:21 +0300)]
lua: factor common playlist add/enqueue code

2 years agolua: revector input item generation
Rémi Denis-Courmont [Tue, 18 Apr 2017 20:13:33 +0000 (23:13 +0300)]
lua: revector input item generation

This splits vlclua_playlist_add_internal() in two functions. The new
function parses a single input item from a Lua script.

This also adds handling for a few error cases.

2 years agoplaylist: remove redundant hold/release
Rémi Denis-Courmont [Tue, 18 Apr 2017 18:38:02 +0000 (21:38 +0300)]
playlist: remove redundant hold/release

The playlist demuxer cannot outlive its input thread, and the input
thread cannot outlive its input item. Otherwise, there would be an
intractable race between input_GetItem() and input_item_Hold() anyway.

This removes the unnecessary pairs of input item hold and release,
and fixes a reference leak on error in the iTML parser.

2 years agoplaylist: remove dead code
Rémi Denis-Courmont [Mon, 17 Apr 2017 20:15:06 +0000 (23:15 +0300)]
playlist: remove dead code

2 years agom3u: retrieve Content-Type only once
Rémi Denis-Courmont [Mon, 17 Apr 2017 20:13:12 +0000 (23:13 +0300)]
m3u: retrieve Content-Type only once

2 years agoasx: retrieve Content-Type only once
Rémi Denis-Courmont [Mon, 17 Apr 2017 20:12:55 +0000 (23:12 +0300)]
asx: retrieve Content-Type only once