vlc.git
2 years agoservice_discovery: Improve debug log messages
Marvin Scholz [Tue, 25 Jul 2017 19:16:02 +0000 (21:16 +0200)]
service_discovery: Improve debug log messages

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2 years agobonjour: clarify log messages and use correct levels
Marvin Scholz [Tue, 25 Jul 2017 19:16:01 +0000 (21:16 +0200)]
bonjour: clarify log messages and use correct levels

Nearly all messages had level Info, which is unnecessary.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2 years agodemux: adaptive: fix cross category es recycling
Francois Cartegnie [Wed, 26 Jul 2017 14:35:39 +0000 (16:35 +0200)]
demux: adaptive: fix cross category es recycling

refs #18565

2 years agodemux: adaptive: missing es_format_Init
Francois Cartegnie [Wed, 26 Jul 2017 14:33:21 +0000 (16:33 +0200)]
demux: adaptive: missing es_format_Init

2 years agodemux: ts: probe atsc using psip base pid
Francois Cartegnie [Wed, 26 Jul 2017 10:24:39 +0000 (12:24 +0200)]
demux: ts: probe atsc using psip base pid

2 years agodemux: ts: unwanted fall through
Francois Cartegnie [Wed, 26 Jul 2017 10:21:59 +0000 (12:21 +0200)]
demux: ts: unwanted fall through

2 years agolib: renderer_discoverer: add item hold/release
Thomas Guillem [Wed, 26 Jul 2017 14:32:29 +0000 (16:32 +0200)]
lib: renderer_discoverer: add item hold/release

Libvlc users need to hold a reference to an item before using it. This avoid
use-after-free if the delete callback is called while an item is used by the
media player.

2 years agolib: renderer_discoverer: fix bad cast
Thomas Guillem [Wed, 26 Jul 2017 14:18:27 +0000 (16:18 +0200)]
lib: renderer_discoverer: fix bad cast

2 years agodemux: stl: fix use-after-free
Thomas Guillem [Wed, 26 Jul 2017 13:41:52 +0000 (15:41 +0200)]
demux: stl: fix use-after-free

demux->p_sys was not set before calling the Close function that used it. This
p_sys could have been set and free by an other demux module.

2 years agomacosx: remove noise filter from GUI
Victorien Le Couviour--Tuffet [Wed, 26 Jul 2017 12:33:03 +0000 (14:33 +0200)]
macosx: remove noise filter from GUI

This filter has been removed between 1.1.13 and 2.0.0.
Closes #18483.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agojpeg2000: avoid arithmetic overflow (CID #1415689)
Tristan Matthews [Wed, 26 Jul 2017 04:30:14 +0000 (00:30 -0400)]
jpeg2000: avoid arithmetic overflow (CID #1415689)

2 years agospatialaudio: handle speaker memory allocation failure
Tristan Matthews [Mon, 24 Jul 2017 15:43:01 +0000 (11:43 -0400)]
spatialaudio: handle speaker memory allocation failure

2 years agoconfig: assert item type matching
Rémi Denis-Courmont [Tue, 25 Jul 2017 15:56:25 +0000 (18:56 +0300)]
config: assert item type matching

This is consistent with variables handling, as well as config choices.

2 years agohotkeys: fix unused warning
Thomas Guillem [Tue, 25 Jul 2017 15:53:50 +0000 (17:53 +0200)]
hotkeys: fix unused warning

2 years agoconfig_GetType(): remove unused parameter
Rémi Denis-Courmont [Tue, 25 Jul 2017 15:37:08 +0000 (18:37 +0300)]
config_GetType(): remove unused parameter

2 years agoconfig_FindConfig(): remove unused parameter
Rémi Denis-Courmont [Tue, 25 Jul 2017 15:37:08 +0000 (18:37 +0300)]
config_FindConfig(): remove unused parameter

2 years agoNSIS: Enable HiDPI support
Marvin Scholz [Tue, 25 Jul 2017 15:29:41 +0000 (17:29 +0200)]
NSIS: Enable HiDPI support

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoMakefile: remove --disable-httpd
Rémi Denis-Courmont [Sun, 23 Jul 2017 16:53:58 +0000 (19:53 +0300)]
Makefile: remove --disable-httpd

Unlike, say stream output, the HTTP server has no hooks anywhere within
the rest of the core: it is used exclusively through calls from modules
to the LibVLC run-time.

Thus, if no modules use it, the code will be eliminated by linker (in
static builds) or not paged in (in dynamic builds). There is not much
point in adding a build-time option to turn it off. It only creates
problems with keeping missing.c in sync.

2 years agovout: win32: handle tilt sensors for VR orientation
Steve Lhomme [Mon, 27 Feb 2017 13:18:36 +0000 (14:18 +0100)]
vout: win32: handle tilt sensors for VR orientation

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2 years agohotkeys: handle viewpoint changes from the vout
Steve Lhomme [Tue, 25 Jul 2017 12:51:11 +0000 (14:51 +0200)]
hotkeys: handle viewpoint changes from the vout

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2 years agovout: add vout_display_SendEventViewpointMoved
Steve Lhomme [Mon, 27 Feb 2017 13:16:18 +0000 (14:16 +0100)]
vout: add vout_display_SendEventViewpointMoved

"vout display" modules can call this function to update the view point.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2 years agoinput: ensure that viewpoint structs are read only from callbacks
Thomas Guillem [Tue, 25 Jul 2017 12:17:10 +0000 (14:17 +0200)]
input: ensure that viewpoint structs are read only from callbacks

2 years agoinput: send initial video viewpoint to the input
Thomas Guillem [Tue, 25 Jul 2017 08:08:14 +0000 (10:08 +0200)]
input: send initial video viewpoint to the input

2 years agoinput: add INPUT_SET_INITIAL_VIEWPOINT control
Thomas Guillem [Mon, 24 Jul 2017 17:17:29 +0000 (19:17 +0200)]
input: add INPUT_SET_INITIAL_VIEWPOINT control

This new control sets an initial viewpoint (generally comming from the video
ES) to the input.

If the viewpoint had already been changed by the user, the input viewpoint
value won't change and the user viewpoint will be sent to all ESes.

2 years agoaout: fix viewpoint init state
Thomas Guillem [Tue, 25 Jul 2017 07:38:20 +0000 (09:38 +0200)]
aout: fix viewpoint init state

Send previous viewpoint to new aout stream session.

2 years agovout: don't inherit viewpoint
Thomas Guillem [Tue, 25 Jul 2017 07:33:27 +0000 (09:33 +0200)]
vout: don't inherit viewpoint

And don't trigger viewpoint manually. This variable must be triggered only by
the owner of the viewpoint address (the input) in order to ensure the atomicity
of the struct.

2 years agovout: fix viewpoint init state
Thomas Guillem [Mon, 24 Jul 2017 14:38:29 +0000 (16:38 +0200)]
vout: fix viewpoint init state

This value is only used to compare new viewpoints with the current one.

2 years agolib/video: clip viewpoint
Thomas Guillem [Mon, 24 Jul 2017 14:34:14 +0000 (16:34 +0200)]
lib/video: clip viewpoint

2 years agolibvlc: merge libvlc_video_viewpoint_t and libvlc_video_track_t.pose
Thomas Guillem [Tue, 25 Jul 2017 07:02:59 +0000 (09:02 +0200)]
libvlc: merge libvlc_video_viewpoint_t and libvlc_video_track_t.pose

2 years agoes: merge vlc_viewpoint_t and video_format_t.pose
Thomas Guillem [Tue, 25 Jul 2017 07:02:28 +0000 (09:02 +0200)]
es: merge vlc_viewpoint_t and video_format_t.pose

2 years agoviewpoint: add vlc_viewpoint_clip
Thomas Guillem [Mon, 24 Jul 2017 14:30:12 +0000 (16:30 +0200)]
viewpoint: add vlc_viewpoint_clip

2 years agocore: move viewpoint to vlc_viewpoint.h
Thomas Guillem [Mon, 24 Jul 2017 13:10:49 +0000 (15:10 +0200)]
core: move viewpoint to vlc_viewpoint.h

2 years agomux: ts: add support for JP2K (#16981)
Francois Cartegnie [Sat, 21 May 2016 18:14:28 +0000 (20:14 +0200)]
mux: ts: add support for JP2K (#16981)

2 years agodemux: ts: set j2k color profile
Francois Cartegnie [Mon, 24 Jul 2017 13:54:44 +0000 (15:54 +0200)]
demux: ts: set j2k color profile

2 years agomux: ts: simplify fmt params
Francois Cartegnie [Mon, 24 Jul 2017 16:43:07 +0000 (18:43 +0200)]
mux: ts: simplify fmt params

2 years agodemux: ts: proper init/clean for fmt in hotfixes
Francois Cartegnie [Mon, 24 Jul 2017 16:42:20 +0000 (18:42 +0200)]
demux: ts: proper init/clean for fmt in hotfixes

2 years agomux: ts: don't set fmt.extra for subt
Francois Cartegnie [Mon, 24 Jul 2017 16:18:19 +0000 (18:18 +0200)]
mux: ts: don't set fmt.extra for subt

2 years agomacosx: Specify preferred layout width for MainWindow
Marvin Scholz [Tue, 25 Jul 2017 00:50:44 +0000 (02:50 +0200)]
macosx: Specify preferred layout width for MainWindow

Automatic layout width is not supported on 10.7, so it can't be used.

2 years agomacosx: Remove CIFilters from MainWindow.xib
Marvin Scholz [Tue, 25 Jul 2017 00:41:41 +0000 (02:41 +0200)]
macosx: Remove CIFilters from MainWindow.xib

These are not required and caused warnings.

2 years agomacosx: Reorder files in Xcode project
Marvin Scholz [Tue, 25 Jul 2017 00:37:21 +0000 (02:37 +0200)]
macosx: Reorder files in Xcode project

2 years agomacosx: Remove now unused ITSlider and VLCVolumeSliderCommon
Marvin Scholz [Tue, 25 Jul 2017 00:37:02 +0000 (02:37 +0200)]
macosx: Remove now unused ITSlider and VLCVolumeSliderCommon

2 years agomacosx: Replace volume slider with VLCDefaultValueSlider
Marvin Scholz [Tue, 25 Jul 2017 00:36:23 +0000 (02:36 +0200)]
macosx: Replace volume slider with VLCDefaultValueSlider

2 years agoaraw: handle error
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:30:15 +0000 (19:30 +0300)]
araw: handle error

2 years agobridge: fix warnings
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:26:44 +0000 (19:26 +0300)]
bridge: fix warnings

2 years agognutls: fix warning
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:25:24 +0000 (19:25 +0300)]
gnutls: fix warning

2 years agoxa: fix sign warning
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:24:33 +0000 (19:24 +0300)]
xa: fix sign warning

2 years agovoc: fix warning
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:23:12 +0000 (19:23 +0300)]
voc: fix warning

2 years agodtv: fix warning
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:21:34 +0000 (19:21 +0300)]
dtv: fix warning

2 years agoimem: fix warning
Rémi Denis-Courmont [Mon, 24 Jul 2017 16:19:00 +0000 (19:19 +0300)]
imem: fix warning

2 years agoFreetype: fix leak on Darwin
Jean-Baptiste Kempf [Mon, 24 Jul 2017 14:12:08 +0000 (16:12 +0200)]
Freetype: fix leak on Darwin

2 years agopo: add spatialaudio
Thomas Guillem [Mon, 24 Jul 2017 12:56:56 +0000 (14:56 +0200)]
po: add spatialaudio

2 years agodemux: avi: initialize bool
Shaleen Jain [Mon, 24 Jul 2017 07:18:50 +0000 (12:48 +0530)]
demux: avi: initialize bool

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2 years agohw:vaapi:fixed broken HEVC decoding
Oliver Collyer [Sun, 23 Jul 2017 08:48:05 +0000 (11:48 +0300)]
hw:vaapi:fixed broken HEVC decoding

Since around middle of July the GetVAProfile function has been failing for the
HEVC codec because cxt->profile contains '-99' meaning unknown. At least, this
is the case for mpeg-ts anyway. I haven't tried any others.

If we instead pass in fmt and use fmt->i_profile it fixes this and HEVC
decoding works again.

I don't know what has caused this, but I can see that dxva2 references
fmt->i_profile when checking the profile, and not ctx->profile so this patch
brings vaapi into line with that.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2 years agocoreaudio: remove stray debug log
Thomas Guillem [Mon, 24 Jul 2017 06:56:17 +0000 (08:56 +0200)]
coreaudio: remove stray debug log

2 years agovout iOS: make sure all calls to UIKit are performed from the main thread (closes...
Felix Paul Kühne [Sun, 23 Jul 2017 17:08:21 +0000 (19:08 +0200)]
vout iOS: make sure all calls to UIKit are performed from the main thread (closes #18572)

2 years agoqt: fix VLM wrapper leak
Rémi Denis-Courmont [Sun, 23 Jul 2017 16:24:10 +0000 (19:24 +0300)]
qt: fix VLM wrapper leak

2 years agoqt: VLM wrapper needs not be static
Rémi Denis-Courmont [Sun, 23 Jul 2017 16:23:58 +0000 (19:23 +0300)]
qt: VLM wrapper needs not be static

2 years agoqt: add get-media wrapper
Rémi Denis-Courmont [Sun, 23 Jul 2017 16:17:13 +0000 (19:17 +0300)]
qt: add get-media wrapper

(leaks are left untouched)

2 years agoqt: remove pointless allocation
Rémi Denis-Courmont [Sun, 23 Jul 2017 16:11:16 +0000 (19:11 +0300)]
qt: remove pointless allocation

2 years agoqt: add load/save config to VLMWrapper
Rémi Denis-Courmont [Sun, 23 Jul 2017 15:52:34 +0000 (18:52 +0300)]
qt: add load/save config to VLMWrapper

2 years agoAudioUnit iOS: add headphone detection
Felix Paul Kühne [Sun, 23 Jul 2017 14:58:19 +0000 (16:58 +0200)]
AudioUnit iOS: add headphone detection

2 years agomacosx: More class description clarifications
Marvin Scholz [Sun, 23 Jul 2017 15:24:29 +0000 (17:24 +0200)]
macosx: More class description clarifications

2 years agomacosx: Correct description of VLCStatusBarIcon class
Marvin Scholz [Sun, 23 Jul 2017 15:20:46 +0000 (17:20 +0200)]
macosx: Correct description of VLCStatusBarIcon class

2 years agomacosx: Use doxygen comments in VLCScrollingClipView
Marvin Scholz [Sun, 23 Jul 2017 15:19:04 +0000 (17:19 +0200)]
macosx: Use doxygen comments in VLCScrollingClipView

2 years agomacosx: Remove unnecessary comments in VLCMainWindowSplitView
Marvin Scholz [Sun, 23 Jul 2017 15:08:46 +0000 (17:08 +0200)]
macosx: Remove unnecessary comments in VLCMainWindowSplitView

The comments were copied from the macOS SDK header file and explain
what the functions do, which does not require such a long comment and
is detailed in Apples documentation of NSSplitView too.

2 years agomacosx: Remove VLCProgressView
Marvin Scholz [Sun, 23 Jul 2017 15:03:29 +0000 (17:03 +0200)]
macosx: Remove VLCProgressView

Remove unused VLCProgressView

2 years agomacosx: Remove MPSlider
Marvin Scholz [Sun, 23 Jul 2017 15:01:52 +0000 (17:01 +0200)]
macosx: Remove MPSlider

Remove unused MPSlider class

2 years agohttp out: avoid warnings
Rémi Denis-Courmont [Sun, 23 Jul 2017 14:22:23 +0000 (17:22 +0300)]
http out: avoid warnings

2 years agohttpd: missing const
Rémi Denis-Courmont [Sun, 23 Jul 2017 14:18:57 +0000 (17:18 +0300)]
httpd: missing const

2 years agocdda: fix unused variable
Rémi Denis-Courmont [Sun, 23 Jul 2017 14:16:20 +0000 (17:16 +0300)]
cdda: fix unused variable

2 years agoqt: remove unused parameter
Rémi Denis-Courmont [Sun, 23 Jul 2017 14:15:09 +0000 (17:15 +0300)]
qt: remove unused parameter

2 years agodbus: remove antilogy
Rémi Denis-Courmont [Sun, 23 Jul 2017 14:11:04 +0000 (17:11 +0300)]
dbus: remove antilogy

This avoids bogus return-type warnings.

2 years agoepg: remove dead code
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:59:59 +0000 (16:59 +0300)]
epg: remove dead code

2 years agosap: remove no longer necessary seek on error
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:57:44 +0000 (16:57 +0300)]
sap: remove no longer necessary seek on error

2 years agotta: handle seek error
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:56:00 +0000 (16:56 +0300)]
tta: handle seek error

2 years agovobsub: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:50:10 +0000 (16:50 +0300)]
vobsub: fix variable shadowing

2 years agorawvid: remove seek on error
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:48:53 +0000 (16:48 +0300)]
rawvid: remove seek on error

2 years agomod: remove seek on error
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:47:50 +0000 (16:47 +0300)]
mod: remove seek on error

This was semi-broken and is no longer necessary.

2 years agomod: avoid variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:47:22 +0000 (16:47 +0300)]
mod: avoid variable shadowing

2 years agoglobalhotleys/xcb: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:46:20 +0000 (16:46 +0300)]
globalhotleys/xcb: fix variable shadowing

2 years agooldrc: avoid shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:45:19 +0000 (16:45 +0300)]
oldrc: avoid shadowing

2 years agohotkeys: remove duplicated variable
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:42:40 +0000 (16:42 +0300)]
hotkeys: remove duplicated variable

2 years agohotkeys: comment intended fall-throughs
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:42:24 +0000 (16:42 +0300)]
hotkeys: comment intended fall-throughs

2 years agohotkeys: missing break
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:42:01 +0000 (16:42 +0300)]
hotkeys: missing break

2 years agoavcodec: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:39:08 +0000 (16:39 +0300)]
avcodec: fix variable shadowing

2 years agotelx: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:36:41 +0000 (16:36 +0300)]
telx: fix variable shadowing

2 years agocc: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:34:31 +0000 (16:34 +0300)]
cc: fix variable shadowing

2 years agortp: avoid shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:33:30 +0000 (16:33 +0300)]
rtp: avoid shadowing

2 years agomms: avoid shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:32:53 +0000 (16:32 +0300)]
mms: avoid shadowing

2 years agodvb: avoid shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:30:46 +0000 (16:30 +0300)]
dvb: avoid shadowing

2 years agoold http: fix sign warning
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:29:12 +0000 (16:29 +0300)]
old http: fix sign warning

2 years agoold http: avoid shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:29:05 +0000 (16:29 +0300)]
old http: avoid shadowing

2 years agov4l2: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 13:25:25 +0000 (16:25 +0300)]
v4l2: fix variable shadowing

2 years agomacosx: Fix filename in VLCRendererMenuController license
Marvin Scholz [Sun, 23 Jul 2017 13:05:55 +0000 (15:05 +0200)]
macosx: Fix filename in VLCRendererMenuController license

2 years agomacosx: Remove VLCRendererDialog
Marvin Scholz [Sun, 23 Jul 2017 13:04:48 +0000 (15:04 +0200)]
macosx: Remove VLCRendererDialog

2 years agomacosx: Reorder XIBs in Xcode project
Marvin Scholz [Sun, 23 Jul 2017 13:02:54 +0000 (15:02 +0200)]
macosx: Reorder XIBs in Xcode project

2 years agomacosx: Hide VLCSlider knob when nothing is playing
Marvin Scholz [Sun, 23 Jul 2017 12:15:51 +0000 (14:15 +0200)]
macosx: Hide VLCSlider knob when nothing is playing

2 years agomacosx: Add ability to hide knob to VLCSlider
Marvin Scholz [Sun, 23 Jul 2017 12:15:01 +0000 (14:15 +0200)]
macosx: Add ability to hide knob to VLCSlider

When nothing is playing, the knob and progress should not be shown,
this adds an option for this to the VLCSlider

2 years agoinput: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 11:25:19 +0000 (14:25 +0300)]
input: fix variable shadowing

2 years agotest: test filename comparison
Rémi Denis-Courmont [Sun, 23 Jul 2017 09:13:46 +0000 (12:13 +0300)]
test: test filename comparison