vlc.git
4 years agoRevert "macOS: Set correct fullscreen window level"
Marvin Scholz [Mon, 12 Jun 2017 20:56:05 +0000 (22:56 +0200)]
Revert "macOS: Set correct fullscreen window level"

This reverts commit 6aa13aa2e52633e453ddae2e6c09a3c3c4d94e0a.
It was intended to fix #18117 (Menubar visible in fullscreen)
but broke different things and additonally changed behaviour
in ways that might be confusing for some users.

4 years agomisc: ensure vlc_object_t is correctly aligned
Rémi Denis-Courmont [Tue, 13 Jun 2017 19:31:50 +0000 (22:31 +0300)]
misc: ensure vlc_object_t is correctly aligned

To hide private data before (and/or after) public data, we normally
embed the public data within the private data structure. This ensures
proper alignment.

For VLC objects, that was unfortunately not an option, since the type of
the public data varies with the VLC object sub-classes. Thus the size,
and potentially the alignment, also vary.

This change ensures that the private data have the maximum possible
normal alignment. That will be adequate regardless of the public data
type.

4 years agodirect3d11: fix the staging texture dimensions
Steve Lhomme [Thu, 8 Jun 2017 15:12:26 +0000 (17:12 +0200)]
direct3d11: fix the staging texture dimensions

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: destroy the decoder at the same time as its surfaces
Steve Lhomme [Fri, 2 Jun 2017 09:00:12 +0000 (11:00 +0200)]
directx_va: destroy the decoder at the same time as its surfaces

The interface release is also strongly typed

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: no need to allocate dummy pictures anymore
Steve Lhomme [Tue, 6 Jun 2017 16:55:10 +0000 (18:55 +0200)]
directx_va: no need to allocate dummy pictures anymore

We don't use their local picture_sys_t anymore

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovideo_chroma:d3d9: add a module to convert from CPU to GPU textures
Steve Lhomme [Tue, 6 Jun 2017 14:49:59 +0000 (16:49 +0200)]
video_chroma:d3d9: add a module to convert from CPU to GPU textures

And set a picture->context as if it's coming from the decoder, otherwise
snapshots won't work.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovideo_chroma:d3d11: add a module to convert from CPU to GPU textures
Steve Lhomme [Tue, 6 Jun 2017 14:27:08 +0000 (16:27 +0200)]
video_chroma:d3d11: add a module to convert from CPU to GPU textures

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: fix crash on copy
Steve Lhomme [Wed, 7 Jun 2017 15:17:47 +0000 (17:17 +0200)]
d3d11va: fix crash on copy

following f7084c0f5a8ed40bbdb53184df42b5335abc86fd

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxgi_fmt: test the resource format in FindD3D11Format if formatTexture is unknown
Steve Lhomme [Thu, 8 Jun 2017 13:05:39 +0000 (15:05 +0200)]
dxgi_fmt: test the resource format in FindD3D11Format if formatTexture is unknown

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11_fmt: pass the whole texture array to AllocateShaderView()
Steve Lhomme [Thu, 8 Jun 2017 12:48:51 +0000 (14:48 +0200)]
d3d11_fmt: pass the whole texture array to AllocateShaderView()

For CPU formats mapped to GPU each texture of the array may be different.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d_fmt: add a function to acquire the resources used in the picture_sys_t
Steve Lhomme [Wed, 7 Jun 2017 09:53:26 +0000 (11:53 +0200)]
d3d_fmt: add a function to acquire the resources used in the picture_sys_t

This is the reverse of ReleasePictureSys

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovout: win32: move the GPU to CPU picture buffer mapping in copy
Steve Lhomme [Tue, 6 Jun 2017 15:15:24 +0000 (17:15 +0200)]
vout: win32: move the GPU to CPU picture buffer mapping in copy

It may be used by other modules, even though it seems Windows is the only one
to provide a pitch for the main plane.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxva2: the decoder sets the surface in the picture->context, not picture_sys_t
Steve Lhomme [Mon, 29 May 2017 14:23:13 +0000 (16:23 +0200)]
dxva2: the decoder sets the surface in the picture->context, not picture_sys_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: the decoder sets the surface in the picture->context, not picture_sys_t
Steve Lhomme [Mon, 29 May 2017 14:34:57 +0000 (16:34 +0200)]
d3d11va: the decoder sets the surface in the picture->context, not picture_sys_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirect3d11: move AllocateShaderView() in d3d11_fmt.h
Steve Lhomme [Mon, 29 May 2017 11:45:30 +0000 (13:45 +0200)]
direct3d11: move AllocateShaderView() in d3d11_fmt.h

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirect3d11: make AllocateShaderView() more generic
Steve Lhomme [Mon, 29 May 2017 11:36:24 +0000 (13:36 +0200)]
direct3d11: make AllocateShaderView() more generic

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: stronger typing of va_surface in picture_sys_t
Steve Lhomme [Tue, 6 Jun 2017 16:48:26 +0000 (18:48 +0200)]
directx_va: stronger typing of va_surface in picture_sys_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: let the surface deal with releasing its memory
Steve Lhomme [Mon, 29 May 2017 14:02:50 +0000 (16:02 +0200)]
directx_va: let the surface deal with releasing its memory

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: remove the unused lock
Steve Lhomme [Mon, 29 May 2017 13:16:46 +0000 (15:16 +0200)]
directx_va: remove the unused lock

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: rework the picture picking algorithm
Steve Lhomme [Tue, 6 Jun 2017 16:23:03 +0000 (18:23 +0200)]
directx_va: rework the picture picking algorithm

Just rely on an available atomic value to find a usable picture or wait for
the vout to release some pictures.
Similar to the algorithm found in avcodec/VDPAU.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: replace the internal reference counter by an atomic value
Steve Lhomme [Mon, 29 May 2017 13:11:58 +0000 (15:11 +0200)]
directx_va: replace the internal reference counter by an atomic value

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: do not use the vlc_va_surface_t picture anymore
Steve Lhomme [Mon, 29 May 2017 13:00:56 +0000 (15:00 +0200)]
d3d11va: do not use the vlc_va_surface_t picture anymore

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: make the internal pool usable with the pixel shader
Steve Lhomme [Mon, 29 May 2017 12:46:39 +0000 (14:46 +0200)]
d3d11va: make the internal pool usable with the pixel shader

That will save a copy later.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: pass the decoder surface via the returned vlc_va_surface_t
Steve Lhomme [Mon, 29 May 2017 12:40:37 +0000 (14:40 +0200)]
directx_va: pass the decoder surface via the returned vlc_va_surface_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: make each vlc_va_surface_t more independent
Steve Lhomme [Mon, 29 May 2017 12:28:17 +0000 (14:28 +0200)]
directx_va: make each vlc_va_surface_t more independent

Can be free'd independently

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: cleaning
Steve Lhomme [Mon, 29 May 2017 12:13:42 +0000 (14:13 +0200)]
directx_va: cleaning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: merge local functions only called once
Steve Lhomme [Mon, 29 May 2017 12:12:36 +0000 (14:12 +0200)]
directx_va: merge local functions only called once

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: no need to store temporarily the number of threads
Steve Lhomme [Mon, 29 May 2017 12:01:34 +0000 (14:01 +0200)]
directx_va: no need to store temporarily the number of threads

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirect3d11: do the D3D11_OPAQUE -> NV12 conversion outside of the decoder
Steve Lhomme [Mon, 29 May 2017 11:25:26 +0000 (13:25 +0200)]
direct3d11: do the D3D11_OPAQUE -> NV12 conversion outside of the decoder

d3d11_surface is automatically added since D3D11 forces NV12 input for
DXGI_FORMAT_420_OPAQUE decoding.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirect3d11: detect early if DXGI_FORMAT_420_OPAQUE will be used by the decoder
Steve Lhomme [Mon, 29 May 2017 11:01:16 +0000 (13:01 +0200)]
direct3d11: detect early if DXGI_FORMAT_420_OPAQUE will be used by the decoder

We can't display it but we still need a proper texture format to display.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: don't use the external pool for NVIDIA hardware with too many slices
Steve Lhomme [Mon, 29 May 2017 10:48:17 +0000 (12:48 +0200)]
d3d11va: don't use the external pool for NVIDIA hardware with too many slices

Drivers crash during ID3D11VideoDevice::CreateVideoDecoderOutputView() if a
texture has more than 30 slices.

Fixes #18261

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: no need to type the intermediate recipient of QueryInterface results
Steve Lhomme [Mon, 29 May 2017 11:29:56 +0000 (13:29 +0200)]
d3d11va: no need to type the intermediate recipient of QueryInterface results

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovideo_chroma:direct3d: only copy the visible lines to the CPU planes
Steve Lhomme [Fri, 2 Jun 2017 08:24:18 +0000 (10:24 +0200)]
video_chroma:direct3d: only copy the visible lines to the CPU planes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11_surface: no matter what the texture height is given by the texture description
Steve Lhomme [Tue, 23 May 2017 11:47:08 +0000 (13:47 +0200)]
d3d11_surface: no matter what the texture height is given by the texture description

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxa9: the texture height is given by the texture description
Steve Lhomme [Wed, 24 May 2017 13:19:01 +0000 (15:19 +0200)]
dxa9: the texture height is given by the texture description

it doesn't matter what the format says

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: allow not setting device manager callbacks
Steve Lhomme [Mon, 29 May 2017 07:50:53 +0000 (09:50 +0200)]
directx_va: allow not setting device manager callbacks

It's not supported in Direct3D11

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d_fmt: add a comment on who owns the picture_sys_t data
Steve Lhomme [Mon, 29 May 2017 07:29:59 +0000 (09:29 +0200)]
d3d_fmt: add a comment on who owns the picture_sys_t data

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirect3d: fix some logs
Steve Lhomme [Mon, 29 May 2017 07:29:14 +0000 (09:29 +0200)]
direct3d: fix some logs

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: type the common variables for D3D11VA and DXVA2
Steve Lhomme [Wed, 24 May 2017 15:39:11 +0000 (17:39 +0200)]
directx_va: type the common variables for D3D11VA and DXVA2

This will avoid a lot of casts.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: add a way to lock/unlock a surface
Steve Lhomme [Mon, 22 May 2017 11:22:31 +0000 (13:22 +0200)]
directx_va: add a way to lock/unlock a surface

The surface may not be used by the decoder but still being used for display/filter.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxva: don't store the surface in the picture context
Steve Lhomme [Wed, 17 May 2017 15:55:14 +0000 (17:55 +0200)]
dxva: don't store the surface in the picture context

it's an old hack we don't need with picture_sys_t.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirectx_va: let the va deal with the vlc_va_surface_t storage
Steve Lhomme [Wed, 17 May 2017 15:28:06 +0000 (17:28 +0200)]
directx_va: let the va deal with the vlc_va_surface_t storage

To move away from the picture context

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: use ReleasePictureSys for d3d11va internal pictures
Steve Lhomme [Fri, 19 May 2017 13:44:56 +0000 (15:44 +0200)]
d3d11va: use ReleasePictureSys for d3d11va internal pictures

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: fix passing surfaces from the local pool to upstream filters
Steve Lhomme [Fri, 19 May 2017 13:44:19 +0000 (15:44 +0200)]
d3d11va: fix passing surfaces from the local pool to upstream filters

When not in direct rendering

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: fix the internal pool use with direct decode builds
Steve Lhomme [Wed, 17 May 2017 12:30:22 +0000 (14:30 +0200)]
d3d11va: fix the internal pool use with direct decode builds

ie builds with recent libavcodec
There is still an issue with the internal pool as the ouput picture in Extract
may not be allocated by the proper vout and therefore lack the proper
picture_sys_t data.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxva2: remove the internal filter to output YV12
Steve Lhomme [Wed, 17 May 2017 11:44:52 +0000 (13:44 +0200)]
dxva2: remove the internal filter to output YV12

It won't be used anyway as it doesn't match the output of vlc_va_GetChroma().

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11va: remove the internal filter to output YV12
Steve Lhomme [Wed, 17 May 2017 06:22:23 +0000 (08:22 +0200)]
d3d11va: remove the internal filter to output YV12

It won't be used anyway as it doesn't match the output of vlc_va_GetChroma().

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodirect3d9: Use a big enough back buffer
Hugo Beauzée-Luyssen [Tue, 13 Jun 2017 12:05:25 +0000 (14:05 +0200)]
direct3d9: Use a big enough back buffer

This fixes display of videos with resolution bigger than the screen
resolution when autoscale is off.
Fix #18413

4 years agowasapi: Fix non-default device check
Hugo Beauzée-Luyssen [Mon, 12 Jun 2017 14:57:41 +0000 (16:57 +0200)]
wasapi: Fix non-default device check

4 years agodemux: mp4: add support for cslg
Francois Cartegnie [Mon, 12 Jun 2017 19:49:10 +0000 (21:49 +0200)]
demux: mp4: add support for cslg

refs big_buck_bunny_720p_h264.mov

4 years agocodec: avcodec: use decoder_QueueAudio in loop
Francois Cartegnie [Mon, 12 Jun 2017 17:42:48 +0000 (19:42 +0200)]
codec: avcodec: use decoder_QueueAudio in loop

4 years agocodec: VideoToolbox: drain on eos
Francois Cartegnie [Mon, 12 Jun 2017 15:51:31 +0000 (17:51 +0200)]
codec: VideoToolbox: drain on eos

4 years agodecoder: VideoToolbox: force display of eos pics
Francois Cartegnie [Mon, 12 Jun 2017 15:47:25 +0000 (17:47 +0200)]
decoder: VideoToolbox: force display of eos pics

4 years agocodec: avcodec: fix drain on eos
Francois Cartegnie [Mon, 12 Jun 2017 15:33:03 +0000 (17:33 +0200)]
codec: avcodec: fix drain on eos

4 years agopacketizer: mpegvideo: check block gather
Francois Cartegnie [Mon, 12 Jun 2017 15:07:29 +0000 (17:07 +0200)]
packetizer: mpegvideo: check block gather

4 years agopacketizer: hevc: flag with EOS
Francois Cartegnie [Mon, 12 Jun 2017 15:05:52 +0000 (17:05 +0200)]
packetizer: hevc: flag with EOS

4 years agopacketizer: h264: set EOS flag
Francois Cartegnie [Mon, 12 Jun 2017 15:00:54 +0000 (17:00 +0200)]
packetizer: h264: set EOS flag

4 years agopacketizer: h264: replace discontinuity with next_block_flags
Francois Cartegnie [Mon, 12 Jun 2017 14:52:05 +0000 (16:52 +0200)]
packetizer: h264: replace discontinuity with next_block_flags

4 years agocodec: avcodec: use date_t for pts
Francois Cartegnie [Mon, 12 Jun 2017 10:35:20 +0000 (12:35 +0200)]
codec: avcodec: use date_t for pts

4 years agocodec: avcodec: split sidedata processing
Francois Cartegnie [Thu, 8 Jun 2017 16:40:49 +0000 (18:40 +0200)]
codec: avcodec: split sidedata processing

unreadable

4 years agomacosx: Fix wrong logic for 10.7.4 and 10.7.5 workaround
David Fuhrmann [Sat, 10 Jun 2017 19:22:59 +0000 (21:22 +0200)]
macosx: Fix wrong logic for 10.7.4 and 10.7.5 workaround

The old condition was always false, as is was describing
OSX versions smaller than Lion (which are not supported
anymore).

Regression from a8ae0bd01014e5cc05f618a1b1228a214d84229d

4 years agomacosx: Change OS constants to always include all higher OS versions
David Fuhrmann [Sat, 10 Jun 2017 19:15:01 +0000 (21:15 +0200)]
macosx: Change OS constants to always include all higher OS versions

This fixes several cases where OSX_SIERRA was forgotten.
This seems to be a recurring problem and there is no need to limit
the constants to a specific macOS version. Usually, a feature
introduced in one version as also available on the subsequent ones.

4 years agomacosx: Remove unneeded frame manipulation code in main window
David Fuhrmann [Sat, 10 Jun 2017 18:52:21 +0000 (20:52 +0200)]
macosx: Remove unneeded frame manipulation code in main window

All of this code has no effect anymore, as autolayout is used
now.

4 years agoinput: rationalize unknown query error
Rémi Denis-Courmont [Sat, 10 Jun 2017 10:04:08 +0000 (13:04 +0300)]
input: rationalize unknown query error

This uses the same error format for ES out and input as demux.

4 years agodemux: ignore navigation controls by default
Rémi Denis-Courmont [Sat, 10 Jun 2017 10:01:36 +0000 (13:01 +0300)]
demux: ignore navigation controls by default

This removes pointless errors when trying to navigate in a simple
demuxer.

4 years agosrc: os2: fix typo
KO Myung-Hun [Mon, 5 Jun 2017 07:15:23 +0000 (16:15 +0900)]
src: os2: fix typo

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoqt: fix double resize of video widget on hidpi screen
Anatoliy Anischovich [Sat, 3 Jun 2017 18:11:24 +0000 (21:11 +0300)]
qt: fix double resize of video widget on hidpi screen

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agoegl: syntax error
Rémi Denis-Courmont [Thu, 8 Jun 2017 17:56:37 +0000 (20:56 +0300)]
egl: syntax error

Comma must be between two expressions.

4 years agocodec: avcodec: flush decoder on eof
Francois Cartegnie [Thu, 8 Jun 2017 08:54:47 +0000 (10:54 +0200)]
codec: avcodec: flush decoder on eof

4 years agotext_renderer: freetype: fix character level wrapping
Francois Cartegnie [Thu, 8 Jun 2017 11:58:02 +0000 (13:58 +0200)]
text_renderer: freetype: fix character level wrapping

4 years agotext_renderer: freetype: don't reparse from previous space
Francois Cartegnie [Wed, 7 Jun 2017 14:49:07 +0000 (16:49 +0200)]
text_renderer: freetype: don't reparse from previous space

4 years agotext_renderer: freetype: refactor whitespace and get more accurate length
Francois Cartegnie [Wed, 7 Jun 2017 14:24:31 +0000 (16:24 +0200)]
text_renderer: freetype: refactor whitespace and get more accurate length

4 years agotext_renderer: freetype: use position indexes in LayoutLine
Francois Cartegnie [Wed, 7 Jun 2017 12:19:13 +0000 (14:19 +0200)]
text_renderer: freetype: use position indexes in LayoutLine

4 years agotext_renderer: freetype: strip lines according to max_height
Francois Cartegnie [Wed, 7 Jun 2017 16:02:41 +0000 (18:02 +0200)]
text_renderer: freetype: strip lines according to max_height

4 years agotext_renderer: freetype: truncate line according to region max width
Francois Cartegnie [Mon, 5 Jun 2017 18:45:17 +0000 (20:45 +0200)]
text_renderer: freetype: truncate line according to region max width

4 years agovlc_subpicture: add per region width/height cropping
Francois Cartegnie [Fri, 2 Jun 2017 13:17:44 +0000 (15:17 +0200)]
vlc_subpicture: add per region width/height cropping

We might want to limit text rendered output

4 years agolibvlc: use container_of()
Rémi Denis-Courmont [Wed, 7 Jun 2017 20:21:06 +0000 (23:21 +0300)]
libvlc: use container_of()

4 years agoplaylist: use container_of()
Rémi Denis-Courmont [Wed, 7 Jun 2017 20:13:37 +0000 (23:13 +0300)]
playlist: use container_of()

4 years agoinput: use container_of()
Rémi Denis-Courmont [Wed, 7 Jun 2017 20:04:14 +0000 (23:04 +0300)]
input: use container_of()

4 years agommdevice: use container_of()
Rémi Denis-Courmont [Wed, 7 Jun 2017 20:04:07 +0000 (23:04 +0300)]
mmdevice: use container_of()

4 years agohttp: use container_of()
Rémi Denis-Courmont [Wed, 7 Jun 2017 20:03:48 +0000 (23:03 +0300)]
http: use container_of()

4 years agoAdd container_of() convenience wrapper for offsetof()
Rémi Denis-Courmont [Wed, 7 Jun 2017 20:02:30 +0000 (23:02 +0300)]
Add container_of() convenience wrapper for offsetof()

(Name comes Linux kernel. Implementation is from scratch.)

4 years agotext_renderer: freetype: fix oob
Francois Cartegnie [Wed, 7 Jun 2017 08:22:32 +0000 (10:22 +0200)]
text_renderer: freetype: fix oob

4 years agovt_utils: implements picture context copy
Thomas Guillem [Tue, 6 Jun 2017 09:53:11 +0000 (11:53 +0200)]
vt_utils: implements picture context copy

4 years agotext_renderer: freetype: set max width according to offset
Francois Cartegnie [Tue, 6 Jun 2017 14:21:14 +0000 (16:21 +0200)]
text_renderer: freetype: set max width according to offset

4 years agotext_renderer: freetype: fix text max_width
Francois Cartegnie [Tue, 6 Jun 2017 12:45:10 +0000 (14:45 +0200)]
text_renderer: freetype: fix text max_width

4 years agovout: epg: split text styling
Francois Cartegnie [Tue, 30 May 2017 16:12:40 +0000 (18:12 +0200)]
vout: epg: split text styling

4 years agovout: epg: use macros and rgb colors
Francois Cartegnie [Tue, 30 May 2017 15:47:11 +0000 (17:47 +0200)]
vout: epg: use macros and rgb colors

because no one can think in yuv

4 years agovout: epg: refactor time to strings
Francois Cartegnie [Tue, 30 May 2017 15:32:14 +0000 (17:32 +0200)]
vout: epg: refactor time to strings

4 years agovout: epg: split time sizes
Francois Cartegnie [Tue, 30 May 2017 15:39:32 +0000 (17:39 +0200)]
vout: epg: split time sizes

4 years agovout: fetch next event in vout_OSDEpg
Francois Cartegnie [Thu, 1 Jun 2017 10:14:40 +0000 (12:14 +0200)]
vout: fetch next event in vout_OSDEpg

4 years agoRevert "fourcc: no YUV fallback for VDPAU chromas"
Rémi Denis-Courmont [Tue, 6 Jun 2017 16:48:13 +0000 (19:48 +0300)]
Revert "fourcc: no YUV fallback for VDPAU chromas"

This reverts commit faa5a38a4c00614f687a5e25c137ca239c0786cd.

4 years agopicture: copy picture context in picture_Copy() (fixes #14456)
Rémi Denis-Courmont [Mon, 5 Jun 2017 17:56:40 +0000 (20:56 +0300)]
picture: copy picture context in picture_Copy() (fixes #14456)

4 years agocontribs: archive: Remove windows-file specific declaration
Hugo Beauzée-Luyssen [Tue, 6 Jun 2017 14:23:21 +0000 (16:23 +0200)]
contribs: archive: Remove windows-file specific declaration

This fixes the build on UWP/WinRT

4 years agochroma: chain: fix level variable destroyed twice
Thomas Guillem [Tue, 6 Jun 2017 10:00:01 +0000 (12:00 +0200)]
chroma: chain: fix level variable destroyed twice

The level variable can be destroyed just after the filter chain is built.

4 years agopacketizer: mpegaudio: fix rate change
Francois Cartegnie [Tue, 6 Jun 2017 08:52:02 +0000 (10:52 +0200)]
packetizer: mpegaudio: fix rate change

4 years agovt_utils: use proper structure type for picture context
Thomas Guillem [Tue, 6 Jun 2017 07:28:12 +0000 (09:28 +0200)]
vt_utils: use proper structure type for picture context

4 years agotext_renderer: freetype: don't fail the whole region on empty paragraph
Francois Cartegnie [Sun, 4 Jun 2017 12:11:08 +0000 (14:11 +0200)]
text_renderer: freetype: don't fail the whole region on empty paragraph

4 years agotext_renderer: freetype: parametrize TextLayout max width
Francois Cartegnie [Fri, 2 Jun 2017 18:02:26 +0000 (20:02 +0200)]
text_renderer: freetype: parametrize TextLayout max width

4 years agotext_renderer: freetype: don't fail on line with empty bitmap (fix #18365)
Francois Cartegnie [Fri, 2 Jun 2017 16:49:15 +0000 (18:49 +0200)]
text_renderer: freetype: don't fail on line with empty bitmap (fix #18365)