vlc.git
4 years agoconfigure: update gettext to 0.19.6
Rémi Denis-Courmont [Mon, 2 Nov 2015 19:18:26 +0000 (21:18 +0200)]
configure: update gettext to 0.19.6

4 years agodemux: adaptative: fix splitted bandwidth stats
Francois Cartegnie [Mon, 2 Nov 2015 17:11:50 +0000 (18:11 +0100)]
demux: adaptative: fix splitted bandwidth stats

And avoids creating stats from non http chunks (smooth)

4 years agoNEWS: fix information about libvlc symbols
Jean-Baptiste Kempf [Mon, 2 Nov 2015 16:34:14 +0000 (17:34 +0100)]
NEWS: fix information about libvlc symbols

4 years agodemux: adaptative: fix access after free/delete ordering
Francois Cartegnie [Mon, 2 Nov 2015 15:39:14 +0000 (16:39 +0100)]
demux: adaptative: fix access after free/delete ordering

delete connection manager last,
streams will want to close unfinished downloads

4 years agodemux: mp4: handle broken ismv trun data offset
Francois Cartegnie [Mon, 2 Nov 2015 01:57:29 +0000 (02:57 +0100)]
demux: mp4: handle broken ismv trun data offset

Some smooth streaming implicit trun data offset are
pointing to (seems) tfhd 1st byte, instead of moof,
resulting of first samples pointing inside moof.

4 years agodemux: adaptative: fix tfhd track ID on segment read
Francois Cartegnie [Mon, 2 Nov 2015 11:23:36 +0000 (12:23 +0100)]
demux: adaptative: fix tfhd track ID on segment read

Better than late in-demuxer fix.
reverts 8b269f94fa95a1d374140fef3a8f3fd33422bddd

4 years agodemux: adaptative: handle durationless manifests
Francois Cartegnie [Sun, 1 Nov 2015 21:58:19 +0000 (22:58 +0100)]
demux: adaptative: handle durationless manifests

4 years agodemux: libmp4: add vc1 atom parsing restrictions
Francois Cartegnie [Sat, 31 Oct 2015 11:53:30 +0000 (12:53 +0100)]
demux: libmp4: add vc1 atom parsing restrictions

4 years agofile: restore file descriptor support (fixes #14897)
Rémi Denis-Courmont [Sun, 1 Nov 2015 17:15:15 +0000 (19:15 +0200)]
file: restore file descriptor support (fixes #14897)

4 years agoarchive: fix NULL program counter
Rémi Denis-Courmont [Sun, 1 Nov 2015 17:14:43 +0000 (19:14 +0200)]
archive: fix NULL program counter

4 years agoRevert "ALSA: request large enough buffers first (refs #10422)"
Rémi Denis-Courmont [Sun, 1 Nov 2015 16:11:59 +0000 (18:11 +0200)]
Revert "ALSA: request large enough buffers first (refs #10422)"

This reverts commit 4aeccbd7667c65bd278111a26c2aab088bc60a20.

4 years agodecoder: reduce owner lock scope for aout (fixes #10422)
Rémi Denis-Courmont [Wed, 21 Oct 2015 18:55:03 +0000 (21:55 +0300)]
decoder: reduce owner lock scope for aout (fixes #10422)

The decoder thread no longer needs the lock to use the aout, only to
modify the aout pointer.

4 years agodecoder: handle pause within the decoder thread
Rémi Denis-Courmont [Tue, 29 Sep 2015 19:04:10 +0000 (22:04 +0300)]
decoder: handle pause within the decoder thread

This removes the last direct (ab)use of the audio output object from
the input thread, and the penultimate one of the video output object.

This solves some race conditions whereby the output pause state was
enabled by the input thread, while the decoder thread had decoded data
blocks to queue for playing. Decoded blocks should never get queued
during pause.

4 years agodecoder: reorder thread loop
Rémi Denis-Courmont [Tue, 29 Sep 2015 19:45:59 +0000 (22:45 +0300)]
decoder: reorder thread loop

There are no real functional changes here. At the first iteration,
wait_acknowledge is no longer signaled upfront. Because the thread made
no observable changes by that point, the signal had no effects anyway.

4 years agoqt4: openurl: Cosmetic
Hugo Beauzée-Luyssen [Sun, 1 Nov 2015 12:14:25 +0000 (13:14 +0100)]
qt4: openurl: Cosmetic

4 years agoqt4: Fix some missing "override" related warning
Hugo Beauzée-Luyssen [Sun, 1 Nov 2015 12:11:10 +0000 (13:11 +0100)]
qt4: Fix some missing "override" related warning

Also mark overriden function as virtual, for clarity.

4 years agovdpau: Remove unused function
Hugo Beauzée-Luyssen [Sun, 1 Nov 2015 12:05:58 +0000 (13:05 +0100)]
vdpau: Remove unused function

4 years agoqt4: preferences_widget: Cosmetics
Hugo Beauzée-Luyssen [Sun, 1 Nov 2015 12:01:34 +0000 (13:01 +0100)]
qt4: preferences_widget: Cosmetics

4 years agoAdds .amb to the extensions list
Jean-Baptiste Kempf [Sat, 31 Oct 2015 17:51:58 +0000 (18:51 +0100)]
Adds .amb to the extensions list

4 years agoDemux wave: Add support for .AMB file format
Emeric Grange [Wed, 28 Oct 2015 14:39:50 +0000 (15:39 +0100)]
Demux wave: Add support for .AMB file format

AMB are just WAVE files with custom GUIDs to indicate 'Ambisonic B format' datas

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocontrib: keep the gettext shared files
Sean McGovern [Thu, 29 Oct 2015 21:56:48 +0000 (17:56 -0400)]
contrib: keep the gettext shared files

autopoint needs the files in share/gettext.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agobluray: use bd_menu_call() for Top Menu
Petri Hintukainen [Fri, 30 Oct 2015 20:15:04 +0000 (22:15 +0200)]
bluray: use bd_menu_call() for Top Menu

- bd_menu_call() uses different UO mask (this is fixed also in libbluray git).
- bd_menu_call() stores last playback position.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoSmooth: fix compilation for Android
Jean-Baptiste Kempf [Sat, 31 Oct 2015 16:57:09 +0000 (17:57 +0100)]
Smooth: fix compilation for Android

4 years agoFix use of %p format string specifier
Rémi Denis-Courmont [Sat, 31 Oct 2015 16:33:25 +0000 (18:33 +0200)]
Fix use of %p format string specifier

%p is only for pointers to void, not just any type of pointers. Due to
variable arguments, there is no implicit conversion here.

4 years agoavformat: fix incorrect log
Steve Lhomme [Fri, 30 Oct 2015 17:18:01 +0000 (18:18 +0100)]
avformat: fix incorrect log

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodemux: adaptative: add smooth streaming support
Francois Cartegnie [Mon, 19 Oct 2015 12:09:49 +0000 (14:09 +0200)]
demux: adaptative: add smooth streaming support

4 years agodemux: adaptative: fix/update chunk reading and buffering
Francois Cartegnie [Thu, 29 Oct 2015 18:39:55 +0000 (19:39 +0100)]
demux: adaptative: fix/update chunk reading and buffering

(dash monosegment was broken)
need to read large chunks for parsing atoms

4 years agodemux: adaptative: allow timeline merging from local node
Francois Cartegnie [Fri, 30 Oct 2015 18:25:02 +0000 (19:25 +0100)]
demux: adaptative: allow timeline merging from local node

4 years agodemux: dash: only look for index on segment start
Francois Cartegnie [Fri, 30 Oct 2015 16:45:37 +0000 (17:45 +0100)]
demux: dash: only look for index on segment start

4 years agodemux: adaptative: refactor atoms reader
Francois Cartegnie [Fri, 30 Oct 2015 11:39:26 +0000 (12:39 +0100)]
demux: adaptative: refactor atoms reader

4 years agodemux: adaptative: fix timeline pruning count
Francois Cartegnie [Wed, 28 Oct 2015 18:49:35 +0000 (19:49 +0100)]
demux: adaptative: fix timeline pruning count

4 years agodemux: adaptative: add timeline pruning by number
Francois Cartegnie [Wed, 28 Oct 2015 18:49:11 +0000 (19:49 +0100)]
demux: adaptative: add timeline pruning by number

4 years agoAndroid vout: log when you can't get a subtitle surface
Jean-Baptiste Kempf [Fri, 30 Oct 2015 17:35:07 +0000 (18:35 +0100)]
Android vout: log when you can't get a subtitle surface

If there is no secondary surface, and we're using opaque -> no blend,
and no spu

4 years agoContribs: don't enable soxr by default (yet)
Jean-Baptiste Kempf [Fri, 30 Oct 2015 16:32:27 +0000 (17:32 +0100)]
Contribs: don't enable soxr by default (yet)

4 years agomodules: add SoX Resampler audio_filter
Thomas Guillem [Fri, 30 Oct 2015 15:34:20 +0000 (16:34 +0100)]
modules: add SoX Resampler audio_filter

This resampler supports 5 quality presets: from 0 to 4, 2 is the default and
correspond to "mq". It supports integer and float samples. Performances are way
better when this module is used as an "audio converter" (fixed sample rate).

See http://lastique.github.io/src_test/ for comparison with speexdsp.

It is deactivated for now.

4 years agocontribs: add soxr
Thomas Guillem [Tue, 27 Oct 2015 17:48:20 +0000 (18:48 +0100)]
contribs: add soxr

4 years agoFix fribidi include path
Jean-Baptiste Kempf [Fri, 30 Oct 2015 15:19:10 +0000 (16:19 +0100)]
Fix fribidi include path

Close #15781

4 years agovimeo.lua: fix video quality selection
Pierre Ynard [Fri, 30 Oct 2015 04:44:51 +0000 (05:44 +0100)]
vimeo.lua: fix video quality selection

Fixes #15778

4 years agoQt4: create video window in fullscreen mode (fixes #2685)
Rémi Denis-Courmont [Thu, 29 Oct 2015 20:37:22 +0000 (22:37 +0200)]
Qt4: create video window in fullscreen mode (fixes #2685)

4 years agoXCB/window: create window in fullscreen state (refs #2685)
Rémi Denis-Courmont [Thu, 29 Oct 2015 20:29:00 +0000 (22:29 +0200)]
XCB/window: create window in fullscreen state (refs #2685)

This avoids visual glitches when fullscreen mode is already enabled
when the video window is created.

4 years agoXCB/Window: reorder, no functional changes
Rémi Denis-Courmont [Thu, 29 Oct 2015 20:13:33 +0000 (22:13 +0200)]
XCB/Window: reorder, no functional changes

4 years agowindow: pass fullscreen state at initialization
Rémi Denis-Courmont [Thu, 29 Oct 2015 20:09:34 +0000 (22:09 +0200)]
window: pass fullscreen state at initialization

4 years agowindow: handle fullscreen state at initialization
Rémi Denis-Courmont [Thu, 29 Oct 2015 20:08:11 +0000 (22:08 +0200)]
window: handle fullscreen state at initialization

4 years agolua: remove obsolete preferred-resolution safeguards
Pierre Ynard [Thu, 29 Oct 2015 02:46:11 +0000 (03:46 +0100)]
lua: remove obsolete preferred-resolution safeguards

These checked for the availability of vlc.var.inherit and
preferred-resolution at the time they were introduced, for script
compatibility with older VLC versions. By now it should be safe to
assume it's always available.

4 years agoyoutube.lua: don't downgrade from HTTPS to HTTP
Pierre Ynard [Thu, 29 Oct 2015 02:40:39 +0000 (03:40 +0100)]
youtube.lua: don't downgrade from HTTPS to HTTP

This can be a security leak. This works as far as vlc.access is
accurate.

4 years agosoundcloud.lua: match HTTPS use for secondary request with original one
Pierre Ynard [Thu, 29 Oct 2015 02:35:13 +0000 (03:35 +0100)]
soundcloud.lua: match HTTPS use for secondary request with original one

4 years agosoundcloud.lua: support for private tracks
Pierre Ynard [Thu, 29 Oct 2015 02:33:27 +0000 (03:33 +0100)]
soundcloud.lua: support for private tracks

4 years agolua: fix HTTP loadstring in lua 5.2+
Shlomi Fish [Wed, 28 Oct 2015 21:36:38 +0000 (22:36 +0100)]
lua: fix HTTP loadstring in lua 5.2+

Close #14988

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoQt: fix enter event in addons manager
Valter Correia [Tue, 27 Oct 2015 22:45:55 +0000 (22:45 +0000)]
Qt: fix enter event in addons manager

Hitting ENTER in addon manager search field no longer makes tab content disappear

Closes #15162, #14553

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agortp: fix MPEG-TS over RTP (fixes #15749)
Rémi Denis-Courmont [Wed, 28 Oct 2015 20:08:01 +0000 (22:08 +0200)]
rtp: fix MPEG-TS over RTP (fixes #15749)

4 years agodemux: mp4: set bitrate
Francois Cartegnie [Wed, 28 Oct 2015 17:51:57 +0000 (18:51 +0100)]
demux: mp4: set bitrate

4 years agodemux: libmp4: handle btrt atom
Francois Cartegnie [Wed, 28 Oct 2015 17:52:29 +0000 (18:52 +0100)]
demux: libmp4: handle btrt atom

4 years agodemux: mp4: add youtube meta
Francois Cartegnie [Wed, 28 Oct 2015 17:26:23 +0000 (18:26 +0100)]
demux: mp4: add youtube meta

4 years agopreparser: abort ongoing input thread at exit (fixes #14571)
Rémi Denis-Courmont [Wed, 28 Oct 2015 17:45:21 +0000 (19:45 +0200)]
preparser: abort ongoing input thread at exit (fixes #14571)

4 years agoinput: remove input_Preparse()
Rémi Denis-Courmont [Wed, 28 Oct 2015 17:24:09 +0000 (19:24 +0200)]
input: remove input_Preparse()

4 years agopreparser: start and wait for input thread explicitly
Rémi Denis-Courmont [Wed, 28 Oct 2015 17:23:12 +0000 (19:23 +0200)]
preparser: start and wait for input thread explicitly

4 years agoinput: preparse in a thread (refs #14571)
Rémi Denis-Courmont [Wed, 28 Oct 2015 16:43:36 +0000 (18:43 +0200)]
input: preparse in a thread (refs #14571)

This adds a new function to create a preparsing input thread, and
runs preparsing within a dedicated thread.

4 years agoFix po/POTFILES.in
Jean-Baptiste Kempf [Wed, 28 Oct 2015 16:23:55 +0000 (17:23 +0100)]
Fix po/POTFILES.in

4 years agoAdaptive: include <sstream> in Conversions.
Jean-Baptiste Kempf [Wed, 28 Oct 2015 13:41:45 +0000 (14:41 +0100)]
Adaptive: include <sstream> in Conversions.

4 years agomp4 mux: include time.h
Jean-Baptiste Kempf [Wed, 28 Oct 2015 13:37:58 +0000 (14:37 +0100)]
mp4 mux: include time.h

4 years agoAdaptive: fix integer promotion
Jean-Baptiste Kempf [Wed, 28 Oct 2015 13:29:11 +0000 (14:29 +0100)]
Adaptive: fix integer promotion

std::max is only defined on same T type. Older GCC fail to promote it
correctly.

4 years agotools: update xz
Felix Paul Kühne [Wed, 28 Oct 2015 10:09:37 +0000 (11:09 +0100)]
tools: update xz

4 years agoContribs: we want a pure harfbuzz :)
Jean-Baptiste Kempf [Tue, 27 Oct 2015 22:09:31 +0000 (23:09 +0100)]
Contribs: we want a pure harfbuzz :)

4 years agoalsa: fix invalid free
Rémi Denis-Courmont [Tue, 27 Oct 2015 15:31:38 +0000 (17:31 +0200)]
alsa: fix invalid free

4 years agodemux: adaptative: add missing include for win32
Francois Cartegnie [Tue, 27 Oct 2015 18:29:45 +0000 (19:29 +0100)]
demux: adaptative: add missing include for win32

4 years agodemux: adaptative: add chunk backend/source instea of direct reads
Francois Cartegnie [Fri, 16 Oct 2015 22:55:22 +0000 (00:55 +0200)]
demux: adaptative: add chunk backend/source instea of direct reads

because we'll need fake chunks

4 years agodemux: adaptative: fix and replace timeline merging/pruning
Francois Cartegnie [Mon, 26 Oct 2015 19:35:00 +0000 (20:35 +0100)]
demux: adaptative: fix and replace timeline merging/pruning

4 years agodemux: adaptative: enforce timeline timescale
Francois Cartegnie [Mon, 26 Oct 2015 13:51:37 +0000 (14:51 +0100)]
demux: adaptative: enforce timeline timescale

4 years agodemux: adaptative: provide xmlreader reset ability
Francois Cartegnie [Sun, 25 Oct 2015 15:49:28 +0000 (16:49 +0100)]
demux: adaptative: provide xmlreader reset ability

4 years agodemux: adaptative: first timeline number
Francois Cartegnie [Sat, 24 Oct 2015 14:46:48 +0000 (16:46 +0200)]
demux: adaptative: first timeline number

4 years agodemux: adaptative: fix wrong timeline duration
Francois Cartegnie [Sun, 25 Oct 2015 14:03:34 +0000 (15:03 +0100)]
demux: adaptative: fix wrong timeline duration

4 years agomux: mp4: replace broken code using packetizer's
Francois Cartegnie [Fri, 23 Oct 2015 18:36:20 +0000 (20:36 +0200)]
mux: mp4: replace broken code using packetizer's

4 years agodemux: mp4: don't set pts if no ctts
Francois Cartegnie [Sat, 24 Oct 2015 14:48:23 +0000 (16:48 +0200)]
demux: mp4: don't set pts if no ctts

for WMV/VC1

4 years agodemux: mp4: fix trun sample ctts values
Francois Cartegnie [Fri, 23 Oct 2015 21:47:19 +0000 (23:47 +0200)]
demux: mp4: fix trun sample ctts values

4 years agodemux: mp4: add adaptative smooth hotfix
Francois Cartegnie [Fri, 23 Oct 2015 17:09:00 +0000 (19:09 +0200)]
demux: mp4: add adaptative smooth hotfix

4 years agodemux: mp4: add support for wmapro
Francois Cartegnie [Fri, 23 Oct 2015 13:21:01 +0000 (15:21 +0200)]
demux: mp4: add support for wmapro

4 years agodemux: mp4: enable WVC1 complex profile
Francois Cartegnie [Thu, 22 Oct 2015 21:51:42 +0000 (23:51 +0200)]
demux: mp4: enable WVC1 complex profile

and fix write overflows

4 years agomux: mp4: add support for wmapro/wfex
Francois Cartegnie [Fri, 23 Oct 2015 14:23:51 +0000 (16:23 +0200)]
mux: mp4: add support for wmapro/wfex

4 years agomux: mp4: add support for vc-1/dvc1
Francois Cartegnie [Thu, 22 Oct 2015 21:31:38 +0000 (23:31 +0200)]
mux: mp4: add support for vc-1/dvc1

4 years agomux: mp4: split moov creation from mux
Francois Cartegnie [Tue, 20 Oct 2015 13:19:19 +0000 (15:19 +0200)]
mux: mp4: split moov creation from mux

should be reusable

4 years agodemux: mp4: fix track enabled/disabled debug spam
Francois Cartegnie [Thu, 22 Oct 2015 12:14:49 +0000 (14:14 +0200)]
demux: mp4: fix track enabled/disabled debug spam

4 years agodemux: adaptative: add timeline seeking
Francois Cartegnie [Fri, 23 Oct 2015 17:14:26 +0000 (19:14 +0200)]
demux: adaptative: add timeline seeking

Timeline was only supposed for live usage

4 years agodemux: adaptative: add timeline debugging
Francois Cartegnie [Wed, 21 Oct 2015 16:40:43 +0000 (18:40 +0200)]
demux: adaptative: add timeline debugging

4 years agovlc_bits: fix invalid conversion
Francois Cartegnie [Mon, 19 Oct 2015 20:33:39 +0000 (22:33 +0200)]
vlc_bits: fix invalid conversion

4 years agodemux: adaptative: simplify using BytesRange
Francois Cartegnie [Fri, 16 Oct 2015 17:31:23 +0000 (19:31 +0200)]
demux: adaptative: simplify using BytesRange

4 years agodemux: adaptative: move Chunk out of connection and simplify ranges
Francois Cartegnie [Fri, 16 Oct 2015 16:08:15 +0000 (18:08 +0200)]
demux: adaptative: move Chunk out of connection and simplify ranges

4 years agodemux: adaptative: add http bytesrange class
Francois Cartegnie [Fri, 16 Oct 2015 17:15:31 +0000 (19:15 +0200)]
demux: adaptative: add http bytesrange class

4 years agodemux: adadptative: reuse connection by hostname/port/protocol
Francois Cartegnie [Fri, 16 Oct 2015 13:34:04 +0000 (15:34 +0200)]
demux: adadptative: reuse connection by hostname/port/protocol

4 years agodemux: adaptative: move xml types conversion away from dash
Francois Cartegnie [Mon, 19 Oct 2015 16:02:10 +0000 (18:02 +0200)]
demux: adaptative: move xml types conversion away from dash

4 years agodemux: adaptative: move xml stuff out of dash specific code
Francois Cartegnie [Mon, 19 Oct 2015 13:55:41 +0000 (15:55 +0200)]
demux: adaptative: move xml stuff out of dash specific code

4 years agodemux: adaptative: remove unused Chunk members
Francois Cartegnie [Thu, 15 Oct 2015 14:39:44 +0000 (16:39 +0200)]
demux: adaptative: remove unused Chunk members

still carried from early impl

4 years agoAndroid vout: Correctly clear SPU regions when Close() is called
Romain Bentz [Tue, 27 Oct 2015 16:48:34 +0000 (17:48 +0100)]
Android vout: Correctly clear SPU regions when Close() is called

Previously, when Close() was called, SPU region were not properly cleared.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoavcodec: reuse existing pixel format if possible (fixes #14621)
Rémi Denis-Courmont [Sat, 3 Oct 2015 10:38:40 +0000 (13:38 +0300)]
avcodec: reuse existing pixel format if possible (fixes #14621)

4 years agoavcodec: split video output format update
Rémi Denis-Courmont [Mon, 28 Sep 2015 20:51:58 +0000 (23:51 +0300)]
avcodec: split video output format update

4 years agoavcodec: remove bogus conditional
Rémi Denis-Courmont [Mon, 28 Sep 2015 20:34:40 +0000 (23:34 +0300)]
avcodec: remove bogus conditional

Both branches of the conditionals had the same results.

4 years agoAndroid vout: remove trailing space
Jean-Baptiste Kempf [Mon, 26 Oct 2015 18:26:29 +0000 (19:26 +0100)]
Android vout: remove trailing space

4 years agoAndroid vout: Correctly display SPU on region change
Romain Bentz [Mon, 26 Oct 2015 17:58:35 +0000 (18:58 +0100)]
Android vout: Correctly display SPU on region change

Previously, when SPU id was identical but its region changed, it wasn't correctly redrawn.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agostrnstr: needle cannot be NULL
Rémi Denis-Courmont [Mon, 12 Oct 2015 20:31:53 +0000 (23:31 +0300)]
strnstr: needle cannot be NULL

4 years agocontrib/freetype: fix compilation on Darwin
Felix Paul Kühne [Mon, 26 Oct 2015 10:38:11 +0000 (11:38 +0100)]
contrib/freetype: fix compilation on Darwin

4 years agodemux: ts: don't override type before registrations
Francois Cartegnie [Mon, 26 Oct 2015 15:57:09 +0000 (16:57 +0100)]
demux: ts: don't override type before registrations