vlc.git
21 months agocontrib: gnutls: disable getentropy in gnutls configure
David Fuhrmann [Wed, 9 Aug 2017 19:39:33 +0000 (21:39 +0200)]
contrib: gnutls: disable getentropy in gnutls configure

getentropy has been introduced only in 10.12, so it is not
available on earlier osx versions. As VLC will support up to 10.7,
disable the check.

refs #18476

21 months agoiconv: handle NULL pointers (fixes #18677)
Rémi Denis-Courmont [Wed, 9 Aug 2017 19:34:27 +0000 (22:34 +0300)]
iconv: handle NULL pointers (fixes #18677)

21 months agomacosx: Fix disambiguaties in controls bar width autolayout
David Fuhrmann [Wed, 9 Aug 2017 17:32:57 +0000 (19:32 +0200)]
macosx: Fix disambiguaties in controls bar width autolayout

Try to fix disambiguaties by:
- Remove optional constraints, instead set width constraint to 0
  to hide fullscreen button
- Decrease content hugging priority to 200 for slider (this should
  always expand)
- Fix some width constraints in detached window: Each button group
  does not define a width, but the (sometimes) intrinsic or
  explicit size define the with of the entire group

General fixes:
- Order slider in list according to appearance

21 months agomacosx: Improve truncation of log messages
Marvin Scholz [Wed, 9 Aug 2017 16:42:54 +0000 (18:42 +0200)]
macosx: Improve truncation of log messages

21 months agovout:win32: remove support for hiding the cursor from the core
Steve Lhomme [Wed, 9 Aug 2017 12:48:11 +0000 (14:48 +0200)]
vout:win32: remove support for hiding the cursor from the core

It's now done internally and not in sync with the core anyway.
So we don't handle VOUT_DISPLAY_HIDE_MOUSE anymore.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agovout:win32: hide the mouse if it has been inactive for too long
Steve Lhomme [Wed, 9 Aug 2017 12:42:28 +0000 (14:42 +0200)]
vout:win32: hide the mouse if it has been inactive for too long

Use a timer tied to the HWND.

Fix #17819

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agovout:win32: fix hiding the cursor
Steve Lhomme [Wed, 9 Aug 2017 12:42:27 +0000 (14:42 +0200)]
vout:win32: fix hiding the cursor

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agovideo_output: ignore vouts that can't handle 360 video unless forced
Steve Lhomme [Fri, 28 Jul 2017 16:41:01 +0000 (18:41 +0200)]
video_output: ignore vouts that can't handle 360 video unless forced

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agodemux:mkv: fix logs
Steve Lhomme [Wed, 9 Aug 2017 13:15:11 +0000 (15:15 +0200)]
demux:mkv: fix logs

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agoavcodec:va: make D3D11VA and DXVA2 available when "any" avcodec-hw is selected
Steve Lhomme [Fri, 28 Jul 2017 15:17:45 +0000 (17:17 +0200)]
avcodec:va: make D3D11VA and DXVA2 available when "any" avcodec-hw is selected

Ref #18078

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agodemux:mkv: read mastering/lighting metadata
Steve Lhomme [Wed, 9 Aug 2017 09:24:30 +0000 (11:24 +0200)]
demux:mkv: read mastering/lighting metadata

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agomacosx: Fix missing colon when copying log message
Marvin Scholz [Wed, 9 Aug 2017 12:38:44 +0000 (14:38 +0200)]
macosx: Fix missing colon when copying log message

21 months agomacosx: Remove unused variable
Marvin Scholz [Wed, 9 Aug 2017 12:37:43 +0000 (14:37 +0200)]
macosx: Remove unused variable

21 months agomacosx: Clarify VLCLogWindowController description
Marvin Scholz [Wed, 9 Aug 2017 12:26:57 +0000 (14:26 +0200)]
macosx: Clarify VLCLogWindowController description

This class has nothing to do with a crash reporter.

21 months agomacosx: Rename VLCDebugMessageWindowController to VLCLogWindowController
Marvin Scholz [Wed, 9 Aug 2017 12:23:43 +0000 (14:23 +0200)]
macosx: Rename VLCDebugMessageWindowController to VLCLogWindowController

This name is much shorter and a lot easier to understand, as it is less
likely to be confused with the error messages window stuff.

21 months agomacosx: Fix DefaultValueSlider tickmark position in RTL layout
Marvin Scholz [Wed, 9 Aug 2017 09:20:46 +0000 (11:20 +0200)]
macosx: Fix DefaultValueSlider tickmark position in RTL layout

21 months agoactions: add vlc_actions_get_keycodes
Thomas Guillem [Thu, 3 Aug 2017 13:10:45 +0000 (15:10 +0200)]
actions: add vlc_actions_get_keycodes

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: replace libvlc->p_hotkeys
Thomas Guillem [Thu, 3 Aug 2017 13:10:44 +0000 (15:10 +0200)]
actions: replace libvlc->p_hotkeys

Use vlc_actions_get_key_names instead

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: rename vlc_keys
Thomas Guillem [Thu, 3 Aug 2017 13:10:43 +0000 (15:10 +0200)]
actions: rename vlc_keys

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: rename functions
Thomas Guillem [Thu, 3 Aug 2017 13:10:42 +0000 (15:10 +0200)]
actions: rename functions

Keep vlc_* for core functions.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: rename static struct actions
Thomas Guillem [Thu, 3 Aug 2017 13:10:41 +0000 (15:10 +0200)]
actions: rename static struct actions

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: remove useless typedef
Thomas Guillem [Thu, 3 Aug 2017 13:10:40 +0000 (15:10 +0200)]
actions: remove useless typedef

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: remove duplicate include config.h
Thomas Guillem [Thu, 3 Aug 2017 13:10:39 +0000 (15:10 +0200)]
actions: remove duplicate include config.h

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: rename vlc_GetActionId to vlc_actions_get_id
Thomas Guillem [Thu, 3 Aug 2017 13:10:38 +0000 (15:10 +0200)]
actions: rename vlc_GetActionId to vlc_actions_get_id

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: rename struct vlc_actions to vlc_actions_t
Thomas Guillem [Thu, 3 Aug 2017 13:10:37 +0000 (15:10 +0200)]
actions: rename struct vlc_actions to vlc_actions_t

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoactions: refactor init/deinit functions
Thomas Guillem [Thu, 3 Aug 2017 13:10:36 +0000 (15:10 +0200)]
actions: refactor init/deinit functions

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agocore: rename vlc_keys.h to vlc_actions.h
Thomas Guillem [Thu, 3 Aug 2017 13:10:35 +0000 (15:10 +0200)]
core: rename vlc_keys.h to vlc_actions.h

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agocore: rename vlc_action_t to vlc_action_id_t
Thomas Guillem [Thu, 3 Aug 2017 13:10:34 +0000 (15:10 +0200)]
core: rename vlc_action_t to vlc_action_id_t

Since we'll need vlc_actions_t

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agomacosx: Replace NSInvocation with dispatch_sync block
Marvin Scholz [Mon, 7 Aug 2017 19:26:17 +0000 (21:26 +0200)]
macosx: Replace NSInvocation with dispatch_sync block

21 months agomacosx: Correct camel case method name
Marvin Scholz [Mon, 7 Aug 2017 19:17:14 +0000 (21:17 +0200)]
macosx: Correct camel case method name

21 months agomacosx: Replace NSInvocations with block dispatch
Marvin Scholz [Mon, 7 Aug 2017 16:02:45 +0000 (18:02 +0200)]
macosx: Replace NSInvocations with block dispatch

21 months agomacOS build.sh: Add option to limit number of cores to be used
David Fuhrmann [Tue, 8 Aug 2017 19:58:36 +0000 (21:58 +0200)]
macOS build.sh: Add option to limit number of cores to be used

The parameter passed by with -j will be forwarded to the -j
parameter of make calls. If the option is not set, a default value
is used. By passing 1, the caller can force one core only.

21 months agodirectx_va: list when VP9 Profile 2 is supported
Steve Lhomme [Tue, 8 Aug 2017 15:22:25 +0000 (17:22 +0200)]
directx_va: list when VP9 Profile 2 is supported

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agompg123: fix sign comparison about rate
Jean-Baptiste Kempf [Tue, 8 Aug 2017 09:19:32 +0000 (11:19 +0200)]
mpg123: fix sign comparison about rate

mpg123 uses long as rate...

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agovlc_vout: the output video_format_t in vout_GetSnapshot() can be NULL
Steve Lhomme [Thu, 13 Jul 2017 12:50:35 +0000 (14:50 +0200)]
vlc_vout: the output video_format_t in vout_GetSnapshot() can be NULL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agoQt : remove white Icons from svg source and script
Alexandre Perraud [Mon, 7 Aug 2017 14:41:15 +0000 (16:41 +0200)]
Qt : remove white Icons from svg source and script

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoqt: Remove duplicated icons
Hugo Beauzée-Luyssen [Mon, 7 Aug 2017 13:20:34 +0000 (15:20 +0200)]
qt: Remove duplicated icons

Fix #18650

21 months agoPS: fix format strings
Jean-Baptiste Kempf [Tue, 8 Aug 2017 09:19:03 +0000 (11:19 +0200)]
PS: fix format strings

21 months agomacosx: Rename and invert isNotEmbedded
Marvin Scholz [Mon, 7 Aug 2017 19:57:07 +0000 (21:57 +0200)]
macosx: Rename and invert isNotEmbedded

This makes it easier to understand the meaning and read the code.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agomacosx: Rename variables
Marvin Scholz [Mon, 7 Aug 2017 19:57:06 +0000 (21:57 +0200)]
macosx: Rename variables

Rename a bunch of variables to clarify their meaning.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agomacosx: Remove unused variable
Marvin Scholz [Mon, 7 Aug 2017 19:57:05 +0000 (21:57 +0200)]
macosx: Remove unused variable

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agoos2: package: enable libass and fribidi
KO Myung-Hun [Tue, 8 Aug 2017 05:08:55 +0000 (14:08 +0900)]
os2: package: enable libass and fribidi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agoNSIS: Add icon to extension context menu (fixes #18648)
Daniel Amm [Mon, 7 Aug 2017 22:20:50 +0000 (00:20 +0200)]
NSIS: Add icon to extension context menu (fixes #18648)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agoaccess: dc1394: fix type mismatch
Zhao Zhili [Tue, 8 Aug 2017 02:12:43 +0000 (10:12 +0800)]
access: dc1394: fix type mismatch

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agodvb-text: fix format string
Rémi Denis-Courmont [Mon, 7 Aug 2017 19:02:18 +0000 (22:02 +0300)]
dvb-text: fix format string

21 months agovariables: missing initializer
Rémi Denis-Courmont [Mon, 7 Aug 2017 19:02:02 +0000 (22:02 +0300)]
variables: missing initializer

21 months agoqt: sub-file expects a file path (fixes #18664)
Rémi Denis-Courmont [Mon, 7 Aug 2017 18:46:07 +0000 (21:46 +0300)]
qt: sub-file expects a file path (fixes #18664)

The sub-file wants a file path, not an URI. Set it accordingly.

NOTE: Either way, this won´t work if the path contains a whitespace
because of longstanding bug #1952.

21 months agodxva2_deinterlace: always fill the output picture->context
Steve Lhomme [Mon, 7 Aug 2017 10:46:23 +0000 (12:46 +0200)]
dxva2_deinterlace: always fill the output picture->context

It is necessary for snapshots which create a picture from scratch and then copy
"pixels" using the planes or the context callback.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agod3d11_deinterlace: always fill the output picture->context
Steve Lhomme [Mon, 7 Aug 2017 10:46:22 +0000 (12:46 +0200)]
d3d11_deinterlace: always fill the output picture->context

It is necessary for snapshots which create a picture from scratch and then copy
"pixels" using the planes or the context callback.

Fixes #18533

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agoaccess/cdda: Do not discard const qualifier
Marvin Scholz [Mon, 7 Aug 2017 16:26:01 +0000 (18:26 +0200)]
access/cdda: Do not discard const qualifier

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agoglwin32: correct vertical alignment
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:41:12 +0000 (19:41 +0200)]
glwin32: correct vertical alignment

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agocaopengllayer: correct vertical alignment
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:41:11 +0000 (19:41 +0200)]
caopengllayer: correct vertical alignment

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agomacosx: macosx-gl-display: correct vertical alignment
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:41:10 +0000 (19:41 +0200)]
macosx: macosx-gl-display: correct vertical alignment

The GL textures are Y inverted, so we must reverse the vertical alignment.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agoopengl: correct vertical alignment
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:41:09 +0000 (19:41 +0200)]
opengl: correct vertical alignment

The GL textures are Y inverted, so we must reverse the vertical alignment.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agovlc_vout_display: fix comment after renaming and inverting logic
Steve Lhomme [Mon, 7 Aug 2017 13:01:47 +0000 (15:01 +0200)]
vlc_vout_display: fix comment after renaming and inverting logic

In 40c96414f343d2fd939cf3053d9dc80930891c7e

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agovlc_vout_display: use VLC_DEPRECATED_ENUM for enumerators
Steve Lhomme [Mon, 7 Aug 2017 11:22:32 +0000 (13:22 +0200)]
vlc_vout_display: use VLC_DEPRECATED_ENUM for enumerators

It's not available on all GCCs

Fix regression from
057e5729c51c693e255c9348046c103b75bdb19c,
40c96414f343d2fd939cf3053d9dc80930891c7e,
c900e39cf935b77f0f47383eb95936297c650651

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agovlc_common: GCC enumerator attributes are only available since gcc 6
Steve Lhomme [Mon, 7 Aug 2017 11:22:31 +0000 (13:22 +0200)]
vlc_common: GCC enumerator attributes are only available since gcc 6

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
21 months agoqt: win32 intf: Fix task bar icon display
Hugo Beauzée-Luyssen [Mon, 7 Aug 2017 11:31:37 +0000 (13:31 +0200)]
qt: win32 intf: Fix task bar icon display

refs #18650

21 months agovout:ios: Do not use passed video_format_t for CROP/ASPECT_RATIO changes
Steve Lhomme [Mon, 7 Aug 2017 10:58:01 +0000 (12:58 +0200)]
vout:ios: Do not use passed video_format_t for CROP/ASPECT_RATIO changes

Signed-off-by: Marvin Scholz <epirat07@gmail.com>
21 months agovout/caopengllayer: Do not use passed video_format_t for CROP/ASPECT_RATIO changes
Marvin Scholz [Mon, 7 Aug 2017 10:14:19 +0000 (12:14 +0200)]
vout/caopengllayer: Do not use passed video_format_t for CROP/ASPECT_RATIO changes

Since d9e1ff011ef0ebd262219df8e9ba3948afb7825f this is no longer passed,
vd->source is used instead.

21 months agovout/macosx: Do not use passed video_format_t for CROP/ASPECT_RATIO changes
Marvin Scholz [Mon, 7 Aug 2017 10:08:47 +0000 (12:08 +0200)]
vout/macosx: Do not use passed video_format_t for CROP/ASPECT_RATIO changes

Since d9e1ff011ef0ebd262219df8e9ba3948afb7825f this is no longer passed,
vd->source is used instead.

21 months agomacosx: Fix incorrectly saved XIB
Marvin Scholz [Mon, 7 Aug 2017 08:15:13 +0000 (10:15 +0200)]
macosx: Fix incorrectly saved XIB

21 months agovideo_output:win32: remove the video_format_t parameter
Steve Lhomme [Mon, 7 Aug 2017 07:02:38 +0000 (09:02 +0200)]
video_output:win32: remove the video_format_t parameter

It's always vd->source.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agodemux:mkv: don't overwrite a seekpoint using a lower trusted level
Steve Lhomme [Fri, 4 Aug 2017 12:29:03 +0000 (14:29 +0200)]
demux:mkv: don't overwrite a seekpoint using a lower trusted level

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agodemux:mkv: don't invalid the cues just because we don't use the extra information
Steve Lhomme [Fri, 4 Aug 2017 12:29:02 +0000 (14:29 +0200)]
demux:mkv: don't invalid the cues just because we don't use the extra information

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agovout: rename and invert has_hide_mouse
Rémi Denis-Courmont [Sun, 6 Aug 2017 07:48:50 +0000 (10:48 +0300)]
vout: rename and invert has_hide_mouse

The name was meant to indicate that the plugin hid the pointer
autonomously. But it was ostensibly confused as implying that the
plugin had a mouse hiding control (basically the exact opposite).
In fact, it really meant that the mouse hiding control would NOT be
used.

This tries to provide a slightly less confusing name, and accordingly
inverts the meaning. This is also realigns with the convention that
false should be the default setting (which was broken in the grand
grand parent of this changeset).

21 months agoios vout: fix incorrect hide mouse setting
Rémi Denis-Courmont [Sun, 6 Aug 2017 07:59:10 +0000 (10:59 +0300)]
ios vout: fix incorrect hide mouse setting

This vout never had mouse hiding, AFAICT.

21 months agovout: remove dummy dead VOUT_DISPLAY_HIDE_MOUSE controls
Rémi Denis-Courmont [Sun, 6 Aug 2017 07:38:37 +0000 (10:38 +0300)]
vout: remove dummy dead VOUT_DISPLAY_HIDE_MOUSE controls

Depending on the value of info.has_hide_mouse, the control is never
called. No point in providing a dummy implementation then.

21 months agovout: make has_hide_mouse true by default
Rémi Denis-Courmont [Sun, 6 Aug 2017 07:37:34 +0000 (10:37 +0300)]
vout: make has_hide_mouse true by default

Most video output displays either defer mouse hiding to the window
provider plugin, or do not handle the mouse events at all.
So that ought to be the default.

Also kepe the default in those display plugins that don´t handle
cursor hiding (notably X11 ones).

21 months agodisplay: always compute mouse hide timeout
Rémi Denis-Courmont [Sun, 6 Aug 2017 19:59:25 +0000 (22:59 +0300)]
display: always compute mouse hide timeout

Cursor management should eventually be moved from display to the window.
(The video output core still needs to take care of the window to video
translation, and the mouse event filtering, as it already does.)
And cursor hiding should be left entirely within the window plugins.

But in the mean time, compute the correct timestamps regardless of the
cursor hiding support in display plugin, so that it also works if the
cursor is hidden by the window plugin.

21 months agolua: fix dailymotion parsing
Nicolas Chauvet [Sun, 6 Aug 2017 10:59:15 +0000 (12:59 +0200)]
lua: fix dailymotion parsing

Current dailymotion html uses "var __PLAYER_CONFIG__" instead of
"var config" to store data such as username, qualities and etc.
Others fields are unchanged.

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agofourcc: fix non zero terminated fallback array
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:41:01 +0000 (19:41 +0200)]
fourcc: fix non zero terminated fallback array

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agosplitter: wall: fix incorrect unecessary output condition
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:40:59 +0000 (19:40 +0200)]
splitter: wall: fix incorrect unecessary output condition

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agosplitter: wall: fix incorrect sizes
Victorien Le Couviour--Tuffet [Fri, 4 Aug 2017 17:40:58 +0000 (19:40 +0200)]
splitter: wall: fix incorrect sizes

The computations must not be done on the buffer size but on the video one.
Otherwise, we might end up with the sum of all output sizes bigger than the
video itself, which results in a green strip at the bottom of the lowest
outputs, and potentially incorrect display for all of them (with bad width).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
21 months agodemux: adaptive: fix warning of reorder
Zhao Zhili [Fri, 4 Aug 2017 17:25:49 +0000 (01:25 +0800)]
demux: adaptive: fix warning of reorder

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agolua: fix dist
Rémi Denis-Courmont [Sun, 6 Aug 2017 19:41:15 +0000 (22:41 +0300)]
lua: fix dist

21 months agoextras/macosx: Disable sdl-image in configure.sh
Marvin Scholz [Sun, 6 Aug 2017 19:29:17 +0000 (21:29 +0200)]
extras/macosx: Disable sdl-image in configure.sh

Previously SDL and SDL Image was disabled with the --disable-sdl flag,
with that flag gone, SDL Image needs to be disabled explicitly instead.

21 months agowindow: deinhibit the screensaver on pause (fixes #3724)
Rémi Denis-Courmont [Sun, 6 Aug 2017 15:47:16 +0000 (18:47 +0300)]
window: deinhibit the screensaver on pause (fixes #3724)

21 months agowindow: report all double clicks
Rémi Denis-Courmont [Sun, 6 Aug 2017 13:53:16 +0000 (16:53 +0300)]
window: report all double clicks

Because we can.

21 months agowindow: improve doxygen
Rémi Denis-Courmont [Sun, 6 Aug 2017 13:44:22 +0000 (16:44 +0300)]
window: improve doxygen

21 months agowindow: add info struct and double click flag
Rémi Denis-Courmont [Sun, 6 Aug 2017 13:26:55 +0000 (16:26 +0300)]
window: add info struct and double click flag

Like display plugins before, window plugins need to be handled
differently if they emit double click events than not.

21 months agovout: remove unused mouse visible/invisible event
Rémi Denis-Courmont [Sun, 6 Aug 2017 14:54:36 +0000 (17:54 +0300)]
vout: remove unused mouse visible/invisible event

The window/display already have events/controls for this, and nothing
else cared, cares and probably will ever care.

21 months agovout: remove core event thread
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:49:13 +0000 (23:49 +0300)]
vout: remove core event thread

21 months agocaca: use new event thread helper
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:48:14 +0000 (23:48 +0300)]
caca: use new event thread helper

21 months agoaa: use new event thread helper
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:48:14 +0000 (23:48 +0300)]
aa: use new event thread helper

21 months agovout: add legacy event thread helper outside core
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:47:32 +0000 (23:47 +0300)]
vout: add legacy event thread helper outside core

21 months agovout display: deprecate the "manage" callback (refs #17700)
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:13:43 +0000 (23:13 +0300)]
vout display: deprecate the "manage" callback (refs #17700)

21 months agovout_display: remove/deprecate fullscreen state
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:04:57 +0000 (23:04 +0300)]
vout_display: remove/deprecate fullscreen state

Live window state, this was moved from display to window eight years
ago (minus one week). When the fullscreen state changes, the window
plugin emits a resize event, which triggers any necessary updates in
the display. The display does not need to know about fullscreen state
as such. But it is retained on HWND platforms due to legacy code, just
like window state before.

21 months agosdl: remove video output
Rémi Denis-Courmont [Sat, 5 Aug 2017 18:08:45 +0000 (21:08 +0300)]
sdl: remove video output

The SDL video output has been forcefully disabled on MacOS X for 12
years. It has also been disabled in Windows builds for over 6 years.
Finally, it has been broken on X11 due to lack of windowing
integration, for several years, cannot be fixed without changes to
the SDL API, and is completely useless.

21 months agodirectfb: remove legacy video output
Rémi Denis-Courmont [Sat, 5 Aug 2017 18:00:06 +0000 (21:00 +0300)]
directfb: remove legacy video output

The DirectFB project has been dead for several years, and is ostensibly
not used. If you really need direct access to the Linux frame buffer,
there is still the raw LinuxFB module for the time being.

21 months agovout_display: mark CHANGE_WINDOW_STATE deprecated
Rémi Denis-Courmont [Sat, 5 Aug 2017 20:03:23 +0000 (23:03 +0300)]
vout_display: mark CHANGE_WINDOW_STATE deprecated

This was moved from display to window eight years ago.

21 months agodisplay: preserve actual height on A/R or crop change
Rémi Denis-Courmont [Sat, 5 Aug 2017 19:16:49 +0000 (22:16 +0300)]
display: preserve actual height on A/R or crop change

...rather than the last saved height. In practice, this does not make
much if any difference though, as:
- the saved height should equal the actual height in windowed mode,
- the code path has no effects in fullscreen mode.

21 months agommal vout: pictures reset is impossible
Rémi Denis-Courmont [Sat, 5 Aug 2017 18:23:01 +0000 (21:23 +0300)]
mmal vout: pictures reset is impossible

Assert that it does not happen, like with all or almost all other
non-resetting video outputs.

21 months agoold http: remove useless b_continuous member
Zhao Zhili [Fri, 4 Aug 2017 02:46:19 +0000 (10:46 +0800)]
old http: remove useless b_continuous member

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agodisplay: no need to pass the video_format_t for CROP/ASPECT_RATIO changes
Steve Lhomme [Wed, 2 Aug 2017 07:33:37 +0000 (09:33 +0200)]
display: no need to pass the video_format_t for CROP/ASPECT_RATIO changes

It's always found in vd->source.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agodisplay: no need for a local video_format_t with VOUT_DISPLAY_CHANGE_SOURCE_CROP
Steve Lhomme [Wed, 2 Aug 2017 07:33:36 +0000 (09:33 +0200)]
display: no need for a local video_format_t with VOUT_DISPLAY_CHANGE_SOURCE_CROP

Receivers don't check the difference with the original value, they just apply
the new value.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agodisplay: no need for a local video_format_t with VOUT_DISPLAY_CHANGE_SOURCE_ASPECT
Steve Lhomme [Wed, 2 Aug 2017 07:33:35 +0000 (09:33 +0200)]
display: no need for a local video_format_t with VOUT_DISPLAY_CHANGE_SOURCE_ASPECT

Receivers don't check the difference with the original value, they just apply
the new value.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
21 months agoshare: Install precompiled lua scripts in /share instead of /lib
Hugo Beauzée-Luyssen [Thu, 3 Aug 2017 14:31:09 +0000 (16:31 +0200)]
share: Install precompiled lua scripts in /share instead of /lib

Fix #18639

21 months agolib: Automatically select the default teletext page on activation
Hugo Beauzée-Luyssen [Fri, 4 Aug 2017 13:05:02 +0000 (15:05 +0200)]
lib: Automatically select the default teletext page on activation

Fix #18638

21 months agodeinterlace:dxva: fix a bogus string test
Steve Lhomme [Fri, 4 Aug 2017 09:30:56 +0000 (11:30 +0200)]
deinterlace:dxva: fix a bogus string test

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