vlc.git
4 years agomacosx: Set dark style of time slider for dark interface
Marvin Scholz [Wed, 19 Jul 2017 23:33:15 +0000 (01:33 +0200)]
macosx: Set dark style of time slider for dark interface

4 years agomacosx: Add dark style to VLCSliderCell
Marvin Scholz [Wed, 19 Jul 2017 23:32:38 +0000 (01:32 +0200)]
macosx: Add dark style to VLCSliderCell

4 years agomacosx: Make filled part of VLCSliderCell darker
Marvin Scholz [Wed, 19 Jul 2017 22:49:00 +0000 (00:49 +0200)]
macosx: Make filled part of VLCSliderCell darker

4 years agomacosx: Remove VLCSliderCell filled track inset
Marvin Scholz [Wed, 19 Jul 2017 22:46:11 +0000 (00:46 +0200)]
macosx: Remove VLCSliderCell filled track inset

There was no inset in the image-based look.

4 years agodemux: mp4: handle fastseek flag
Francois Cartegnie [Wed, 19 Jul 2017 20:43:36 +0000 (22:43 +0200)]
demux: mp4: handle fastseek flag

4 years agoUpdate NEWS
Thomas Guillem [Wed, 19 Jul 2017 14:49:16 +0000 (16:49 +0200)]
Update NEWS

4 years agodemux: mp4: read and save ambisonics metadata
Adrien Maglo [Mon, 27 Feb 2017 11:20:27 +0000 (12:20 +0100)]
demux: mp4: read and save ambisonics metadata

From the Google specification:
https://github.com/google/spatial-media/blob/master/docs/spatial-audio-rfc.md

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agocodec: avcodec: keep the input channel_type
Adrien Maglo [Fri, 7 Jul 2017 12:51:27 +0000 (14:51 +0200)]
codec: avcodec: keep the input channel_type

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agocodec: faad: keep the input channel_type
Adrien Maglo [Fri, 7 Jul 2017 12:51:16 +0000 (14:51 +0200)]
codec: faad: keep the input channel_type

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agocodec: araw: keep the input channel_type
Adrien Maglo [Mon, 27 Feb 2017 11:16:30 +0000 (12:16 +0100)]
codec: araw: keep the input channel_type

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoaout: declink: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:50:33 +0000 (11:50 +0200)]
aout: declink: force bitmap channel type

4 years agoaout: waveout: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:50:25 +0000 (11:50 +0200)]
aout: waveout: force bitmap channel type

4 years agoaout: tizen_audio: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:50:19 +0000 (11:50 +0200)]
aout: tizen_audio: force bitmap channel type

4 years agoaout: sndio: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:50:12 +0000 (11:50 +0200)]
aout: sndio: force bitmap channel type

4 years agoaout: oss: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:50:07 +0000 (11:50 +0200)]
aout: oss: force bitmap channel type

4 years agoaout: opensles: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:50:02 +0000 (11:50 +0200)]
aout: opensles: force bitmap channel type

4 years agoaout: kai: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:49:52 +0000 (11:49 +0200)]
aout: kai: force bitmap channel type

4 years agoaout: jack: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:49:45 +0000 (11:49 +0200)]
aout: jack: force bitmap channel type

4 years agoaout: file: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:49:40 +0000 (11:49 +0200)]
aout: file: force bitmap channel type

4 years agoaout: amem: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:49:28 +0000 (11:49 +0200)]
aout: amem: force bitmap channel type

4 years agoaout: alsa: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:49:19 +0000 (11:49 +0200)]
aout: alsa: force bitmap channel type

4 years agoaout: adummy: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:49:13 +0000 (11:49 +0200)]
aout: adummy: force bitmap channel type

4 years agoaout: directsound: force bitmap channel type
Thomas Guillem [Wed, 19 Jul 2017 09:42:05 +0000 (11:42 +0200)]
aout: directsound: force bitmap channel type

4 years agoaout: audiotrack: handle AUDIO_CHANNELS_TYPE_AMBISONICS
Thomas Guillem [Wed, 19 Jul 2017 09:42:22 +0000 (11:42 +0200)]
aout: audiotrack: handle AUDIO_CHANNELS_TYPE_AMBISONICS

4 years agoaout: wasapi: handle AUDIO_CHANNELS_TYPE_AMBISONICS
Thomas Guillem [Mon, 26 Jun 2017 12:11:21 +0000 (14:11 +0200)]
aout: wasapi: handle AUDIO_CHANNELS_TYPE_AMBISONICS

Use native mix format and setup low latency in that case.

4 years agoaout: pulse: handle AUDIO_CHANNELS_TYPE_AMBISONICS
Thomas Guillem [Fri, 23 Jun 2017 15:41:55 +0000 (17:41 +0200)]
aout: pulse: handle AUDIO_CHANNELS_TYPE_AMBISONICS

4 years agoaout: coreaudio: handle AUDIO_CHANNELS_TYPE_AMBISONICS
Thomas Guillem [Wed, 19 Jul 2017 11:24:08 +0000 (13:24 +0200)]
aout: coreaudio: handle AUDIO_CHANNELS_TYPE_AMBISONICS

4 years agoaout: coreaudio: decrease sleep duration when circular buffer is full
Thomas Guillem [Wed, 19 Jul 2017 14:06:02 +0000 (16:06 +0200)]
aout: coreaudio: decrease sleep duration when circular buffer is full

4 years agospatialaudio: add an Ambisonics audio renderer
Adrien Maglo [Tue, 18 Apr 2017 13:41:24 +0000 (15:41 +0200)]
spatialaudio: add an Ambisonics audio renderer

This module converts ambisonics channels to physical ones.

This module contains also a binauralizer submodule: It applies a head-related
transfer function to each physical channel in order to simulate a 3D sound with
a headphone.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoextras: add a default HRTF stored as a resource
Adrien Maglo [Fri, 7 Jul 2017 13:10:39 +0000 (15:10 +0200)]
extras: add a default HRTF stored as a resource

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agocontrib: add spatialaudio
Adrien Maglo [Fri, 14 Apr 2017 13:08:20 +0000 (15:08 +0200)]
contrib: add spatialaudio

An Ambisonics / Binaural decoding library.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agocontrib: add mysofa
Thomas Guillem [Wed, 12 Jul 2017 08:08:17 +0000 (10:08 +0200)]
contrib: add mysofa

mysofa is reader for AES SOFA files to get better HRTFs

4 years agoinput: pass new viewpoints to the aout
Thomas Guillem [Fri, 7 Jul 2017 13:05:24 +0000 (15:05 +0200)]
input: pass new viewpoints to the aout

4 years agoaout: handle viewpoint change via audio filters
Thomas Guillem [Tue, 29 Nov 2016 17:35:46 +0000 (18:35 +0100)]
aout: handle viewpoint change via audio filters

4 years agoaout: set maximum number of channels for ambisonics
Thomas Guillem [Tue, 18 Jul 2017 14:13:23 +0000 (16:13 +0200)]
aout: set maximum number of channels for ambisonics

4 years agoaout: move code
Thomas Guillem [Tue, 18 Jul 2017 14:10:39 +0000 (16:10 +0200)]
aout: move code

This part is output specific

4 years agoaout: no stereo-mode for passthrough
Thomas Guillem [Tue, 18 Jul 2017 14:01:39 +0000 (16:01 +0200)]
aout: no stereo-mode for passthrough

4 years agoaout: propose reverse-stereo mode only for stereo inputs
Thomas Guillem [Mon, 17 Jul 2017 15:14:31 +0000 (17:14 +0200)]
aout: propose reverse-stereo mode only for stereo inputs

4 years agoaout: refactor aout_PrepareStereoMode
Thomas Guillem [Tue, 18 Jul 2017 14:00:11 +0000 (16:00 +0200)]
aout: refactor aout_PrepareStereoMode

4 years agoaout: add headphones option in stereo-mode
Thomas Guillem [Tue, 18 Jul 2017 08:09:21 +0000 (10:09 +0200)]
aout: add headphones option in stereo-mode

4 years agoaout: handle headphones in aout_filters_cfg_t
Thomas Guillem [Mon, 17 Jul 2017 16:29:09 +0000 (18:29 +0200)]
aout: handle headphones in aout_filters_cfg_t

4 years agoaout: add a struct to configure the filter chain
Thomas Guillem [Mon, 17 Jul 2017 15:48:14 +0000 (17:48 +0200)]
aout: add a struct to configure the filter chain

4 years agoaout: add "audio renderer" converters
Thomas Guillem [Tue, 20 Jun 2017 13:34:10 +0000 (15:34 +0200)]
aout: add "audio renderer" converters

This new "audio renderer" capability will handle channels_type conversions.

4 years agoaout: display "Ambisonics"
Adrien Maglo [Mon, 27 Feb 2017 11:12:45 +0000 (12:12 +0100)]
aout: display "Ambisonics"

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoES: similar audio format have the same channel_type
Adrien Maglo [Thu, 16 Mar 2017 08:37:09 +0000 (09:37 +0100)]
ES: similar audio format have the same channel_type

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoES: add a property to audio_format_t for Ambisonics support
Adrien Maglo [Thu, 16 Mar 2017 08:35:21 +0000 (09:35 +0100)]
ES: add a property to audio_format_t for Ambisonics support

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agodemux: adaptive: rework commands dequeuing (fix #18499)
Francois Cartegnie [Wed, 19 Jul 2017 15:53:05 +0000 (17:53 +0200)]
demux: adaptive: rework commands dequeuing (fix #18499)

could not cope with badly muxed late audio
(high dts<->pcr delay)

4 years agochromecast: Fix streamId leak
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 17:02:34 +0000 (19:02 +0200)]
chromecast: Fix streamId leak

4 years agotranscode: Fix potential use after free
Hugo Beauzée-Luyssen [Tue, 18 Jul 2017 15:53:46 +0000 (17:53 +0200)]
transcode: Fix potential use after free

4 years agopacketizer: dirac: check rate
Francois Cartegnie [Wed, 19 Jul 2017 09:29:45 +0000 (11:29 +0200)]
packetizer: dirac: check rate

4 years agopacketizer: mpegvideo: set sane rate defaults
Francois Cartegnie [Wed, 19 Jul 2017 09:05:16 +0000 (11:05 +0200)]
packetizer: mpegvideo: set sane rate defaults

4 years agopacketizer: mpegvideo: check for overflow in rate
Francois Cartegnie [Wed, 19 Jul 2017 08:55:04 +0000 (10:55 +0200)]
packetizer: mpegvideo: check for overflow in rate

4 years agopacketizer: hevc: check for overflow in rate
Francois Cartegnie [Wed, 19 Jul 2017 08:53:38 +0000 (10:53 +0200)]
packetizer: hevc: check for overflow in rate

4 years agopacketizer: h264: check for overflow in rate
Francois Cartegnie [Wed, 19 Jul 2017 08:53:18 +0000 (10:53 +0200)]
packetizer: h264: check for overflow in rate

4 years agopacketizer: hevc: fix divbyzero
Francois Cartegnie [Wed, 19 Jul 2017 08:33:04 +0000 (10:33 +0200)]
packetizer: hevc: fix divbyzero

num being used as den in date operations

4 years agopacketizer: h264: fix divbyzero
Francois Cartegnie [Wed, 19 Jul 2017 08:29:22 +0000 (10:29 +0200)]
packetizer: h264: fix divbyzero

4 years agoupnp: Bump the amount of fetched items
Hugo Beauzée-Luyssen [Wed, 19 Jul 2017 08:21:49 +0000 (10:21 +0200)]
upnp: Bump the amount of fetched items

This is merely a workaround until we have proper pagination
refs #18558

4 years agovlc_modules.h: protect multiple includes
Steve Lhomme [Mon, 17 Jul 2017 14:33:07 +0000 (16:33 +0200)]
vlc_modules.h: protect multiple includes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomacosx: Fix invalid free in renderer discovery initialization
David Fuhrmann [Tue, 18 Jul 2017 21:11:12 +0000 (23:11 +0200)]
macosx: Fix invalid free in renderer discovery initialization

4 years agodemux: es: use STREAM_GET_TAGS
Francois Cartegnie [Tue, 11 Jul 2017 09:16:36 +0000 (11:16 +0200)]
demux: es: use STREAM_GET_TAGS

fixes #18511, #18512 and broken replaygain

4 years agostream_filter: skiptags: extract and store tags
Francois Cartegnie [Tue, 11 Jul 2017 09:15:52 +0000 (11:15 +0200)]
stream_filter: skiptags: extract and store tags

4 years agovlc_stream: add STREAM_GET_TAGS
Francois Cartegnie [Mon, 10 Jul 2017 16:50:24 +0000 (18:50 +0200)]
vlc_stream: add STREAM_GET_TAGS

4 years agostream_filter: skiptags: handle every tags sequences
Francois Cartegnie [Tue, 18 Jul 2017 16:30:23 +0000 (18:30 +0200)]
stream_filter: skiptags: handle every tags sequences

4 years agomacosx: Remove unnecessary graphics
Marvin Scholz [Tue, 18 Jul 2017 14:58:59 +0000 (16:58 +0200)]
macosx: Remove unnecessary graphics

4 years agomacosx: Improve VLCSlider knob positioning
Marvin Scholz [Tue, 18 Jul 2017 14:05:40 +0000 (16:05 +0200)]
macosx: Improve VLCSlider knob positioning

4 years agomacosx: Remove no longer required outlets to views
Marvin Scholz [Tue, 18 Jul 2017 14:50:09 +0000 (16:50 +0200)]
macosx: Remove no longer required outlets to views

4 years agomacosx: Remove no longer required TimeLineSlider subclass
Marvin Scholz [Tue, 18 Jul 2017 01:03:51 +0000 (03:03 +0200)]
macosx: Remove no longer required TimeLineSlider subclass

4 years agomacosx: Update detached window to use new slider
Marvin Scholz [Tue, 18 Jul 2017 14:50:02 +0000 (16:50 +0200)]
macosx: Update detached window to use new slider

4 years agomacosx: Update main window to use new slider
Marvin Scholz [Tue, 18 Jul 2017 01:03:24 +0000 (03:03 +0200)]
macosx: Update main window to use new slider

4 years agomacosx: Update VLCControlsBarCommon to use new VLCSlider
Marvin Scholz [Tue, 18 Jul 2017 01:02:52 +0000 (03:02 +0200)]
macosx: Update VLCControlsBarCommon to use new VLCSlider

4 years agomacosx: Add VLCSlider(Cell)
Marvin Scholz [Tue, 18 Jul 2017 01:02:20 +0000 (03:02 +0200)]
macosx: Add VLCSlider(Cell)

4 years agodirect3d9: fix crash when closing without a picture pool
Steve Lhomme [Fri, 7 Jul 2017 05:36:40 +0000 (07:36 +0200)]
direct3d9: fix crash when closing without a picture pool

It's done in all other windows vout.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoopengl: correct documentation
Victorien Le Couviour--Tuffet [Mon, 17 Jul 2017 11:21:33 +0000 (13:21 +0200)]
opengl: correct documentation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agotranscode:spu: don't set unused decoder p_owner
Steve Lhomme [Tue, 18 Jul 2017 07:52:53 +0000 (09:52 +0200)]
transcode:spu: don't set unused decoder p_owner

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agotranscode:video: remove unneeded decoder_owner_sys_t allocation
Steve Lhomme [Tue, 18 Jul 2017 07:52:52 +0000 (09:52 +0200)]
transcode:video: remove unneeded decoder_owner_sys_t allocation

It was just used to store this already in sout_stream_sys_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoextras/tools: Bump ragel version
Hugo Beauzée-Luyssen [Tue, 18 Jul 2017 15:02:57 +0000 (17:02 +0200)]
extras/tools: Bump ragel version

6.8 build appears to be broken on recent compilers

4 years agommdevice: refactor device hotplug report
Thomas Guillem [Tue, 27 Jun 2017 10:49:39 +0000 (12:49 +0200)]
mmdevice: refactor device hotplug report

4 years agopulse: refactor pa_format_info initialisation
Thomas Guillem [Fri, 23 Jun 2017 15:25:50 +0000 (17:25 +0200)]
pulse: refactor pa_format_info initialisation

4 years agorenderer_discovery: psz_icon_uri can be NULL
Hugo Beauzée-Luyssen [Tue, 18 Jul 2017 11:59:52 +0000 (13:59 +0200)]
renderer_discovery: psz_icon_uri can be NULL

4 years agocodec: jpeg: fix sanity checks
Francois Cartegnie [Tue, 18 Jul 2017 08:18:06 +0000 (10:18 +0200)]
codec: jpeg: fix sanity checks

4 years agocodec: jpeg: fix read ofw
Francois Cartegnie [Tue, 18 Jul 2017 08:02:18 +0000 (10:02 +0200)]
codec: jpeg: fix read ofw

4 years agodemux: ts: fix reset packetized flag
Francois Cartegnie [Mon, 17 Jul 2017 19:18:20 +0000 (21:18 +0200)]
demux: ts: fix reset packetized flag

refs #18532

4 years agomacOS build.sh: blacklisting for compat with older macOS versions
David Fuhrmann [Mon, 17 Jul 2017 18:50:00 +0000 (20:50 +0200)]
macOS build.sh: blacklisting for compat with older macOS versions

VLC should be compiled with the latest SDK version to benefit from
new features. The currently latest SDK (10.12) already marks
availability for lots of libc functions. Unfortunately, as of now
the autotools configure checks do not support these annotations.
Therefore, lets disable known symbols which are not present on our
minimal macOS version, which is 10.7, currently.

refs #18476

4 years agodemux: playlist: fix broken m3u logic (fix #18544)
Francois Cartegnie [Mon, 17 Jul 2017 18:46:20 +0000 (20:46 +0200)]
demux: playlist: fix broken m3u logic (fix #18544)

4 years agodemux: adaptive: debug drains
Francois Cartegnie [Thu, 13 Jul 2017 13:33:06 +0000 (15:33 +0200)]
demux: adaptive: debug drains

4 years agoes_out: fix track reselection (fix #18543)
Francois Cartegnie [Mon, 17 Jul 2017 17:07:34 +0000 (19:07 +0200)]
es_out: fix track reselection (fix #18543)

When a new ES is added and selected,
and the p_main_es is deleted, the es selection event
isn't triggered because the es is already selected

4 years agomacosx: Fix autolayout for ResumeDialog
David Fuhrmann [Sun, 9 Jul 2017 21:59:21 +0000 (23:59 +0200)]
macosx: Fix autolayout for ResumeDialog

Add some missing constraints, set target to 10.7. Fixes some
layout issues when running on 10.7 systems.

4 years agomacOS build.sh: Select ffmpeg for macOS contrib build
David Fuhrmann [Sun, 9 Jul 2017 17:25:52 +0000 (19:25 +0200)]
macOS build.sh: Select ffmpeg for macOS contrib build

As of now, ffmpeg is used for macOS building.

4 years agomacOS build.sh: use current kernel version for building triplet
David Fuhrmann [Sun, 9 Jul 2017 17:13:36 +0000 (19:13 +0200)]
macOS build.sh: use current kernel version for building triplet

Uses correct kernel version for contribs triplet, instead of
hardcoding one.

4 years agomacOS build.sh: Resolve full path to compilers
David Fuhrmann [Sun, 9 Jul 2017 17:10:43 +0000 (19:10 +0200)]
macOS build.sh: Resolve full path to compilers

Some contribs cannot be compiled by using "xcrun clang" as compiler
variable.

4 years agocontrib: Do not hardcode compiler variables for macOS
David Fuhrmann [Sun, 9 Jul 2017 16:53:09 +0000 (18:53 +0200)]
contrib: Do not hardcode compiler variables for macOS

Removal of those variables is done for multiple reasons:
- In general, the caller should set correct variables for compilers,
  this should not be done by the script itself
- In recent macOS versions, default stubs for compilers exist
  (/usr/bin/clang / gcc / cc), so there is not need to use xcrun
  anymore
- Some contribs fail to build with the multi-command notion given by
  xcrun cc, instead they are looking for a tool named "xcrun cc"
  which does not exist

4 years agochromecast: Always recreate the stream output chain
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 15:04:51 +0000 (17:04 +0200)]
chromecast: Always recreate the stream output chain

This was yielding false negative when remuxing (as the chain wouldn't
change, while the streams would)

4 years agochromecast: Remove write only member variable
Hugo Beauzée-Luyssen [Wed, 5 Jul 2017 13:25:11 +0000 (15:25 +0200)]
chromecast: Remove write only member variable

4 years agochromecast: Don't reject buffering states
Hugo Beauzée-Luyssen [Wed, 5 Jul 2017 13:18:57 +0000 (15:18 +0200)]
chromecast: Don't reject buffering states

This would cause wrong timing to be used

4 years agochromecast: Invert a condition to reduce indentation
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 13:55:29 +0000 (15:55 +0200)]
chromecast: Invert a condition to reduce indentation

4 years agochromecast: Split out sout chain creation in a specific function
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 13:54:41 +0000 (15:54 +0200)]
chromecast: Split out sout chain creation in a specific function

4 years agorenderer_discovery: Ensure we don't double release items
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 12:36:30 +0000 (14:36 +0200)]
renderer_discovery: Ensure we don't double release items

4 years agotranscode: Fix compile warning
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 12:36:17 +0000 (14:36 +0200)]
transcode: Fix compile warning

4 years agotranscode: Fix typo-induced memory leak
Hugo Beauzée-Luyssen [Mon, 17 Jul 2017 12:35:11 +0000 (14:35 +0200)]
transcode: Fix typo-induced memory leak

4 years agoaout: reset stereo-mode when a new aout is created
Thomas Guillem [Mon, 17 Jul 2017 11:36:28 +0000 (13:36 +0200)]
aout: reset stereo-mode when a new aout is created