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

4 years agoaccess: dvb: scan: do not create any multiplex from SDT
Francois Cartegnie [Mon, 18 Apr 2016 09:32:37 +0000 (11:32 +0200)]
access: dvb: scan: do not create any multiplex from SDT

Never will have any tuning information, so it must
only rely on tables parsing order.

4 years agoaccess: dvb: scan: set scanned status
Francois Cartegnie [Mon, 18 Apr 2016 09:09:44 +0000 (11:09 +0200)]
access: dvb: scan: set scanned status

4 years agoaccess: dvb: scan: parent services by multiplex
Francois Cartegnie [Sun, 10 Apr 2016 11:45:01 +0000 (13:45 +0200)]
access: dvb: scan: parent services by multiplex

4 years agoaccess: dvb: scan: add results through scan_AddService
Francois Cartegnie [Fri, 15 Apr 2016 21:33:20 +0000 (23:33 +0200)]
access: dvb: scan: add results through scan_AddService

4 years agomacosx: More translations improvements for VLCStatusBarIcon
Marvin Scholz [Tue, 12 Apr 2016 13:59:08 +0000 (15:59 +0200)]
macosx: More translations improvements for VLCStatusBarIcon

4 years agomacosx: Update VLCStatusBarIcon icon to a resolution-independent PDF
Marvin Scholz [Tue, 12 Apr 2016 12:15:01 +0000 (14:15 +0200)]
macosx: Update VLCStatusBarIcon icon to a resolution-independent PDF

4 years agomacosx: Make string in VLCStatusBarIcon localizable
Marvin Scholz [Tue, 12 Apr 2016 10:37:37 +0000 (12:37 +0200)]
macosx: Make string in VLCStatusBarIcon localizable

4 years agomacosx: Fix warnings for localizable format strings
Marvin Scholz [Tue, 12 Apr 2016 10:36:37 +0000 (12:36 +0200)]
macosx: Fix warnings for localizable format strings

The NS_FORMAT_ARGUMENT macro is added to the localizedString function
to prevent warnings (format string is not a string literal) when
localizing format strings.

4 years agomacosx: Improve the VLCStatusBarIcon icon
Marvin Scholz [Tue, 12 Apr 2016 09:36:24 +0000 (11:36 +0200)]
macosx: Improve the VLCStatusBarIcon icon

4 years agoconfigure.ac: Honor --disable-smbclient, even on win32
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 13:54:52 +0000 (15:54 +0200)]
configure.ac: Honor --disable-smbclient, even on win32

4 years agoservices_discovery: don't abort
Thomas Guillem [Mon, 18 Apr 2016 13:27:49 +0000 (15:27 +0200)]
services_discovery: don't abort

4 years agovideo_output: win32: Only build direct3d11 on winrt
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:06:20 +0000 (14:06 +0200)]
video_output: win32: Only build direct3d11 on winrt

4 years agostream_filter: Don't build prefetch on winrt
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:05:06 +0000 (14:05 +0200)]
stream_filter: Don't build prefetch on winrt

4 years agocontrol: oldrc: Fix build on winrt
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:04:43 +0000 (14:04 +0200)]
control: oldrc: Fix build on winrt

4 years agoservices_discovery: Don't build windrive on winrt
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:04:17 +0000 (14:04 +0200)]
services_discovery: Don't build windrive on winrt

4 years agovideo_splitter: Don't build panoramix on winrt
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:03:58 +0000 (14:03 +0200)]
video_splitter: Don't build panoramix on winrt

4 years agomft: Enforce desktop family
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:03:21 +0000 (14:03 +0200)]
mft: Enforce desktop family

4 years agowin32touch: Add missing include config.h
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 12:01:50 +0000 (14:01 +0200)]
win32touch: Add missing include config.h

4 years agopacketizer: mpegvideo: parse color details if present
Ilkka Ollakka [Mon, 18 Apr 2016 08:18:29 +0000 (11:18 +0300)]
packetizer: mpegvideo: parse color details if present

4 years agoinput: log when the input thread is for preparsing
Steve Lhomme [Mon, 18 Apr 2016 11:10:22 +0000 (13:10 +0200)]
input: log when the input thread is for preparsing

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocontrib:d3d9: add the necessary headers to use IDirect3D9ExOverlayExtension
Steve Lhomme [Mon, 18 Apr 2016 10:57:34 +0000 (12:57 +0200)]
contrib:d3d9: add the necessary headers to use IDirect3D9ExOverlayExtension

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoQt: toggling fullscreen by double click toggles everything
Benoit du Payrat [Wed, 13 Apr 2016 13:03:40 +0000 (15:03 +0200)]
Qt: toggling fullscreen by double click toggles everything

Fix #14064

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocontrol: dummy: Fix winstore build
Hugo Beauzée-Luyssen [Mon, 18 Apr 2016 07:55:44 +0000 (09:55 +0200)]
control: dummy: Fix winstore build

4 years agoinclude: fix EXIF conversion macros
Rémi Denis-Courmont [Sun, 17 Apr 2016 20:45:02 +0000 (23:45 +0300)]
include: fix EXIF conversion macros

Values were inverted nibble-wise.

4 years agovideo_output: msw -> win32 for Windows
Jean-Baptiste Kempf [Sun, 17 Apr 2016 18:46:46 +0000 (20:46 +0200)]
video_output: msw -> win32 for Windows

4 years agoConfigure: disable-lua if correct luac is not found
Jean-Baptiste Kempf [Sun, 17 Apr 2016 18:44:41 +0000 (20:44 +0200)]
Configure: disable-lua if correct luac is not found

This is temporary until we have a better solution

4 years agoRemove QuickTime module
Jean-Baptiste Kempf [Sun, 17 Apr 2016 17:49:56 +0000 (19:49 +0200)]
Remove QuickTime module

4 years agortp: use smaller packets by default (refs #16315)
Rémi Denis-Courmont [Sun, 17 Apr 2016 19:27:12 +0000 (22:27 +0300)]
rtp: use smaller packets by default (refs #16315)

4 years agoudp: use more reasonable default buffer size (fixes #16315)
Rémi Denis-Courmont [Sun, 31 Jan 2016 17:30:35 +0000 (19:30 +0200)]
udp: use more reasonable default buffer size (fixes #16315)

4 years agocontrib: d3d11: Provide DXGI_COLOR_SPACE_TYPE within dxgi1_4.idl
Hugo Beauzée-Luyssen [Sun, 17 Apr 2016 12:25:20 +0000 (14:25 +0200)]
contrib: d3d11: Provide DXGI_COLOR_SPACE_TYPE within dxgi1_4.idl

Patching dxgitype.h might fail, because the system one will take
precedence over any other version.
Using -I doesn't work, since widl will search in the folder containing
the .idl file including the other

4 years agocontrib: rework d3d11 rules
Hugo Beauzée-Luyssen [Sun, 17 Apr 2016 12:24:18 +0000 (14:24 +0200)]
contrib: rework d3d11 rules

This fixes make fetch failure

4 years agovideotoolbox: expose colorimetry information
Felix Paul Kühne [Sun, 17 Apr 2016 11:52:50 +0000 (14:52 +0300)]
videotoolbox: expose colorimetry information

4 years agopacketizer: hevc: fill colorimetry
Thomas Guillem [Sat, 16 Apr 2016 15:05:42 +0000 (18:05 +0300)]
packetizer: hevc: fill colorimetry

4 years agopacketizer: h264: fill colorimetry
Thomas Guillem [Sat, 16 Apr 2016 14:50:40 +0000 (17:50 +0300)]
packetizer: h264: fill colorimetry

4 years agopacketizer: hevc: fill colour_desc with default values
Thomas Guillem [Sat, 16 Apr 2016 14:27:57 +0000 (17:27 +0300)]
packetizer: hevc: fill colour_desc with default values

4 years agopacketizer: h264: fill colour_desc
Thomas Guillem [Sat, 16 Apr 2016 14:47:13 +0000 (17:47 +0300)]
packetizer: h264: fill colour_desc

4 years agopacketizer: h264: fix sps colour desc not read correctly
Thomas Guillem [Sat, 16 Apr 2016 12:48:53 +0000 (15:48 +0300)]
packetizer: h264: fix sps colour desc not read correctly

It should be read if colour_description_present_flag is true, not if
video_signal_type_present_flag is.

4 years agopacketizer: hxxx: add colour_desc to_vlc helpers
Thomas Guillem [Sat, 16 Apr 2016 14:22:49 +0000 (17:22 +0300)]
packetizer: hxxx: add colour_desc to_vlc helpers

4 years agopacketizer: hxxx: add colour_desc enums
Thomas Guillem [Sat, 16 Apr 2016 12:38:46 +0000 (15:38 +0300)]
packetizer: hxxx: add colour_desc enums

4 years agodecoder: adjust the unknown colorimetry values because getting a vout
Steve Lhomme [Sun, 17 Apr 2016 09:43:45 +0000 (12:43 +0300)]
decoder: adjust the unknown colorimetry values because getting a vout

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoavcodec: fix typo
Thomas Guillem [Sun, 17 Apr 2016 09:38:07 +0000 (12:38 +0300)]
avcodec: fix typo

4 years agovideo_output: opengl: check BT.601 and other cases assume BT.709
Ilkka Ollakka [Sun, 17 Apr 2016 09:25:34 +0000 (12:25 +0300)]
video_output: opengl: check BT.601 and other cases assume BT.709

4 years agoes_out: only set location chroma info if not defined
Jean-Baptiste Kempf [Sun, 17 Apr 2016 09:23:38 +0000 (11:23 +0200)]
es_out: only set location chroma info if not defined

4 years agoavcodec: map some chroma_location
Jean-Baptiste Kempf [Sun, 17 Apr 2016 09:17:35 +0000 (11:17 +0200)]
avcodec: map some chroma_location

4 years agoavcodec: don't map AVCOL_TRC_SMPTE240M transfer
Ilkka Ollakka [Sun, 17 Apr 2016 09:13:11 +0000 (12:13 +0300)]
avcodec: don't map AVCOL_TRC_SMPTE240M transfer