vlc.git
5 years agoConfigure: use AC_PATH_PROG for yasm detection
Jean-Baptiste Kempf [Fri, 17 Oct 2014 09:50:28 +0000 (11:50 +0200)]
Configure: use AC_PATH_PROG for yasm detection

5 years agoConfigure: check protoc with AC_PATH_PROG
Jean-Baptiste Kempf [Fri, 17 Oct 2014 09:45:17 +0000 (11:45 +0200)]
Configure: check protoc with AC_PATH_PROG

5 years agoConfigure: more elegant check of tools bin folder
Jean-Baptiste Kempf [Fri, 17 Oct 2014 09:44:13 +0000 (11:44 +0200)]
Configure: more elegant check of tools bin folder

5 years agoConfigure: fix tools PATH
Jean-Baptiste Kempf [Fri, 17 Oct 2014 09:38:44 +0000 (11:38 +0200)]
Configure: fix tools PATH

5 years agoconfigure: add tools from extras/tools to the PATH
Jean-Baptiste Kempf [Sat, 11 Oct 2014 13:35:10 +0000 (13:35 +0000)]
configure: add tools from extras/tools to the PATH

5 years agoTools: create also the lib folder for ant
Jean-Baptiste Kempf [Fri, 17 Oct 2014 08:54:41 +0000 (10:54 +0200)]
Tools: create also the lib folder for ant

5 years agoTools: create directories before cp into them
Jean-Baptiste Kempf [Fri, 17 Oct 2014 08:46:56 +0000 (10:46 +0200)]
Tools: create directories before cp into them

5 years agodemux: mp4: don't display zero trkn total
Francois Cartegnie [Thu, 16 Oct 2014 18:56:21 +0000 (20:56 +0200)]
demux: mp4: don't display zero trkn total

5 years agodemux: mp4: add some missing raw audio atom/rules
Francois Cartegnie [Thu, 16 Oct 2014 18:46:32 +0000 (20:46 +0200)]
demux: mp4: add some missing raw audio atom/rules

5 years agodemux: libmp4: split major brands from atoms
Francois Cartegnie [Thu, 16 Oct 2014 17:50:44 +0000 (19:50 +0200)]
demux: libmp4: split major brands from atoms

5 years agodemux: libmp4: add flvr atom
Francois Cartegnie [Thu, 16 Oct 2014 17:05:40 +0000 (19:05 +0200)]
demux: libmp4: add flvr atom

5 years agodemux: libmp4: add xid_ atom
Francois Cartegnie [Thu, 16 Oct 2014 17:01:58 +0000 (19:01 +0200)]
demux: libmp4: add xid_ atom

5 years agodemux: libmp4: add rtng atom
Francois Cartegnie [Thu, 16 Oct 2014 16:57:59 +0000 (18:57 +0200)]
demux: libmp4: add rtng atom

5 years agodemux: libmp4: add itunes special atoms
Francois Cartegnie [Thu, 16 Oct 2014 16:51:34 +0000 (18:51 +0200)]
demux: libmp4: add itunes special atoms

5 years agodemux: libmp4: add support for disk meta
Francois Cartegnie [Thu, 16 Oct 2014 16:08:49 +0000 (18:08 +0200)]
demux: libmp4: add support for disk meta

5 years agodemux: mp4: remove special handler for atom gnre
Francois Cartegnie [Thu, 16 Oct 2014 14:34:29 +0000 (16:34 +0200)]
demux: mp4: remove special handler for atom gnre

5 years agodemux: mp4: remove special handler for trkn atom
Francois Cartegnie [Thu, 16 Oct 2014 14:26:18 +0000 (16:26 +0200)]
demux: mp4: remove special handler for trkn atom

5 years agodemux: libmp4: move out data blob rules
Francois Cartegnie [Thu, 16 Oct 2014 12:04:59 +0000 (14:04 +0200)]
demux: libmp4: move out data blob rules

5 years agodemux: mp4: rewrite meta handling
Francois Cartegnie [Thu, 16 Oct 2014 10:59:35 +0000 (12:59 +0200)]
demux: mp4: rewrite meta handling

Follow the spec and correctly handle text encoding

5 years agodemux: libmp4: add define for handlers
Francois Cartegnie [Wed, 15 Oct 2014 22:40:19 +0000 (00:40 +0200)]
demux: libmp4: add define for handlers

5 years agodemux: mp4: use data type for cover
Francois Cartegnie [Wed, 15 Oct 2014 15:42:08 +0000 (17:42 +0200)]
demux: mp4: use data type for cover

And fix reading

5 years agodemux: libmp4: read ilst as indexed list
Francois Cartegnie [Wed, 15 Oct 2014 14:41:53 +0000 (16:41 +0200)]
demux: libmp4: read ilst as indexed list

And enforce handler

5 years agodemux: libmp4: add support for index prefixed atom list
Francois Cartegnie [Wed, 15 Oct 2014 14:41:15 +0000 (16:41 +0200)]
demux: libmp4: add support for index prefixed atom list

5 years agodemux: libmp4: simplify dump code
Francois Cartegnie [Wed, 15 Oct 2014 14:40:01 +0000 (16:40 +0200)]
demux: libmp4: simplify dump code

5 years agodemux: libmp4: fix reading data atom
Francois Cartegnie [Wed, 15 Oct 2014 14:19:48 +0000 (16:19 +0200)]
demux: libmp4: fix reading data atom

5 years agodemux: libmp4: add meta keys atom
Francois Cartegnie [Tue, 14 Oct 2014 20:08:27 +0000 (22:08 +0200)]
demux: libmp4: add meta keys atom

5 years agodemux: mp4: remove useless header
Francois Cartegnie [Thu, 16 Oct 2014 17:16:42 +0000 (19:16 +0200)]
demux: mp4: remove useless header

5 years agoWayland: check HAVE_WAYLAND_EGL
Rémi Denis-Courmont [Thu, 16 Oct 2014 17:55:37 +0000 (20:55 +0300)]
Wayland: check HAVE_WAYLAND_EGL

5 years agoVSXU: fix build
Jean-Baptiste Kempf [Thu, 16 Oct 2014 17:35:53 +0000 (19:35 +0200)]
VSXU: fix build

5 years agoWayland/shell: implement basic window size handling
Rémi Denis-Courmont [Thu, 16 Oct 2014 17:21:21 +0000 (20:21 +0300)]
Wayland/shell: implement basic window size handling

5 years agoWayland/shell: fix NULL dereference in pathological case
Rémi Denis-Courmont [Thu, 16 Oct 2014 17:21:01 +0000 (20:21 +0300)]
Wayland/shell: fix NULL dereference in pathological case

5 years agoWayland/screen: remove useless callbacks
Rémi Denis-Courmont [Thu, 16 Oct 2014 17:00:52 +0000 (20:00 +0300)]
Wayland/screen: remove useless callbacks

Those two callbacks only exist in wl_output version 2. VLC uses
version 1 only so far.

5 years agovout: pass only a boolean to VOUT_DISPLAY_CHANGE_FULLSCREEN control
Rémi Denis-Courmont [Wed, 15 Oct 2014 19:31:55 +0000 (22:31 +0300)]
vout: pass only a boolean to VOUT_DISPLAY_CHANGE_FULLSCREEN control

5 years agommal: do not pretend to support fullscreen toggle
Rémi Denis-Courmont [Wed, 15 Oct 2014 19:30:54 +0000 (22:30 +0300)]
mmal: do not pretend to support fullscreen toggle

5 years agovout: ignore CHANGE_DISPLAY_SIZE failure
Rémi Denis-Courmont [Wed, 15 Oct 2014 19:14:52 +0000 (22:14 +0300)]
vout: ignore CHANGE_DISPLAY_SIZE failure

In practice, video output display plugins return an error when they do
not support arbitrary sizes. However nowadays, this control is requested
only when the video output or the video window report a change of size.
That cannot be allowed to fail: the display size is what it is
regardless of the result of the control request.

5 years agocaca: do not pretend to support resize
Rémi Denis-Courmont [Wed, 15 Oct 2014 19:13:22 +0000 (22:13 +0300)]
caca: do not pretend to support resize

5 years agoegl: add Wayland extended platform support
Rémi Denis-Courmont [Wed, 27 Aug 2014 17:11:24 +0000 (20:11 +0300)]
egl: add Wayland extended platform support

This enables OpenGL/OpenGL ES through Wayland.

5 years agogl: add resize callback
Rémi Denis-Courmont [Mon, 13 Oct 2014 20:35:35 +0000 (23:35 +0300)]
gl: add resize callback

At least the Wayland EGL backend needs to be notified of the size of
the window (which is independent of glViewport()).

This could conceivably also be implemented with a call to
glGetIntegerv(GL_VIEWPORT), but that would introduce a dependency on
the GL - which the EGL plugin has avoided so far.

5 years agoMMAL: check that the vout is not windowed
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:48:03 +0000 (22:48 +0300)]
MMAL: check that the vout is not windowed

5 years agoSDL: check that the vout is not windowed
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:43:23 +0000 (22:43 +0300)]
SDL: check that the vout is not windowed

If there is a window, it has to be used given the video output has non-zero
priority. Unfortunately, there are no good ways to run SDL within a window
(it can be done, but it is not thread-safe).

5 years agoiOS: check that the vout is not windowed
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:43:01 +0000 (22:43 +0300)]
iOS: check that the vout is not windowed

5 years agoLinux FB: check that the vout is not windowed
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:42:47 +0000 (22:42 +0300)]
Linux FB: check that the vout is not windowed

5 years agoDirectFB: check that the vout is not windowed
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:42:33 +0000 (22:42 +0300)]
DirectFB: check that the vout is not windowed

5 years agocaca: check that the vout is not windowed
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:42:02 +0000 (22:42 +0300)]
caca: check that the vout is not windowed

5 years agovout: remove dummy vout support (no longer used)
Rémi Denis-Courmont [Tue, 14 Oct 2014 17:54:38 +0000 (20:54 +0300)]
vout: remove dummy vout support (no longer used)

5 years agovout: privatize vout_display functions
Rémi Denis-Courmont [Tue, 14 Oct 2014 17:54:20 +0000 (20:54 +0300)]
vout: privatize vout_display functions

5 years agogl: do not specify a type for the requested window
Rémi Denis-Courmont [Mon, 13 Oct 2014 17:06:52 +0000 (20:06 +0300)]
gl: do not specify a type for the requested window

5 years agovout: remove no longer used VOUT_DISPLAY_GET_OPENGL
Rémi Denis-Courmont [Mon, 13 Oct 2014 16:41:48 +0000 (19:41 +0300)]
vout: remove no longer used VOUT_DISPLAY_GET_OPENGL

5 years agovout: remove redundant fullscreen initialization
Rémi Denis-Courmont [Mon, 13 Oct 2014 16:38:23 +0000 (19:38 +0300)]
vout: remove redundant fullscreen initialization

5 years agovout: set fullscreen mode window straight away
Rémi Denis-Courmont [Mon, 13 Oct 2014 16:37:52 +0000 (19:37 +0300)]
vout: set fullscreen mode window straight away

5 years agovsxu: use vlc_gl_surface_* helpers
Rémi Denis-Courmont [Mon, 13 Oct 2014 16:26:16 +0000 (19:26 +0300)]
vsxu: use vlc_gl_surface_* helpers

This is untested because vsxu is neither in contribs nor in my distro.

5 years agoprojectM: use vlc_gl_surface_* helpers
Rémi Denis-Courmont [Mon, 13 Oct 2014 16:14:57 +0000 (19:14 +0300)]
projectM: use vlc_gl_surface_* helpers

5 years agoprojectM: remove redundant vlc_savecancel()
Rémi Denis-Courmont [Mon, 13 Oct 2014 16:08:55 +0000 (19:08 +0300)]
projectM: remove redundant vlc_savecancel()

5 years agoglspectrum: use vlc_gl_surface_* helpers
Rémi Denis-Courmont [Sun, 12 Oct 2014 19:46:15 +0000 (22:46 +0300)]
glspectrum: use vlc_gl_surface_* helpers

5 years agovout: add helpers for OpenGL context without video output
Rémi Denis-Courmont [Sun, 12 Oct 2014 19:44:00 +0000 (22:44 +0300)]
vout: add helpers for OpenGL context without video output

5 years agovout: remove unreachable GET_OPENGL controls
Rémi Denis-Courmont [Sun, 12 Oct 2014 16:42:46 +0000 (19:42 +0300)]
vout: remove unreachable GET_OPENGL controls

This control is only useful if the video output is called "opengl".

5 years agovout: remove unimplemented GET_OPENGL controls
Rémi Denis-Courmont [Sun, 12 Oct 2014 16:39:59 +0000 (19:39 +0300)]
vout: remove unimplemented GET_OPENGL controls

5 years agovout: remove dead fullscreen code in display plugins
Rémi Denis-Courmont [Sun, 12 Oct 2014 20:50:58 +0000 (23:50 +0300)]
vout: remove dead fullscreen code in display plugins

5 years agovout: set fullscreen directly on window rather than display
Rémi Denis-Courmont [Sun, 12 Oct 2014 16:37:59 +0000 (19:37 +0300)]
vout: set fullscreen directly on window rather than display

5 years agovout: remove duplicated on-top and wallpaper variables creation
Rémi Denis-Courmont [Mon, 13 Oct 2014 15:31:29 +0000 (18:31 +0300)]
vout: remove duplicated on-top and wallpaper variables creation

5 years agovout: remove display-level window state except on Windows and OS/2
Rémi Denis-Courmont [Sun, 12 Oct 2014 20:50:21 +0000 (23:50 +0300)]
vout: remove display-level window state except on Windows and OS/2

5 years agovout: eliminate dead window state code
Rémi Denis-Courmont [Sun, 12 Oct 2014 16:15:14 +0000 (19:15 +0300)]
vout: eliminate dead window state code

5 years agovout: pass window state control directly to the window
Rémi Denis-Courmont [Sun, 12 Oct 2014 16:08:46 +0000 (19:08 +0300)]
vout: pass window state control directly to the window

5 years agovout: initialize window state (above or below) straight away
Rémi Denis-Courmont [Mon, 13 Oct 2014 15:28:17 +0000 (18:28 +0300)]
vout: initialize window state (above or below) straight away

5 years agovout: privatize vout_SetWindowState()
Rémi Denis-Courmont [Sun, 12 Oct 2014 16:06:01 +0000 (19:06 +0300)]
vout: privatize vout_SetWindowState()

5 years agoios: remove incorrect handling of window state change
Rémi Denis-Courmont [Sun, 12 Oct 2014 15:55:05 +0000 (18:55 +0300)]
ios: remove incorrect handling of window state change

The parameter is not "const vout_display_cfg_t *". This could not work.

5 years agovout: remove is_forced parameter in display size change control
Rémi Denis-Courmont [Sun, 12 Oct 2014 15:29:35 +0000 (18:29 +0300)]
vout: remove is_forced parameter in display size change control

5 years agoLinux FB: remove stub controls
Rémi Denis-Courmont [Sun, 12 Oct 2014 15:17:51 +0000 (18:17 +0300)]
Linux FB: remove stub controls

5 years agoDirectFB: remove stub controls
Rémi Denis-Courmont [Sun, 12 Oct 2014 15:16:26 +0000 (18:16 +0300)]
DirectFB: remove stub controls

5 years agocaca: remove dummy resize code
Rémi Denis-Courmont [Sun, 12 Oct 2014 15:14:56 +0000 (18:14 +0300)]
caca: remove dummy resize code

Resizing is handled via the Refresh() function - only.

5 years agovout: request resize directly from the window rather than display
Rémi Denis-Courmont [Sun, 12 Oct 2014 15:03:27 +0000 (18:03 +0300)]
vout: request resize directly from the window rather than display

5 years agoXCB: remove display-level close event
Rémi Denis-Courmont [Sun, 12 Oct 2014 13:25:02 +0000 (16:25 +0300)]
XCB: remove display-level close event

5 years agoXCB/window: implement close event
Rémi Denis-Courmont [Sun, 12 Oct 2014 13:24:54 +0000 (16:24 +0300)]
XCB/window: implement close event

5 years agowindow: dispatch the close event to the vout thread
Rémi Denis-Courmont [Sun, 12 Oct 2014 13:23:17 +0000 (16:23 +0300)]
window: dispatch the close event to the vout thread

5 years agowindow: define close event
Rémi Denis-Courmont [Sun, 12 Oct 2014 13:17:49 +0000 (16:17 +0300)]
window: define close event

5 years agoWayland: remove display-level resize events
Rémi Denis-Courmont [Sun, 12 Oct 2014 12:45:20 +0000 (15:45 +0300)]
Wayland: remove display-level resize events

5 years agoXCB: remove display-level resize events
Rémi Denis-Courmont [Sun, 12 Oct 2014 11:30:25 +0000 (14:30 +0300)]
XCB: remove display-level resize events

5 years agoQt: emit video window resize events
Rémi Denis-Courmont [Sun, 12 Oct 2014 13:05:04 +0000 (16:05 +0300)]
Qt: emit video window resize events

5 years agoWayland/shell: emit window size events
Rémi Denis-Courmont [Sun, 12 Oct 2014 12:42:36 +0000 (15:42 +0300)]
Wayland/shell: emit window size events

5 years agoXCB/window: catch resize events
Rémi Denis-Courmont [Sun, 12 Oct 2014 11:17:56 +0000 (14:17 +0300)]
XCB/window: catch resize events

5 years agovout: dispatch window events to the display events handler
Rémi Denis-Courmont [Sun, 12 Oct 2014 09:38:30 +0000 (12:38 +0300)]
vout: dispatch window events to the display events handler

5 years agovout: remove no longer used display size event parameter
Rémi Denis-Courmont [Sun, 12 Oct 2014 10:04:21 +0000 (13:04 +0300)]
vout: remove no longer used display size event parameter

5 years agovout: save previous display size regardless of the fullscreen flag
Rémi Denis-Courmont [Sun, 12 Oct 2014 09:53:46 +0000 (12:53 +0300)]
vout: save previous display size regardless of the fullscreen flag

This is simpler and is also more robust. The display no longer needs to
know whether it is fullscreen or not when reporting the size.

This should fix bugs whereby leaving fullscreen forces the window to be
maximized. On the other hand, it will fail if the windowing system
automatically resize a fullscreen window (due to changing view port).

5 years agovout: add window owner structure and resize event
Rémi Denis-Courmont [Sun, 12 Oct 2014 08:12:40 +0000 (11:12 +0300)]
vout: add window owner structure and resize event

5 years agoyuv: remove stub controls
Rémi Denis-Courmont [Sat, 11 Oct 2014 19:28:32 +0000 (22:28 +0300)]
yuv: remove stub controls

5 years agovmem: remove stub controls
Rémi Denis-Courmont [Sat, 11 Oct 2014 19:28:22 +0000 (22:28 +0300)]
vmem: remove stub controls

5 years agoDeckLink: remove stub controls
Rémi Denis-Courmont [Sat, 11 Oct 2014 19:28:05 +0000 (22:28 +0300)]
DeckLink: remove stub controls

5 years agovout: create the window just once at startup
Rémi Denis-Courmont [Sat, 11 Oct 2014 17:16:51 +0000 (20:16 +0300)]
vout: create the window just once at startup

This enables recycling the window when multiple window types are
involved. and avoids visual glitches.

5 years agovout: remove a tautology and simplify
Rémi Denis-Courmont [Sat, 11 Oct 2014 16:54:20 +0000 (19:54 +0300)]
vout: remove a tautology and simplify

5 years agoyuv: destroy the vout window if any
Rémi Denis-Courmont [Sat, 11 Oct 2014 15:02:03 +0000 (18:02 +0300)]
yuv: destroy the vout window if any

5 years agovmem: destroy the vout window if any
Rémi Denis-Courmont [Sat, 11 Oct 2014 15:01:39 +0000 (18:01 +0300)]
vmem: destroy the vout window if any

5 years agovdummy: destroy the vout window if any
Rémi Denis-Courmont [Sat, 11 Oct 2014 15:01:26 +0000 (18:01 +0300)]
vdummy: destroy the vout window if any

5 years agoDirect3D: destroy the window if any when in desktop wall paper mode
Rémi Denis-Courmont [Sat, 11 Oct 2014 17:38:48 +0000 (20:38 +0300)]
Direct3D: destroy the window if any when in desktop wall paper mode

5 years agodecklink: destroy the vout window if any
Rémi Denis-Courmont [Sat, 11 Oct 2014 15:01:09 +0000 (18:01 +0300)]
decklink: destroy the vout window if any

5 years agoandroid: check that the vout is not windowed
Rémi Denis-Courmont [Sat, 11 Oct 2014 15:00:31 +0000 (18:00 +0300)]
android: check that the vout is not windowed

5 years agovout: add vout_display_IsWindowed() helper
Rémi Denis-Courmont [Tue, 14 Oct 2014 19:29:56 +0000 (22:29 +0300)]
vout: add vout_display_IsWindowed() helper

5 years agovout: remove unused and incomplete support for multiple windows
Rémi Denis-Courmont [Sat, 11 Oct 2014 14:45:19 +0000 (17:45 +0300)]
vout: remove unused and incomplete support for multiple windows

5 years agovout: simplify window allocation following splitter separation
Rémi Denis-Courmont [Sat, 11 Oct 2014 14:40:16 +0000 (17:40 +0300)]
vout: simplify window allocation following splitter separation

5 years agovout: inline vout_NewDisplayWindow into SplitterNewWindow and simplify
Rémi Denis-Courmont [Sat, 11 Oct 2014 14:23:47 +0000 (17:23 +0300)]
vout: inline vout_NewDisplayWindow into SplitterNewWindow and simplify

5 years agovout: remove unused window position hint
Rémi Denis-Courmont [Thu, 9 Oct 2014 19:38:35 +0000 (22:38 +0300)]
vout: remove unused window position hint