vlc.git
4 years agochromecast: start the communication when the control class is created
Steve Lhomme [Thu, 28 Apr 2016 12:18:36 +0000 (14:18 +0200)]
chromecast: start the communication when the control class is created

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agochromecast: the device ip/port is constant during the chromecast_ctrl lifetime
Steve Lhomme [Thu, 28 Apr 2016 12:18:35 +0000 (14:18 +0200)]
chromecast: the device ip/port is constant during the chromecast_ctrl lifetime

same for the HTTP port where the Chromecast should look for data

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agochromecast: chromecast_ctrl is no longer an interface plugin
Steve Lhomme [Thu, 28 Apr 2016 12:18:34 +0000 (14:18 +0200)]
chromecast: chromecast_ctrl is no longer an interface plugin

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoRevert "contrib: ffmpeg/libav: Disable gnutls"
Hugo Beauzée-Luyssen [Tue, 3 May 2016 09:46:32 +0000 (11:46 +0200)]
Revert "contrib: ffmpeg/libav: Disable gnutls"

This reverts commit ad82fe3f802a11b86aaff7bdaecb80e48ed601e0.

4 years agocontrib: xml: Don't use getcwd on winrt
Hugo Beauzée-Luyssen [Tue, 3 May 2016 09:43:24 +0000 (11:43 +0200)]
contrib: xml: Don't use getcwd on winrt

4 years agowasapi: implement pass-through
Thomas Guillem [Mon, 2 May 2016 13:48:49 +0000 (15:48 +0200)]
wasapi: implement pass-through

Inspired by the directsound module

4 years agoskins: fix WIN32 build
Thomas Guillem [Tue, 3 May 2016 07:32:08 +0000 (09:32 +0200)]
skins: fix WIN32 build

Maybe we should add a vlc_get_pathmax.

4 years agodirectdraw: Fix build
Hugo Beauzée-Luyssen [Sun, 1 May 2016 13:10:52 +0000 (15:10 +0200)]
directdraw: Fix build

4 years agoFix Hurd build
Samuel Thibault [Wed, 27 Apr 2016 11:47:13 +0000 (13:47 +0200)]
Fix Hurd build

theme_loader.cpp contains an unconditional use of PATH_MAX,
which is not defined on GNU/Hurd to avoid imposing build-time
limits. This change replaces its use with dynamic allocation of the
required size.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agosrc: mark overlay as obsolete
Rémi Denis-Courmont [Sat, 30 Apr 2016 16:13:34 +0000 (19:13 +0300)]
src: mark overlay as obsolete

4 years agoQt: update overlay simple pref
Rémi Denis-Courmont [Sat, 30 Apr 2016 16:13:25 +0000 (19:13 +0300)]
Qt: update overlay simple pref

4 years agow32/directdraw: add dedicated overlay option
Rémi Denis-Courmont [Sat, 30 Apr 2016 16:08:22 +0000 (19:08 +0300)]
w32/directdraw: add dedicated overlay option

4 years agosdl: add dedicated overlay option and improve description
Rémi Denis-Courmont [Sat, 30 Apr 2016 16:06:20 +0000 (19:06 +0300)]
sdl: add dedicated overlay option and improve description

4 years agoXCB/XVideo: ignore the overlay setting
Rémi Denis-Courmont [Sat, 30 Apr 2016 15:50:55 +0000 (18:50 +0300)]
XCB/XVideo: ignore the overlay setting

XVideo version 2 does not provide visiblity or control over the use
of hardware video overlays. That is an implementation detail of the
X11 driver. Thus the overlay setting did not really work as advertized.
The XVideo adapter setting has to be used instead.

In fact most drivers still in use today do not use overlay, but
the 3D engine (either via vendor-specific support or via GLAMOR). And
since the XVideo plugin got lower priority than VDPAU and OpenGL, the
setting has been redundant: it only has effects if neither VDPAU nor
OpenGL are supported (!), and even --no-overlay has the same results
as --vout=x11.

4 years agotext: fix filename_sanitize() comments
Rémi Denis-Courmont [Sat, 30 Apr 2016 15:50:43 +0000 (18:50 +0300)]
text: fix filename_sanitize() comments

4 years agocodec: videotoolbox: don't try to strip annexB on raw sps (fix #15416)
Francois Cartegnie [Fri, 29 Apr 2016 09:21:43 +0000 (11:21 +0200)]
codec: videotoolbox: don't try to strip annexB on raw sps (fix #15416)

Happens on stream restart

4 years agoaccess: dtv: fix realloc usage
Steve Lhomme [Thu, 28 Apr 2016 14:22:40 +0000 (16:22 +0200)]
access: dtv: fix realloc usage

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agocdda: take cd-audio option
Rémi Denis-Courmont [Wed, 27 Apr 2016 20:26:21 +0000 (23:26 +0300)]
cdda: take cd-audio option

4 years agortsp: remove tautology
Rémi Denis-Courmont [Wed, 27 Apr 2016 19:06:51 +0000 (22:06 +0300)]
rtsp: remove tautology

4 years agoaccess: access_t.psz_access is always set
Rémi Denis-Courmont [Wed, 27 Apr 2016 19:06:13 +0000 (22:06 +0300)]
access: access_t.psz_access is always set

It cannot be NULL or empty (the default is typically "file").

4 years agomp4: remove tautology
Rémi Denis-Courmont [Tue, 26 Apr 2016 20:13:51 +0000 (23:13 +0300)]
mp4: remove tautology

4 years agomux/mp4: do not shift negative values left
Rémi Denis-Courmont [Tue, 26 Apr 2016 20:13:00 +0000 (23:13 +0300)]
mux/mp4: do not shift negative values left

4 years agonetwork: fix potentially redundant test
Rémi Denis-Courmont [Tue, 26 Apr 2016 20:06:58 +0000 (23:06 +0300)]
network: fix potentially redundant test

4 years agodelay: fix redundant test
Rémi Denis-Courmont [Tue, 26 Apr 2016 20:03:58 +0000 (23:03 +0300)]
delay: fix redundant test

4 years agoavi: remove dead code
Rémi Denis-Courmont [Tue, 26 Apr 2016 20:02:43 +0000 (23:02 +0300)]
avi: remove dead code

4 years agoyuv: remove unused data
Rémi Denis-Courmont [Tue, 26 Apr 2016 20:00:54 +0000 (23:00 +0300)]
yuv: remove unused data

4 years agoitem: fix and check table ordering
Rémi Denis-Courmont [Tue, 26 Apr 2016 19:33:10 +0000 (22:33 +0300)]
item: fix and check table ordering

4 years agothe Hurd also uses the .so extension for libraries
Samuel Thibault [Tue, 26 Apr 2016 18:18:37 +0000 (20:18 +0200)]
the Hurd also uses the .so extension for libraries

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoaccess: dvb: scan: fix unwanted loop
Francois Cartegnie [Tue, 26 Apr 2016 18:06:55 +0000 (20:06 +0200)]
access: dvb: scan: fix unwanted loop

4 years agoitem: fix broken alpha order/regression
Francois Cartegnie [Tue, 26 Apr 2016 18:22:00 +0000 (20:22 +0200)]
item: fix broken alpha order/regression

4 ppl in a row... Not that there's no warning

4 years agomux: ts: fix incorrect handling of sd service
Francois Cartegnie [Tue, 26 Apr 2016 18:08:20 +0000 (20:08 +0200)]
mux: ts: fix incorrect handling of sd service

4 years agoinput_manager: Don't use THEMIM macro from input_manager
Hugo Beauzée-Luyssen [Tue, 26 Apr 2016 11:51:22 +0000 (13:51 +0200)]
input_manager: Don't use THEMIM macro from input_manager

Store it internally instead. There's a 1:1 relation between the 2
instances.
Fix #16866

4 years agoqt: Delete the settings after the MainInputManager
Hugo Beauzée-Luyssen [Tue, 26 Apr 2016 11:47:38 +0000 (13:47 +0200)]
qt: Delete the settings after the MainInputManager

The input_manager may want to update the RecentMRLs upon destruction,
and needs a valid settings instance to do so

4 years agotools/ant: update to 1.9.7 and download it from our server
Felix Paul Kühne [Tue, 26 Apr 2016 09:07:56 +0000 (11:07 +0200)]
tools/ant: update to 1.9.7 and download it from our server

4 years agoMakefile: syntax error
Rémi Denis-Courmont [Mon, 25 Apr 2016 21:50:36 +0000 (00:50 +0300)]
Makefile: syntax error

4 years agodialog: fix comment typo
Thomas Guillem [Mon, 25 Apr 2016 14:36:11 +0000 (16:36 +0200)]
dialog: fix comment typo

diaog -> dialog

4 years agomux: ts: fix service strings encoding
Francois Cartegnie [Mon, 25 Apr 2016 13:53:19 +0000 (15:53 +0200)]
mux: ts: fix service strings encoding

4 years agomux: ts: add sdt even if names are empty
Francois Cartegnie [Mon, 25 Apr 2016 12:40:09 +0000 (14:40 +0200)]
mux: ts: add sdt even if names are empty

as it contains service type

4 years agomux: ts: check section conversions returns
Francois Cartegnie [Mon, 25 Apr 2016 12:05:34 +0000 (14:05 +0200)]
mux: ts: check section conversions returns

4 years agomux: ts: don't map service type arbitrarily
Francois Cartegnie [Mon, 25 Apr 2016 11:23:36 +0000 (13:23 +0200)]
mux: ts: don't map service type arbitrarily

4 years agomux: ts: simplify bih params
Francois Cartegnie [Mon, 25 Apr 2016 09:24:41 +0000 (11:24 +0200)]
mux: ts: simplify bih params

4 years agomux: ts: useprivate onid limits for nid
Francois Cartegnie [Sun, 24 Apr 2016 11:23:32 +0000 (13:23 +0200)]
mux: ts: useprivate onid limits for nid

as it is also used for original network id value,
we need to max its value to 0xFFFA

4 years agodialog: fix comment typo
Thomas Guillem [Mon, 25 Apr 2016 12:37:33 +0000 (14:37 +0200)]
dialog: fix comment typo

callack -> callback

4 years agodemux: ts: improve PCRCheckDTS()
Petri Hintukainen [Sat, 9 Apr 2016 11:55:42 +0000 (14:55 +0300)]
demux: ts: improve PCRCheckDTS()

Limit test to MPEG, H.264 and VC-1 video.
Check for video sequence end code.

4 years agolibvlc: remove (almost unused) libvlc_structures.h
Thomas Guillem [Mon, 25 Apr 2016 08:30:27 +0000 (10:30 +0200)]
libvlc: remove (almost unused) libvlc_structures.h

Move the only 2 remaining typedef into vlc/libvlc.h

4 years agolibvlc: clean up deprecated functions
Thomas Guillem [Mon, 25 Apr 2016 08:29:36 +0000 (10:29 +0200)]
libvlc: clean up deprecated functions

This commit move every deprecated functions to vlc/deprecated.h.

Moved functions still belong to their original doxygen group. Except legacy
logs functions that now belongs to their own deprecated group (libvlc_core
libvlc_log_deprecated).

4 years agoMacOS X: fix distcheck
Jean-Baptiste Kempf [Mon, 25 Apr 2016 08:38:32 +0000 (10:38 +0200)]
MacOS X: fix distcheck

4 years agomicrodns: handle renderer items
Thomas Guillem [Tue, 19 Apr 2016 13:02:35 +0000 (15:02 +0200)]
microdns: handle renderer items

4 years agoadd a new type of module: vlc_renderer_discovery
Thomas Guillem [Tue, 19 Apr 2016 15:39:11 +0000 (17:39 +0200)]
add a new type of module: vlc_renderer_discovery

This new type of module will be used to discover renderers (chromecast, UPnP
Renderer, miracast, airport, DIAL, ConeCast).

These modules will send new vlc_renderer_item via an event manager callback.
This new kind of item contain the necessary information to setup a new sout.

Also-by: Steve Lhomme <robux4@videolabs.io>
4 years agoitem: missing types
Jean-Baptiste Kempf [Sun, 24 Apr 2016 21:17:19 +0000 (23:17 +0200)]
item: missing types

4 years agoRevert "configure: detect hosted Lua 5.3"
Rémi Denis-Courmont [Sun, 24 Apr 2016 14:27:03 +0000 (17:27 +0300)]
Revert "configure: detect hosted Lua 5.3"

This reverts commit e018379644de6c8208163800dfeb9ac44036d4ee.
VLC is not compatible with Lua 5.3 at this point.

4 years agomacosx: Fix warning about incorrect usage of negator
David Fuhrmann [Sat, 23 Apr 2016 08:50:32 +0000 (10:50 +0200)]
macosx: Fix warning about incorrect usage of negator

4 years agomacosx: fix order of hotkey modifiers
David Fuhrmann [Sat, 23 Apr 2016 08:44:30 +0000 (10:44 +0200)]
macosx: fix order of hotkey modifiers

Current convention in blacklist and default key entries is
first Command, then Ctrl, Shift, Alt.
This fixes detection of some blacklisted key combinations.

4 years agomacosx: Add Find menu item and key shortcut
David Fuhrmann [Sat, 23 Apr 2016 08:23:12 +0000 (10:23 +0200)]
macosx: Add Find menu item and key shortcut

According to HIG, Command+F shall be used, but as it is already
taken by fullscreen, lets use Command+Shift+F.

refs #13865

4 years agoaccess: dvb: unbind frontend code from access_t
Francois Cartegnie [Fri, 22 Apr 2016 16:02:05 +0000 (18:02 +0200)]
access: dvb: unbind frontend code from access_t

4 years agoaccess: dvb: remove now unused member
Francois Cartegnie [Fri, 22 Apr 2016 16:04:49 +0000 (18:04 +0200)]
access: dvb: remove now unused member

4 years agoaccess: dvb: remove no longer used frontend timeout
Francois Cartegnie [Fri, 22 Apr 2016 16:02:47 +0000 (18:02 +0200)]
access: dvb: remove no longer used frontend timeout

4 years agoaccess: dvb: scan: let scan set filters
Francois Cartegnie [Fri, 22 Apr 2016 13:26:26 +0000 (15:26 +0200)]
access: dvb: scan: let scan set filters

We'll need to add some pids

4 years agoinput: item: Add missing type entry
Hugo Beauzée-Luyssen [Fri, 22 Apr 2016 13:21:59 +0000 (15:21 +0200)]
input: item: Add missing type entry

4 years agomux: ts: fix broken SDT table id with fixed tsid (fix #16835)
Francois Cartegnie [Fri, 22 Apr 2016 09:28:11 +0000 (11:28 +0200)]
mux: ts: fix broken SDT table id with fixed tsid (fix #16835)

regression introduced by cbe6eace23b5127594f8563d6a0e05c785247a34

4 years agomux: ts: do not generate registered network-id
Francois Cartegnie [Fri, 22 Apr 2016 09:03:29 +0000 (11:03 +0200)]
mux: ts: do not generate registered network-id

4 years agoposix: use posix_close() where available
Rémi Denis-Courmont [Thu, 21 Apr 2016 21:17:45 +0000 (00:17 +0300)]
posix: use posix_close() where available

4 years agotest/keystore: use vlc_mkstemp()
Rémi Denis-Courmont [Thu, 21 Apr 2016 21:13:30 +0000 (00:13 +0300)]
test/keystore: use vlc_mkstemp()

4 years agoUse vlc_close()
Rémi Denis-Courmont [Thu, 21 Apr 2016 21:11:43 +0000 (00:11 +0300)]
Use vlc_close()

4 years agosrc: add vlc_close() wrapper
Rémi Denis-Courmont [Thu, 21 Apr 2016 21:11:34 +0000 (00:11 +0300)]
src: add vlc_close() wrapper

4 years agoscreen/wayland: use vlc_memfd()
Rémi Denis-Courmont [Thu, 21 Apr 2016 21:02:14 +0000 (00:02 +0300)]
screen/wayland: use vlc_memfd()

4 years agojpeg: remove invalid cast
Rémi Denis-Courmont [Thu, 21 Apr 2016 20:36:36 +0000 (23:36 +0300)]
jpeg: remove invalid cast

4 years agoaccess: dvb: scan: privatize scan session
Francois Cartegnie [Wed, 20 Apr 2016 15:08:45 +0000 (17:08 +0200)]
access: dvb: scan: privatize scan session

Also removes the retuning which never can happen

4 years agoaccess: dvb: cleanup
Francois Cartegnie [Wed, 20 Apr 2016 13:32:29 +0000 (15:32 +0200)]
access: dvb: cleanup

4 years agoaccess: dvb: scan: remove useless VLC_OBJECT on object type
Francois Cartegnie [Wed, 20 Apr 2016 13:04:48 +0000 (15:04 +0200)]
access: dvb: scan: remove useless VLC_OBJECT on object type

4 years agoaccess: dvb: scan: use fixed packet buffer
Francois Cartegnie [Wed, 20 Apr 2016 13:02:30 +0000 (15:02 +0200)]
access: dvb: scan: use fixed packet buffer

4 years agoaccess: dvb: scan: remove unused var
Francois Cartegnie [Wed, 20 Apr 2016 12:42:50 +0000 (14:42 +0200)]
access: dvb: scan: remove unused var

4 years agoaccess: scan: dvb: remove unused def
Francois Cartegnie [Wed, 20 Apr 2016 12:40:42 +0000 (14:40 +0200)]
access: scan: dvb: remove unused def

probing timeout now set by scan code

4 years agolibvlc: add missing event descriptions
Thomas Guillem [Thu, 21 Apr 2016 15:48:03 +0000 (17:48 +0200)]
libvlc: add missing event descriptions

4 years agodirect3d11: better debug of the format/chroma mapping
Steve Lhomme [Thu, 7 Apr 2016 14:23:31 +0000 (16:23 +0200)]
direct3d11: better debug of the format/chroma mapping

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomediacodec: move callback setup at the end
Thomas Guillem [Wed, 20 Apr 2016 13:39:55 +0000 (15:39 +0200)]
mediacodec: move callback setup at the end

4 years agojpeg: use explicit cast for jpeg_mem_dest
Jean-Baptiste Kempf [Wed, 20 Apr 2016 11:34:13 +0000 (13:34 +0200)]
jpeg: use explicit cast for jpeg_mem_dest

Of course, some people don't know that long != size_t
I hope your jpegs are smaller than 4GB...

4 years agojpeg: fix compilation for win32
Jean-Baptiste Kempf [Wed, 20 Apr 2016 11:29:11 +0000 (13:29 +0200)]
jpeg: fix compilation for win32

4 years agoAutomatically orient JPEG image based on orientation flag, if present
Wayne McDougall [Wed, 20 Apr 2016 10:39:11 +0000 (22:39 +1200)]
Automatically orient JPEG image based on orientation flag, if present

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoQt: volume slider text is now smaller
Benoit du Payrat [Mon, 18 Apr 2016 12:03:59 +0000 (14:03 +0200)]
Qt: volume slider text is now smaller

Fix #13998

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoQt: exiting fullscreen now restores the window to the correct size
Benoit du Payrat [Wed, 20 Apr 2016 09:53:43 +0000 (11:53 +0200)]
Qt: exiting fullscreen now restores the window to the correct size

Fix #16763

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agompg123: simplify NULL checks
Tristan Matthews [Tue, 19 Apr 2016 16:36:05 +0000 (12:36 -0400)]
mpg123: simplify NULL checks

4 years agovpx: simplify
Tristan Matthews [Tue, 19 Apr 2016 16:20:08 +0000 (12:20 -0400)]
vpx: simplify

4 years agovpx: increase decoder capability (refs #16836)
Tristan Matthews [Tue, 19 Apr 2016 16:01:35 +0000 (12:01 -0400)]
vpx: increase decoder capability (refs #16836)

4 years agovpx: fix segfault on decoding (refs #16836)
Tristan Matthews [Tue, 19 Apr 2016 15:54:52 +0000 (11:54 -0400)]
vpx: fix segfault on decoding (refs #16836)

4 years agoNEWS: RTP Reception support.
Joni Räsänen [Tue, 19 Apr 2016 10:04:27 +0000 (03:04 -0700)]
NEWS: RTP Reception support.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoWin32: portable build means nothing in WinRT mode
Jean-Baptiste Kempf [Tue, 19 Apr 2016 13:34:21 +0000 (15:34 +0200)]
Win32: portable build means nothing in WinRT mode

4 years agoConfig: Move the resamplers to the resampler category
Jean-Baptiste Kempf [Tue, 19 Apr 2016 11:35:03 +0000 (13:35 +0200)]
Config: Move the resamplers to the resampler category

4 years agoConfig: Add a resampler category
Jean-Baptiste Kempf [Tue, 19 Apr 2016 11:33:05 +0000 (13:33 +0200)]
Config: Add a resampler category

4 years agokeystore: hide the option
Jean-Baptiste Kempf [Tue, 19 Apr 2016 11:25:36 +0000 (13:25 +0200)]
keystore: hide the option

4 years agoQt: preferences with same module name have the right options
Benoit du Payrat [Tue, 19 Apr 2016 09:21:03 +0000 (11:21 +0200)]
Qt: preferences with same module name have the right options

Fix #16175

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess: dtv: fix build
Francois Cartegnie [Mon, 18 Apr 2016 21:31:57 +0000 (23:31 +0200)]
access: dtv: fix build

4 years agodemux/ts: access/dtv: pass private CA using capmt struct
Francois Cartegnie [Wed, 30 Mar 2016 15:55:21 +0000 (17:55 +0200)]
demux/ts: access/dtv: pass private CA using capmt struct

Removes access dependency on libdvbpsi and avoids
taking ownership of ts's dvbpsi pmt structs.

Refactors descriptors copy/filtering. Fixes some const/signedness.

4 years agoaccess: dtv: add en50221_capmt
Francois Cartegnie [Wed, 30 Mar 2016 15:55:20 +0000 (17:55 +0200)]
access: dtv: add en50221_capmt

PMT data forwarding structure.
Avoids passing/using/storing dvbpsi callback structures
in the DTV module.

4 years agoaccess: dvb: scan: remove useless includes
Francois Cartegnie [Mon, 18 Apr 2016 16:52:02 +0000 (18:52 +0200)]
access: dvb: scan: remove useless includes

4 years agoaccess: dvb: scan: refactor scanning
Francois Cartegnie [Mon, 18 Apr 2016 13:42:51 +0000 (15:42 +0200)]
access: dvb: scan: refactor scanning

4 years agoaccess: dvb: scan: add missing service types
Francois Cartegnie [Mon, 18 Apr 2016 16:04:42 +0000 (18:04 +0200)]
access: dvb: scan: add missing service types

4 years agoaccess: dvb: scan: map service type to original values
Francois Cartegnie [Mon, 18 Apr 2016 15:51:46 +0000 (17:51 +0200)]
access: dvb: scan: map service type to original values

4 years agoaccess: dvb: scan: supress superfluous debug
Francois Cartegnie [Mon, 18 Apr 2016 11:16:17 +0000 (13:16 +0200)]
access: dvb: scan: supress superfluous debug

4 years agoaccess: dvb: scan: fix inheriting var from config
Francois Cartegnie [Mon, 18 Apr 2016 11:10:57 +0000 (13:10 +0200)]
access: dvb: scan: fix inheriting var from config