vlc.git
4 years agofreetype: Prevent creating font with NULL path
Marvin Scholz [Sat, 17 Jun 2017 15:04:17 +0000 (17:04 +0200)]
freetype: Prevent creating font with NULL path

4 years agofreetype: Fix copying char buffer of CStringRef on darwin
Marvin Scholz [Sat, 17 Jun 2017 14:57:34 +0000 (16:57 +0200)]
freetype: Fix copying char buffer of CStringRef on darwin

To convert a CStringRef to a char buffer, CFStringGetCStringPtr was
used, but the documentation states this can fail in some
circumstances and it does fail on 10.7 for example.

This commit fixes this by adding a helper function, which falls back to
CFStringGetCString, as suggested in the CFStringGetCStringPtr docs.

4 years agohw: vaapi: chroma: fix uninitialized var usage
Thomas Guillem [Mon, 19 Jun 2017 09:01:58 +0000 (11:01 +0200)]
hw: vaapi: chroma: fix uninitialized var usage

4 years agomagnify: Remove trailing whitespace
Hugo Beauzée-Luyssen [Mon, 19 Jun 2017 08:55:47 +0000 (10:55 +0200)]
magnify: Remove trailing whitespace

4 years agomagnify: Don't display frame margin when zooming
Hugo Beauzée-Luyssen [Mon, 19 Jun 2017 08:55:37 +0000 (10:55 +0200)]
magnify: Don't display frame margin when zooming

4 years agoinput: meta: reload attachment if failed from cache
Francois Cartegnie [Mon, 19 Jun 2017 07:49:07 +0000 (09:49 +0200)]
input: meta: reload attachment if failed from cache

refs #18057

4 years agoaddons: Fix leak
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 16:07:04 +0000 (18:07 +0200)]
addons: Fix leak

refs #18321

4 years agoaddons: vorepository: Fix bad free
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 16:06:19 +0000 (18:06 +0200)]
addons: vorepository: Fix bad free

refs #18321

4 years agoaddons: vorepository: Fix leak when parsing manifest
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 16:05:55 +0000 (18:05 +0200)]
addons: vorepository: Fix leak when parsing manifest

refs #18321

4 years agoaddons: fsstorage: Fix leak whe nlisting installed addons
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 16:05:32 +0000 (18:05 +0200)]
addons: fsstorage: Fix leak whe nlisting installed addons

refs #18321

4 years agoaddons: Remove unrequired forward declaration
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 14:01:42 +0000 (16:01 +0200)]
addons: Remove unrequired forward declaration

refs #18321

4 years agomacosx: Store subtitle settings from main menu in playlist scope
David Fuhrmann [Fri, 16 Jun 2017 13:40:26 +0000 (15:40 +0200)]
macosx: Store subtitle settings from main menu in playlist scope

With main menu, the user shall only be able to modify settings
for the currently running VLC instance. All changes shall be
applied equally for all videos, therefore the variables are
created on playlist scope.

This avoid saving those changed to config, but still have them
valid for the overall VLC lifetime.

refs #16185

4 years agomacosx: Set sub-text-scale variable on playlist level
David Fuhrmann [Fri, 16 Jun 2017 13:24:11 +0000 (15:24 +0200)]
macosx: Set sub-text-scale variable on playlist level

This makes sure it outlives vout instances and is valid for the
whole playlist session.

refs #16185

4 years agohotkeys: Set sub-text-scale variable on playlist level
David Fuhrmann [Fri, 16 Jun 2017 13:22:57 +0000 (15:22 +0200)]
hotkeys: Set sub-text-scale variable on playlist level

This makes sure it outlives vout instances and is valid for the
whole playlist session.
hotkeys: Set sub-text-scale variable on playlist level

This makes sure it outlives vout instances and is valid for the
whole playlist session.

4 years agosrc: Move sub-text-scale variable to playlist scope
David Fuhrmann [Fri, 16 Jun 2017 13:20:01 +0000 (15:20 +0200)]
src: Move sub-text-scale variable to playlist scope

This variable describes the general scale factor for sub texts,
which is typically set if the user percieves subtitles as too
small or too large in general.
Therefore it should be valid for the overall lifetime of a
VLC instance and not only valid for a single vout instance.

4 years agomacosx: Reenable subtitles menu, use "sub-text-scale" for size
David Fuhrmann [Fri, 16 Jun 2017 11:54:57 +0000 (13:54 +0200)]
macosx: Reenable subtitles menu, use "sub-text-scale" for size

Use "sub-text-scale" to switch between different text sizes.
This replaces the "freetype-rel-fontsize" config which was used
before.

refs #16185

4 years agodemux: ogg: remove no op
Francois Cartegnie [Sun, 18 Jun 2017 17:39:40 +0000 (19:39 +0200)]
demux: ogg: remove no op

4 years agodemux: ogg: fix glitches on chained content
Francois Cartegnie [Sun, 18 Jun 2017 17:39:00 +0000 (19:39 +0200)]
demux: ogg: fix glitches on chained content

refs #18401
refs http://ai-radio.org/128.ogg

4 years agodbus: start interface before hand-off (fixes #3369)
Rémi Denis-Courmont [Sun, 18 Jun 2017 15:36:11 +0000 (18:36 +0300)]
dbus: start interface before hand-off (fixes #3369)

This ensures that one instance gets the bus name before any instance
checks if the bus name is held. This fixes a race condition going all
the way back to the original VLC D-Bus interface implementation:
if multiple files are opened at the same time while no instance exists,
the new instances check the bus name for an owner before any of them
has had time to actually request and obtain the bus name. Then each
instance assumed it was the single one.

Note that there is still a race if the user closes the main instance
while trying to open files. Thits is an instrinsic user interface race,
and is unfixable.

4 years agodbus: fix naming of multiple instances
Rémi Denis-Courmont [Sun, 18 Jun 2017 15:34:56 +0000 (18:34 +0300)]
dbus: fix naming of multiple instances

The do-not-queue flag is necessary to ensure that the bus name is
obtained immediately or not at all. Without it, each VLC instances gets
put into the queue for the same name.

Also, failure must be checked from the return value of the function,
not (typically) the low-level error flag.

4 years agodbus: add variable to expose register bus name
Rémi Denis-Courmont [Sun, 18 Jun 2017 14:47:37 +0000 (17:47 +0300)]
dbus: add variable to expose register bus name

4 years agodbus: add command line option to disable MPRIS
Rémi Denis-Courmont [Sun, 18 Jun 2017 14:50:23 +0000 (17:50 +0300)]
dbus: add command line option to disable MPRIS

4 years agodbus: deduplicate one-instance description
Rémi Denis-Courmont [Sun, 18 Jun 2017 14:33:34 +0000 (17:33 +0300)]
dbus: deduplicate one-instance description

Who cares that a D-Bus session bus is needed anyway.

4 years agocore: remove stray #include
Rémi Denis-Courmont [Sun, 18 Jun 2017 14:11:29 +0000 (17:11 +0300)]
core: remove stray #include

4 years agoposix: move D-Bus one-instance to system_Configure()
Rémi Denis-Courmont [Sun, 18 Jun 2017 14:10:30 +0000 (17:10 +0300)]
posix: move D-Bus one-instance to system_Configure()

This takes the platform-specific wart out of common initialization
code, and into the same callback as the equivalent Windows code.

4 years agowin32: gather multimedia timer initialization
Rémi Denis-Courmont [Sun, 18 Jun 2017 13:49:43 +0000 (16:49 +0300)]
win32: gather multimedia timer initialization

Fixes serialization.

4 years agowin32: move thread priority init to vlc_thread_setup()
Rémi Denis-Courmont [Sun, 18 Jun 2017 13:10:51 +0000 (16:10 +0300)]
win32: move thread priority init to vlc_thread_setup()

Fixes serialization.

4 years agowin32: simplifying thread init locking
Rémi Denis-Courmont [Sun, 18 Jun 2017 13:41:28 +0000 (16:41 +0300)]
win32: simplifying thread init locking

4 years agomodules: sort modules by priority during loading
Rémi Denis-Courmont [Sun, 18 Jun 2017 12:12:13 +0000 (15:12 +0300)]
modules: sort modules by priority during loading

This avoids applying the same sorting algorithm on the same table over
and over.

4 years agomodules: use capabilities tree for module_list_cap()
Rémi Denis-Courmont [Sun, 18 Jun 2017 11:47:57 +0000 (14:47 +0300)]
modules: use capabilities tree for module_list_cap()

This avoids going through the entire list of modules (twice).

4 years agomodules: build search tree of module capabilities
Rémi Denis-Courmont [Sun, 18 Jun 2017 11:47:28 +0000 (14:47 +0300)]
modules: build search tree of module capabilities

This incrementally builds a search tree of all module capabilities.
Each node contains a table of all modules with the capability.

4 years agoContribs: fix bluray sha512
Jean-Baptiste Kempf [Sun, 18 Jun 2017 11:28:43 +0000 (13:28 +0200)]
Contribs: fix bluray sha512

4 years agoavcodec: fix fourcc ordering
Rémi Denis-Courmont [Sat, 17 Jun 2017 17:50:46 +0000 (20:50 +0300)]
avcodec: fix fourcc ordering

4 years agomacOS: Do not use weak delegate
Marvin Scholz [Sat, 17 Jun 2017 16:10:48 +0000 (18:10 +0200)]
macOS: Do not use weak delegate

Forming a weak reference to a NSWindowController is not possible on
OS X 10.7 and causes a runtime error, resulting in a crash.

4 years agoavcodec: simplify decoder codec look-up
Rémi Denis-Courmont [Sat, 17 Jun 2017 15:31:08 +0000 (18:31 +0300)]
avcodec: simplify decoder codec look-up

4 years agoavcodec: simplify encoder codec look-up
Rémi Denis-Courmont [Sat, 17 Jun 2017 15:28:51 +0000 (18:28 +0300)]
avcodec: simplify encoder codec look-up

4 years agoavcodec: search codec mapping by category
Rémi Denis-Courmont [Sat, 17 Jun 2017 15:21:54 +0000 (18:21 +0300)]
avcodec: search codec mapping by category

Category is now an input rather than output parameter.

4 years agoavcodec: remove category from codec tables
Rémi Denis-Courmont [Sat, 17 Jun 2017 15:05:13 +0000 (18:05 +0300)]
avcodec: remove category from codec tables

4 years agoavcodec: split codec mappings per ES category
Rémi Denis-Courmont [Sat, 17 Jun 2017 14:59:01 +0000 (17:59 +0300)]
avcodec: split codec mappings per ES category

There are two potential benefits:
- If the category is known, narrow the search.
- The tables no longer needs to store the category of each entry.

4 years agoavformat: remove unused GetVlcFourcc() arguments
Rémi Denis-Courmont [Sat, 17 Jun 2017 14:53:20 +0000 (17:53 +0300)]
avformat: remove unused GetVlcFourcc() arguments

4 years agopicture_pool: fix potentially invalid allocation size
Rémi Denis-Courmont [Sat, 17 Jun 2017 13:27:38 +0000 (16:27 +0300)]
picture_pool: fix potentially invalid allocation size

Aligned allocation size must be a multiple of its alignment.
In practice, the code worked fine on 64-bits systems. But it failed on
32-bits systems *if* the pool's picture count was odd.

4 years agoInfo.plist: Require 10.7 as minimum macOS version
David Fuhrmann [Sat, 17 Jun 2017 13:02:22 +0000 (15:02 +0200)]
Info.plist: Require 10.7 as minimum macOS version

10.6 code support was already removed with previous patches, declare
official minimum version of the application to be 10.7.

4 years agomacosx: Remove resizeView and VLCResizeControl
David Fuhrmann [Sat, 17 Jun 2017 12:54:26 +0000 (14:54 +0200)]
macosx: Remove resizeView and VLCResizeControl

This was needed for macOS < 10.7 to draw a resize control on the
bottom right corner of black windows. Starting with 10.7,
borderless windows are resizabe as well by the window resizable mask,
thus all this code can be removed now.

4 years agolinux: Add signal.h header for SIGEV_THREAD symbol.
Vinson Lee [Sat, 17 Jun 2017 00:55:03 +0000 (00:55 +0000)]
linux: Add signal.h header for SIGEV_THREAD symbol.

Fix this build error.

  CC       linux/getaddrinfo.lo
linux/getaddrinfo.c: In function ‘vlc_getaddrinfo_i11e’:
linux/getaddrinfo.c:62:25: error: ‘SIGEV_THREAD’ undeclared (first use in this function); did you mean ‘CLONE_THREAD’?
         .sigev_notify = SIGEV_THREAD,
                         ^~~~~~~~~~~~
                         CLONE_THREAD

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agocompat: replace aligned_alloc() rather than posix_memalign()
Rémi Denis-Courmont [Sat, 17 Jun 2017 12:27:16 +0000 (15:27 +0300)]
compat: replace aligned_alloc() rather than posix_memalign()

4 years agomacosx: Add recursive collapse context menu item
David Fuhrmann [Sat, 17 Jun 2017 11:53:01 +0000 (13:53 +0200)]
macosx: Add recursive collapse context menu item

As we already have recursive expansion, also add recursive
collapsing of all items.

refs #17726

4 years agomacosx: Fix expanding and highlighting of currently playing item
David Fuhrmann [Sat, 17 Jun 2017 11:01:02 +0000 (13:01 +0200)]
macosx: Fix expanding and highlighting of currently playing item

Correctly expand and scroll to currently playing item. Update
table view, to remove highlight of previously played item.

4 years agomacosx: Remove old playlist code
David Fuhrmann [Sat, 17 Jun 2017 10:28:08 +0000 (12:28 +0200)]
macosx: Remove old playlist code

Those pieces are not relevant anymore after the playlist model
rework.

4 years agomacosx: Adapt playlist context menu validation, hide info menu entry
David Fuhrmann [Sat, 17 Jun 2017 10:17:07 +0000 (12:17 +0200)]
macosx: Adapt playlist context menu validation, hide info menu entry

Use correct validation routine to validate state of menu items.
Fix validation for select all menu item.
Hide info menu item as info panel per item is currently not
supported.

refs #17726

4 years agomacOS: Change MediaInfo panel xib target to 10.7
Marvin Scholz [Sat, 17 Jun 2017 00:30:26 +0000 (02:30 +0200)]
macOS: Change MediaInfo panel xib target to 10.7

4 years agomacOS: Change label font on MediaInfo panel
Marvin Scholz [Sat, 17 Jun 2017 00:29:42 +0000 (02:29 +0200)]
macOS: Change label font on MediaInfo panel

4 years agomacOS: Use VLCHUDButtonCell on MediaInfo panel
Marvin Scholz [Sat, 17 Jun 2017 00:27:40 +0000 (02:27 +0200)]
macOS: Use VLCHUDButtonCell on MediaInfo panel

4 years agomacOS: Fix copy/paste mistake in license header
Marvin Scholz [Sat, 17 Jun 2017 00:24:55 +0000 (02:24 +0200)]
macOS: Fix copy/paste mistake in license header

4 years agomacOS: Do not draw custom VLCHUDTextFieldCell on 10.10+
Marvin Scholz [Sat, 17 Jun 2017 00:23:17 +0000 (02:23 +0200)]
macOS: Do not draw custom VLCHUDTextFieldCell on 10.10+

4 years agomacOS: Fix drawing of VLCHUDTextFieldCell
Marvin Scholz [Sat, 17 Jun 2017 00:17:16 +0000 (02:17 +0200)]
macOS: Fix drawing of VLCHUDTextFieldCell

This fixes drawing of VLCHUDTextFieldCell by using the code from
BGHUDAppKit.

4 years agohw: vaapi: chroma: fix uninitialized var usage
Thomas Guillem [Fri, 16 Jun 2017 16:08:36 +0000 (18:08 +0200)]
hw: vaapi: chroma: fix uninitialized var usage

4 years agoavcodec: vaapi: fix invalid release in case of failure
Thomas Guillem [Fri, 16 Jun 2017 15:37:40 +0000 (17:37 +0200)]
avcodec: vaapi: fix invalid release in case of failure

4 years agoavcodec: va: disable VAAPI 10bits for now
Thomas Guillem [Fri, 16 Jun 2017 15:36:42 +0000 (17:36 +0200)]
avcodec: va: disable VAAPI 10bits for now

4 years agoSCTE-27: simplify fmt codec definition and avoid crash
Jean-Baptiste Kempf [Fri, 16 Jun 2017 14:25:50 +0000 (16:25 +0200)]
SCTE-27: simplify fmt codec definition and avoid crash

4 years agoavcodec: vaapi: add direct rendering support
Thomas Guillem [Fri, 19 May 2017 15:08:40 +0000 (17:08 +0200)]
avcodec: vaapi: add direct rendering support

4 years agoopengl: add converter_vaapi
Thomas Guillem [Fri, 10 Feb 2017 10:10:23 +0000 (11:10 +0100)]
opengl: add converter_vaapi

This converter allow to render a va_surface directly to a GL surface via EGL
(X11/WAYLAND and EXT_image_dma_buf_import[1]).

[1]: https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import.txt.

4 years agoconfigure: add HAVE_VAAPI_X11 check
Thomas Guillem [Fri, 16 Jun 2017 14:16:55 +0000 (16:16 +0200)]
configure: add HAVE_VAAPI_X11 check

4 years agoavcodec: vaapi: use vlc_vaapi helpers
Thomas Guillem [Thu, 15 Jun 2017 15:56:25 +0000 (17:56 +0200)]
avcodec: vaapi: use vlc_vaapi helpers

This module will now always output opaque VLC_CODEC_VAAPI_420 pictures.
For cpu rendering, we now use the vaapi chroma filter.
Remove the Extract implementation.

4 years agoavcodec: vaapi: refactor
Thomas Guillem [Tue, 25 Apr 2017 16:21:31 +0000 (18:21 +0200)]
avcodec: vaapi: refactor

4 years agohw: vaapi: add chroma conversion GPU <=> CPU
Victorien Le Couviour--Tuffet [Fri, 19 May 2017 14:29:32 +0000 (16:29 +0200)]
hw: vaapi: add chroma conversion GPU <=> CPU

VA_OPAQUE(NV12) <=> I420
VA_OPAQUE(P010) <=> I420_10b (not implemented yet, but planned where the code will
                              take place)

4 years agohw: vaapi: add pictures and pool helpers
Thomas Guillem [Fri, 16 Jun 2017 10:01:29 +0000 (12:01 +0200)]
hw: vaapi: add pictures and pool helpers

4 years agohw: vaapi: add wrappers functions
Victorien Le Couviour--Tuffet [Fri, 16 Jun 2017 09:14:45 +0000 (11:14 +0200)]
hw: vaapi: add wrappers functions

4 years agohw: vaapi: add instance dynamic library
Victorien Le Couviour--Tuffet [Tue, 23 Aug 2016 09:50:49 +0000 (12:50 +0300)]
hw: vaapi: add instance dynamic library

This dynamic library holds the current VADisplay instance.

4 years agoconfigure: add HAVE_VAAPI check
Thomas Guillem [Fri, 10 Feb 2017 10:06:21 +0000 (11:06 +0100)]
configure: add HAVE_VAAPI check

4 years agofourcc: add VAAPI opaque chroma
Thomas Guillem [Tue, 23 Aug 2016 09:50:30 +0000 (12:50 +0300)]
fourcc: add VAAPI opaque chroma

4 years agozvbi: Simplify fmt_out initialization
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 13:27:29 +0000 (15:27 +0200)]
zvbi: Simplify fmt_out initialization

4 years agozvbi: Remove trailing whitespaces
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 13:22:28 +0000 (15:22 +0200)]
zvbi: Remove trailing whitespaces

4 years agozvbi: Don't write in es_format_t::video_format_t when i_cat is SPU
Hugo Beauzée-Luyssen [Fri, 16 Jun 2017 13:20:14 +0000 (15:20 +0200)]
zvbi: Don't write in es_format_t::video_format_t when i_cat is SPU

This fixes a crash where we would end up passing VLC_CODEC_TEXT or
VLC_CODEC_RGBA to free()

4 years agomacosx: Fix frame of main window gradient view
David Fuhrmann [Fri, 16 Jun 2017 09:07:32 +0000 (11:07 +0200)]
macosx: Fix frame of main window gradient view

4 years agointerrupt: inline one function
Rémi Denis-Courmont [Thu, 15 Jun 2017 19:31:04 +0000 (22:31 +0300)]
interrupt: inline one function

4 years agointerrupt: simplify using thread_local
Rémi Denis-Courmont [Thu, 15 Jun 2017 19:30:02 +0000 (22:30 +0300)]
interrupt: simplify using thread_local

4 years agointerrupt: remove debug flag
Rémi Denis-Courmont [Thu, 15 Jun 2017 19:27:29 +0000 (22:27 +0300)]
interrupt: remove debug flag

4 years agointerrupt: extend test cases
Rémi Denis-Courmont [Thu, 15 Jun 2017 19:27:19 +0000 (22:27 +0300)]
interrupt: extend test cases

4 years agomacosx: Fix controls bar state for playlist toggling
David Fuhrmann [Thu, 15 Jun 2017 19:03:38 +0000 (21:03 +0200)]
macosx: Fix controls bar state for playlist toggling

In enabled native fullscreen, fix playlist toggling (this is
possible via main menu).

4 years agomacosx: Fix hiding of controls bar in native fullscreen
David Fuhrmann [Thu, 15 Jun 2017 18:32:55 +0000 (20:32 +0200)]
macosx: Fix hiding of controls bar in native fullscreen

Introduce helper methods to hide and unhide the controls bar
correctly in all cases.

4 years agomacOS: Fix drawing of VLCHUDSliderCell track
Marvin Scholz [Thu, 15 Jun 2017 11:37:27 +0000 (13:37 +0200)]
macOS: Fix drawing of VLCHUDSliderCell track

4 years agomacOS: Don't draw custom VLCHUDSegmentedCell on 10.10+
Marvin Scholz [Thu, 15 Jun 2017 10:23:01 +0000 (12:23 +0200)]
macOS: Don't draw custom VLCHUDSegmentedCell on 10.10+

On 10.10 and higher the appearance the system uses for the
VLCHUDSegmentedCell is already adapted for HUD panels, no need
for this replacement.

4 years agomacOS: Draw dividers for VLCHUDSegmentedCell
Marvin Scholz [Thu, 15 Jun 2017 10:16:27 +0000 (12:16 +0200)]
macOS: Draw dividers for VLCHUDSegmentedCell

4 years agomacOS: Use VLCHUDSegmentedCell in MediaInfo panel
Marvin Scholz [Thu, 15 Jun 2017 00:32:22 +0000 (02:32 +0200)]
macOS: Use VLCHUDSegmentedCell in MediaInfo panel

4 years agomacOS: Fix VLCHUDSegmentedCell text drawing
Marvin Scholz [Thu, 15 Jun 2017 00:31:56 +0000 (02:31 +0200)]
macOS: Fix VLCHUDSegmentedCell text drawing

The custom cell would draw the text at the wrong location, this is
fixed by this commit. Additionally a lot of cleanup and restructuring
was done.

4 years agoRevert "hotkeys: Reset scale to screen when zooming"
Hugo Beauzée-Luyssen [Thu, 15 Jun 2017 09:25:27 +0000 (11:25 +0200)]
Revert "hotkeys: Reset scale to screen when zooming"

This reverts commit e287366ad9d6d9b85e913b03be54ac15f4e8873a.
This was an invalid way of fixing #18258
Having the fullscreen state properly propagated to the vout_display
fixes the issue in a more proper way

4 years agovideo_output: display: Don't ignore fullscreen state changes
Thomas Guillem [Thu, 15 Jun 2017 12:52:28 +0000 (14:52 +0200)]
video_output: display: Don't ignore fullscreen state changes

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agovariables: Use thread_local
Hugo Beauzée-Luyssen [Thu, 15 Jun 2017 14:17:47 +0000 (16:17 +0200)]
variables: Use thread_local

4 years agovlc_fixup: Provide a thread_local macro
Hugo Beauzée-Luyssen [Thu, 15 Jun 2017 14:17:06 +0000 (16:17 +0200)]
vlc_fixup: Provide a thread_local macro

4 years agovideo_output: Use the appropriate vout_display_ event wrappers
Hugo Beauzée-Luyssen [Thu, 15 Jun 2017 12:43:39 +0000 (14:43 +0200)]
video_output: Use the appropriate vout_display_ event wrappers

4 years agoqt: Remove unused include
Hugo Beauzée-Luyssen [Wed, 14 Jun 2017 15:55:48 +0000 (17:55 +0200)]
qt: Remove unused include

4 years agocontrib: libarchive: don't force a path with windows.h on other targets than Android
Steve Lhomme [Wed, 14 Jun 2017 12:02:00 +0000 (14:02 +0200)]
contrib: libarchive: don't force a path with windows.h on other targets than Android

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agomediacodec: fix WMV3
Thomas Guillem [Wed, 14 Jun 2017 14:56:27 +0000 (16:56 +0200)]
mediacodec: fix WMV3

WMV3 blocks don't need to be pre-processed like VC1 ones.
This fixes a regression introduced by 8ca8549c38ed9376534e579a21a66f70c91dff6e.

4 years agocontrib: only force CMAKE_RC_COMPILER when cross compiling
Steve Lhomme [Wed, 14 Jun 2017 12:01:53 +0000 (14:01 +0200)]
contrib: only force CMAKE_RC_COMPILER when cross compiling

The default rule (does) work on mingw

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agocontrib: cmake: set the Debug/Release target depending on the bootstrap flags
Steve Lhomme [Wed, 14 Jun 2017 12:01:52 +0000 (14:01 +0200)]
contrib: cmake: set the Debug/Release target depending on the bootstrap flags

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agodirect3d9: picture->p_sys is never NULL
Steve Lhomme [Wed, 14 Jun 2017 13:48:51 +0000 (15:48 +0200)]
direct3d9: picture->p_sys is never NULL

CID #1444702

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agodxa9: fix hd3d_dll leaking
Steve Lhomme [Wed, 14 Jun 2017 13:48:50 +0000 (15:48 +0200)]
dxa9: fix hd3d_dll leaking

CID #1444701

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agodirect3d11: fix dxgiadapter error test
Steve Lhomme [Wed, 14 Jun 2017 13:48:49 +0000 (15:48 +0200)]
direct3d11: fix dxgiadapter error test

CID #1444700

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agod3d11va: don't go further if we don't know the format to decode to
Steve Lhomme [Wed, 14 Jun 2017 13:48:48 +0000 (15:48 +0200)]
d3d11va: don't go further if we don't know the format to decode to

CID #1444698

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agodirect3d11: make sur we have a picture->context with D3D11 opaque input
Steve Lhomme [Wed, 14 Jun 2017 13:48:47 +0000 (15:48 +0200)]
direct3d11: make sur we have a picture->context with D3D11 opaque input

CID #1444697

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>