vlc.git
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

4 years agocontrib/matroska: fix sha1 line style
Felix Paul Kühne [Mon, 26 Oct 2015 10:02:12 +0000 (11:02 +0100)]
contrib/matroska: fix sha1 line style

4 years agoContribs: update Freetype to 2.6.1
Jean-Baptiste Kempf [Sun, 25 Oct 2015 23:14:16 +0000 (00:14 +0100)]
Contribs: update Freetype to 2.6.1

4 years agoContribs: update Fribidi to 0.9.17
Jean-Baptiste Kempf [Sun, 25 Oct 2015 23:12:46 +0000 (00:12 +0100)]
Contribs: update Fribidi to 0.9.17

4 years agoContribs: update harfbuzz to 1.0.6
Jean-Baptiste Kempf [Sun, 25 Oct 2015 22:52:28 +0000 (23:52 +0100)]
Contribs: update harfbuzz to 1.0.6

4 years agoUpdate NEWS for libvlc_media_player_set_*
Jean-Baptiste Kempf [Sun, 25 Oct 2015 22:35:44 +0000 (23:35 +0100)]
Update NEWS for libvlc_media_player_set_*

Android and Evas

4 years agoBluray: Fix comment
Petri Hintukainen [Sun, 25 Oct 2015 13:59:13 +0000 (15:59 +0200)]
Bluray: Fix comment

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agobluray: check for java when playing disc with BD-J menus
Petri Hintukainen [Sun, 25 Oct 2015 13:59:13 +0000 (15:59 +0200)]
bluray: check for java when playing disc with BD-J menus

If Java is required but not found, show error message and play without menus.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoFreetype: remove unneeded includes
Jean-Baptiste Kempf [Sun, 25 Oct 2015 21:44:47 +0000 (22:44 +0100)]
Freetype: remove unneeded includes

4 years agoAdd .ttml and .dfxp extensions for subtitles
Jean-Baptiste Kempf [Sun, 25 Oct 2015 21:11:51 +0000 (22:11 +0100)]
Add .ttml and .dfxp extensions for subtitles

Close #15726

4 years agoplugin: add separate category for video splitters (fixes #9967)
Rémi Denis-Courmont [Sun, 25 Oct 2015 20:20:57 +0000 (22:20 +0200)]
plugin: add separate category for video splitters (fixes #9967)

4 years agoinput: fix infinite loop with threaded demux (fixes #15617)
Rémi Denis-Courmont [Sun, 25 Oct 2015 20:03:12 +0000 (22:03 +0200)]
input: fix infinite loop with threaded demux (fixes #15617)

4 years agoFreetype: Remove unneeded include
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:41:34 +0000 (19:41 +0100)]
Freetype: Remove unneeded include

4 years agotext_renderers: clean the Makefile
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:31:10 +0000 (19:31 +0100)]
text_renderers: clean the Makefile

4 years agoFreetype: split OS X code to its own file
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:26:04 +0000 (19:26 +0100)]
Freetype: split OS X code to its own file

4 years agoFreetype: fix fontconfig on OS X && Win32
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:20:55 +0000 (19:20 +0100)]
Freetype: fix fontconfig on OS X && Win32

4 years agoFreetype: split Android code to its own file
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:18:01 +0000 (19:18 +0100)]
Freetype: split Android code to its own file

4 years agoFreetype: split fontconfig management to its own file
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:12:48 +0000 (19:12 +0100)]
Freetype: split fontconfig management to its own file

4 years agoFreetype: split Win32 code in its own file
Jean-Baptiste Kempf [Sun, 25 Oct 2015 18:04:19 +0000 (19:04 +0100)]
Freetype: split Win32 code in its own file

4 years agoFreetype: fix Android miscompilation
Jean-Baptiste Kempf [Sun, 25 Oct 2015 17:33:54 +0000 (18:33 +0100)]
Freetype: fix Android miscompilation

4 years agoqt5: unsubscribe disable motion and XI2 mouse events
Rémi Denis-Courmont [Fri, 23 Oct 2015 19:46:26 +0000 (22:46 +0300)]
qt5: unsubscribe disable motion and XI2 mouse events

╔═══════════════════════════╗
║ PARENTAL ADVISORY:   R-24 ║
║ EXPLICIT CONTENT          ║
║ INAPPROPRIATE KLUDGY HACK ║
╚═══════════════════════════╝

This extends the existing kludge to catch mouse clicks in the video
output instead of the Qt framework. From version 5.5, Qt uses XI2 to
catch mouse events.

May or may not interfere with touch devices.
May or may not interfere with cursor changes.
May or may not be forward compatible.