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

2 years agoSplit out vlc_filenamecmp()
Rémi Denis-Courmont [Sun, 23 Jul 2017 08:43:14 +0000 (11:43 +0300)]
Split out vlc_filenamecmp()

(easier to test separately)

2 years agoRevert "lua: add decompression stream filter automatically (fixes #17132)"
Rémi Denis-Courmont [Sun, 23 Jul 2017 06:30:13 +0000 (09:30 +0300)]
Revert "lua: add decompression stream filter automatically (fixes #17132)"

This reverts commit dcd3a45eb4b1a950ffd4974ca1c5a915481da9bc.

2 years agoRevert "lua: use inflate rather than decomp stream filter"
Rémi Denis-Courmont [Sun, 23 Jul 2017 06:27:25 +0000 (09:27 +0300)]
Revert "lua: use inflate rather than decomp stream filter"

This reverts commit 268a46a0559c11abc95d32b7e26a706934d53623.

2 years agoRemove access_t
Rémi Denis-Courmont [Sun, 23 Jul 2017 05:43:16 +0000 (08:43 +0300)]
Remove access_t

2 years agovlm: fix variable shadowing
Rémi Denis-Courmont [Sun, 23 Jul 2017 05:45:44 +0000 (08:45 +0300)]
vlm: fix variable shadowing

2 years agoinput: probe stream filters in stream_AccessNew()
Rémi Denis-Courmont [Sat, 8 Jul 2017 10:13:32 +0000 (13:13 +0300)]
input: probe stream filters in stream_AccessNew()

This probes stream filters not only for the input thread stream (as
before), but also for custom vlc_stream_NewURL() callers.

2 years agoauhal: add headphone detection
Felix Paul Kühne [Sat, 22 Jul 2017 13:42:05 +0000 (15:42 +0200)]
auhal: add headphone detection

2 years agopacketizer: mpeg4audio: handle padding
Francois Cartegnie [Fri, 21 Jul 2017 23:40:40 +0000 (01:40 +0200)]
packetizer: mpeg4audio: handle padding

2 years agopacketizer: mpeg4audio: factorize header check
Francois Cartegnie [Fri, 21 Jul 2017 23:26:25 +0000 (01:26 +0200)]
packetizer: mpeg4audio: factorize header check

2 years agovlc_block_helper: fix offset peek
Francois Cartegnie [Fri, 21 Jul 2017 20:40:14 +0000 (22:40 +0200)]
vlc_block_helper: fix offset peek

returned incomplete peeks

2 years agodemux: subtitle: workaround multibytes regression
Francois Cartegnie [Fri, 21 Jul 2017 15:04:22 +0000 (17:04 +0200)]
demux: subtitle: workaround multibytes regression

As long as readline can't peek

2 years agobdagraph: Do not leak STA
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 12:29:35 +0000 (14:29 +0200)]
bdagraph: Do not leak STA

Fix #18183

2 years agocontrib:libarchive: fix type mismatch between declaration and definition
Steve Lhomme [Wed, 19 Jul 2017 06:46:02 +0000 (08:46 +0200)]
contrib:libarchive: fix type mismatch between declaration and definition

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agocontrib: Qt: Disable systray notification sounds
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 15:34:48 +0000 (17:34 +0200)]
contrib: Qt: Disable systray notification sounds

Fix #18530

2 years agoaudio_output:wasapi: make sure pwf_mix is initialized when we call CoTaskMemFree()
Steve Lhomme [Fri, 21 Jul 2017 14:27:07 +0000 (16:27 +0200)]
audio_output:wasapi: make sure pwf_mix is initialized when we call CoTaskMemFree()

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2 years agolua: update french channels list
Jean-Baptiste Kempf [Fri, 21 Jul 2017 14:29:19 +0000 (16:29 +0200)]
lua: update french channels list

Close #18068

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoqt: playlist: Display the stream icon when appropriate
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 13:56:21 +0000 (15:56 +0200)]
qt: playlist: Display the stream icon when appropriate

Fix #18534

2 years agomkv: Fix track format initialization
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 13:29:34 +0000 (15:29 +0200)]
mkv: Fix track format initialization

2 years agovout_intf: remove local write-only variable
Steve Lhomme [Wed, 12 Jul 2017 14:51:22 +0000 (16:51 +0200)]
vout_intf: remove local write-only variable

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agovlc_filter.h: add more comment on filter_chain_Reset
Steve Lhomme [Thu, 13 Jul 2017 12:50:33 +0000 (14:50 +0200)]
vlc_filter.h: add more comment on filter_chain_Reset

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2 years agoimage: use es_format_InitFromVideo() instead of es_format_Init()
Steve Lhomme [Thu, 13 Jul 2017 12:50:34 +0000 (14:50 +0200)]
image: use es_format_InitFromVideo() instead of es_format_Init()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>