vlc.git
19 months agocontrib: Prefix EXTRA_LDFLAGS with the path to our build dir
Hugo Beauzée-Luyssen [Tue, 19 Sep 2017 08:12:19 +0000 (10:12 +0200)]
contrib: Prefix EXTRA_LDFLAGS with the path to our build dir

19 months agoRevert "contribs: Ensure we're using the contrib libraries when available"
Hugo Beauzée-Luyssen [Tue, 19 Sep 2017 07:41:38 +0000 (09:41 +0200)]
Revert "contribs: Ensure we're using the contrib libraries when available"

This reverts commit 8c37ebde339a92b8043652c7eabe52836f2a1d87.

19 months agoRevert "configure: Prepend contrib -L arguments"
Hugo Beauzée-Luyssen [Tue, 19 Sep 2017 07:41:29 +0000 (09:41 +0200)]
Revert "configure: Prepend contrib -L arguments"

This reverts commit 166defa9b2be15b209b6738353cf02edecd76c8c.

19 months agocodec: videotoolbox: align output buffers
Thomas Guillem [Tue, 19 Sep 2017 08:11:49 +0000 (10:11 +0200)]
codec: videotoolbox: align output buffers

19 months agochroma: cvpx: don't rely on parent filter owner
Thomas Guillem [Tue, 19 Sep 2017 08:11:21 +0000 (10:11 +0200)]
chroma: cvpx: don't rely on parent filter owner

19 months agoimage: remove ugly cast
Thomas Guillem [Mon, 18 Sep 2017 15:03:32 +0000 (17:03 +0200)]
image: remove ugly cast

20 months agopulse: increase the target length in low latency mode
Adrien Maglo [Mon, 18 Sep 2017 13:29:19 +0000 (15:29 +0200)]
pulse: increase the target length in low latency mode

This fixes audio glitches on some configuration.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agomacosx: Add option to enable http server from simple prefs
David Fuhrmann [Mon, 18 Sep 2017 11:35:05 +0000 (13:35 +0200)]
macosx: Add option to enable http server from simple prefs

In addition to the existing password field, add a checkbox to
enable the http module.
Refactor code to enable / disable modules.

closes #17914

20 months agomacosx: Readd missing delegates for simple preference
David Fuhrmann [Mon, 18 Sep 2017 11:28:39 +0000 (13:28 +0200)]
macosx: Readd missing delegates for simple preference

Each text field must have a delegate to ensure that controlText
DidChange is called when text is changed. Otherwise, the changed
value might not be saved in preferences.

20 months agomacosx: core dialogs: cancel modal loop on main thread
David Fuhrmann [Mon, 18 Sep 2017 11:13:38 +0000 (13:13 +0200)]
macosx: core dialogs: cancel modal loop on main thread

20 months agomacosx: progress dialog: Fix cancellability and cancellable state
David Fuhrmann [Mon, 18 Sep 2017 10:59:46 +0000 (12:59 +0200)]
macosx: progress dialog: Fix cancellability and cancellable state

According to API, an empty (NULL) cancel string means the dialog
is not cancellable.
Dialog can be also cancelled by calling pf_cancel, which in turn
stops the modal event loop with 0. In this case,
vlc_dialog_id_dismiss shall be called as well.

20 months agospatialaudio: fix invalid block length
Thomas Guillem [Mon, 18 Sep 2017 12:16:10 +0000 (14:16 +0200)]
spatialaudio: fix invalid block length

It was caused by integer overflow.

20 months agomodules: x265 is a C++ module
Hugo Beauzée-Luyssen [Mon, 18 Sep 2017 08:22:52 +0000 (10:22 +0200)]
modules: x265 is a C++ module

20 months agoconfigure: Prepend contrib -L arguments
Hugo Beauzée-Luyssen [Mon, 18 Sep 2017 07:19:20 +0000 (09:19 +0200)]
configure: Prepend contrib -L arguments

Appending them would cause the system libraries to be used over our
contrib versions

20 months agocontribs: Ensure we're using the contrib libraries when available
Hugo Beauzée-Luyssen [Fri, 15 Sep 2017 15:36:54 +0000 (17:36 +0200)]
contribs: Ensure we're using the contrib libraries when available

20 months agocontribs: iOS: Remove duplicated LDFLAGS
Hugo Beauzée-Luyssen [Fri, 15 Sep 2017 15:35:50 +0000 (17:35 +0200)]
contribs: iOS: Remove duplicated LDFLAGS

EXTRA_LDFLAGS is added to LDFLAGS a few lines below

20 months agovout: macosx: remove unused module option
Thomas Guillem [Mon, 18 Sep 2017 06:29:26 +0000 (08:29 +0200)]
vout: macosx: remove unused module option

It was added by myself for testing purpose.

20 months agotcp: print proper error when binding a port fails
Rémi Denis-Courmont [Sat, 16 Sep 2017 13:14:49 +0000 (16:14 +0300)]
tcp: print proper error when binding a port fails

20 months agoconfig: generates modules list if none found
Rémi Denis-Courmont [Fri, 15 Sep 2017 22:45:53 +0000 (01:45 +0300)]
config: generates modules list if none found

Zero modules (for a capability) is not an error per se. This generates a
valid choice list even if there are no matching modules.

20 months agohttpd: fix inverted logic (fixes #18812)
Rémi Denis-Courmont [Fri, 15 Sep 2017 20:19:33 +0000 (23:19 +0300)]
httpd: fix inverted logic (fixes #18812)

20 months agoqt: also update text with indeterminate progress
Thomas Guillem [Fri, 15 Sep 2017 15:33:52 +0000 (17:33 +0200)]
qt: also update text with indeterminate progress

20 months agodialog: also update text with indeterminate progress
Thomas Guillem [Fri, 15 Sep 2017 15:32:12 +0000 (17:32 +0200)]
dialog: also update text with indeterminate progress

20 months agodecoder: cc: detect/auto raise reorder depth
Francois Cartegnie [Fri, 15 Sep 2017 08:49:55 +0000 (10:49 +0200)]
decoder: cc: detect/auto raise reorder depth

20 months agopacketizer: hxxx: fix DirectTV extraction
Francois Cartegnie [Thu, 14 Sep 2017 17:34:01 +0000 (19:34 +0200)]
packetizer: hxxx: fix DirectTV extraction

20 months agorawvideo: Revert "only copy the input es_format_t on output for the decoder"
Pierre Lamot [Thu, 14 Sep 2017 07:45:25 +0000 (09:45 +0200)]
rawvideo: Revert "only copy the input es_format_t on output for the decoder"

This reverts commit ac2886e617b9ba25d3c6f2d52a1bdaf020f119a7.

Packetizer and decoder have their fmt_out initialized to 0 before beeing
opened, they have to provide fmt_out. Raw video should provide the same format
as its input.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agoes_out: fix codec alias description
Francois Cartegnie [Thu, 14 Sep 2017 12:22:25 +0000 (14:22 +0200)]
es_out: fix codec alias description

20 months agodemux: mp4: add dolby vision
Francois Cartegnie [Thu, 14 Sep 2017 11:37:24 +0000 (13:37 +0200)]
demux: mp4: add dolby vision

20 months agofourcc: add dolby vision
Francois Cartegnie [Thu, 14 Sep 2017 11:36:57 +0000 (13:36 +0200)]
fourcc: add dolby vision

20 months agofourcc: move hvc1 mapping to fourcc
Francois Cartegnie [Thu, 14 Sep 2017 11:35:01 +0000 (13:35 +0200)]
fourcc: move hvc1 mapping to fourcc

20 months agoaudiounit_ios: don't call AudioOutputUnitStop twice
Thomas Guillem [Thu, 14 Sep 2017 09:09:14 +0000 (11:09 +0200)]
audiounit_ios: don't call AudioOutputUnitStop twice

20 months agodemux: mp4: map more metadata (fix #18807)
Francois Cartegnie [Thu, 14 Sep 2017 09:02:34 +0000 (11:02 +0200)]
demux: mp4: map more metadata (fix #18807)

20 months agoplaylist: m3u speed up url lookup
Francois Cartegnie [Tue, 12 Sep 2017 15:37:29 +0000 (17:37 +0200)]
playlist: m3u speed up url lookup

was pretty bad if junk file was starting with #
or all comments

20 months agoFreetype: Add missing codepoint parameter when loading glyph
Geoffrey Métais [Mon, 11 Sep 2017 13:55:39 +0000 (15:55 +0200)]
Freetype: Add missing codepoint parameter when loading glyph

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
20 months agoFreeType: fix the rendering of a single caracter
Adrien Maglo [Fri, 8 Sep 2017 13:35:31 +0000 (15:35 +0200)]
FreeType: fix the rendering of a single caracter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
20 months agodirect3d11: fix the AMD driver bug detection
Steve Lhomme [Tue, 12 Sep 2017 06:24:08 +0000 (08:24 +0200)]
direct3d11: fix the AMD driver bug detection

P010 is displayed fine with the 22.19.162.xxx drivers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
20 months agocodec: videotoolbox: don't override colorimetry set by the input
Thomas Guillem [Wed, 13 Sep 2017 09:17:42 +0000 (11:17 +0200)]
codec: videotoolbox: don't override colorimetry set by the input

20 months agoRevert "opengl: converter_cvpx: don't handle color space"
Thomas Guillem [Wed, 13 Sep 2017 07:11:52 +0000 (09:11 +0200)]
Revert "opengl: converter_cvpx: don't handle color space"

This commits worked by luck for HD content because Videotoolbox was wrong.
Indeed, COLOR_SPACE_UNDEF in opengl_fragment_shader_init() will use the default
colorspace conversion: BT709.

This reverts commit e818a9b141d588f0582af2555a3c45065ae84992.

20 months agocodec: videotoolbox: don't use VT colorimetry
Thomas Guillem [Wed, 13 Sep 2017 09:10:15 +0000 (11:10 +0200)]
codec: videotoolbox: don't use VT colorimetry

It's always the same: kCVImageBufferYCbCrMatrix_ITU_R_601_4 for SD or HD
content and doesn't match the value in the SPS.

When unknown, it's better to don't set the colorimetry and let
video_format_AdjustColorSpace() (called by the core) guess it.

20 months agocodec: videotoolbox: get colorimetry from the SPS
Thomas Guillem [Wed, 13 Sep 2017 09:08:32 +0000 (11:08 +0200)]
codec: videotoolbox: get colorimetry from the SPS

20 months agocodec: videotoolbox: call SetH264DecoderInfo for avcC
Thomas Guillem [Wed, 13 Sep 2017 09:07:58 +0000 (11:07 +0200)]
codec: videotoolbox: call SetH264DecoderInfo for avcC

In order to fill the video_format_t from the SPS.

20 months agocodec: videotoolbox: don't release extradataInfo if re-used
Thomas Guillem [Wed, 13 Sep 2017 08:28:30 +0000 (10:28 +0200)]
codec: videotoolbox: don't release extradataInfo if re-used

No changes since SetH264DecoderInfo() is not yet called with a re-used
extradataInfo.

20 months agocodec: hxxx_helper: add hxxx_helper_get_colorimetry
Thomas Guillem [Wed, 13 Sep 2017 08:17:53 +0000 (10:17 +0200)]
codec: hxxx_helper: add hxxx_helper_get_colorimetry

20 months agopacketizer: h264: add h264_get_colorimetry
Thomas Guillem [Wed, 13 Sep 2017 07:42:31 +0000 (09:42 +0200)]
packetizer: h264: add h264_get_colorimetry

20 months agosoundcloud.lua: update API magic
Pierre Ynard [Tue, 12 Sep 2017 21:20:54 +0000 (23:20 +0200)]
soundcloud.lua: update API magic

20 months agoftp: fix leak on error
Rémi Denis-Courmont [Tue, 12 Sep 2017 17:16:30 +0000 (20:16 +0300)]
ftp: fix leak on error

20 months agoftp: fix data reception (fixes #18803)
Rémi Denis-Courmont [Tue, 12 Sep 2017 17:16:14 +0000 (20:16 +0300)]
ftp: fix data reception (fixes #18803)

20 months agovt_utils: fix buffers not always backed by an IOSurface
Thomas Guillem [Tue, 12 Sep 2017 15:31:26 +0000 (17:31 +0200)]
vt_utils: fix buffers not always backed by an IOSurface

20 months agoci_filters: indent autoreleasepool
Thomas Guillem [Tue, 12 Sep 2017 14:57:53 +0000 (16:57 +0200)]
ci_filters: indent autoreleasepool

20 months agoci_filters: add iOS support
Thomas Guillem [Tue, 12 Sep 2017 12:54:48 +0000 (14:54 +0200)]
ci_filters: add iOS support

20 months agoci_filters: use autoreleasepool
Thomas Guillem [Tue, 12 Sep 2017 14:11:48 +0000 (16:11 +0200)]
ci_filters: use autoreleasepool

This reduces heavily the memory footprint.

20 months agoci_filters: fix leak on error path
Thomas Guillem [Tue, 12 Sep 2017 11:02:51 +0000 (13:02 +0200)]
ci_filters: fix leak on error path

20 months agovt_utils: rename cvpxpool_get_cvpx
Thomas Guillem [Tue, 12 Sep 2017 12:57:58 +0000 (14:57 +0200)]
vt_utils: rename cvpxpool_get_cvpx

20 months agogl: cvpx: use CVEAGLContextCGLContextObj from ios vout variable
Thomas Guillem [Tue, 12 Sep 2017 12:53:28 +0000 (14:53 +0200)]
gl: cvpx: use CVEAGLContextCGLContextObj from ios vout variable

20 months agogl: cvpx: use CGLContextObj from macosx vout variable
Thomas Guillem [Tue, 12 Sep 2017 12:51:42 +0000 (14:51 +0200)]
gl: cvpx: use CGLContextObj from macosx vout variable

20 months agovout: macosx: rework "macosx-ns-opengl-context" var
Thomas Guillem [Tue, 12 Sep 2017 12:50:31 +0000 (14:50 +0200)]
vout: macosx: rework "macosx-ns-opengl-context" var

Store directly a CGLContext and rename "macosx-ns-opengl-context" to
"macosx-glcontext".

Also fix a wrong var_Destroy() on error path.

20 months agocodec: videotoolbox: fix seek speed
Thomas Guillem [Tue, 12 Sep 2017 14:08:40 +0000 (16:08 +0200)]
codec: videotoolbox: fix seek speed

Do not output video frames while flushing.

Fixes #18799

20 months agodemux: adaptive: debug HTTP/HTTPS error
Zhao Zhili [Tue, 12 Sep 2017 05:46:47 +0000 (13:46 +0800)]
demux: adaptive: debug HTTP/HTTPS error

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
20 months agodemux: adaptive: add missing port number in Host field
Zhao Zhili [Tue, 12 Sep 2017 03:55:56 +0000 (11:55 +0800)]
demux: adaptive: add missing port number in Host field

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
20 months agoci_filters: fix cvpx buffer leak
Thomas Guillem [Tue, 12 Sep 2017 09:15:24 +0000 (11:15 +0200)]
ci_filters: fix cvpx buffer leak

20 months agocodec: vt_utils: fix pic leak
Thomas Guillem [Tue, 12 Sep 2017 09:14:45 +0000 (11:14 +0200)]
codec: vt_utils: fix pic leak

20 months agocodec: vt_utils: fix double release in error path
Thomas Guillem [Tue, 12 Sep 2017 07:41:20 +0000 (09:41 +0200)]
codec: vt_utils: fix double release in error path

20 months agocodec: videotoolbox: refactor
Thomas Guillem [Tue, 12 Sep 2017 08:19:40 +0000 (10:19 +0200)]
codec: videotoolbox: refactor

Toolize ESDSCreate, rename it to ESDSExtradataInfoCreate.
Rename GetH264ExtradataInfo to H264ExtradataInfoCreate.

20 months agocodec: videotoolbox: fix extradataInfo leak
Thomas Guillem [Tue, 12 Sep 2017 08:16:07 +0000 (10:16 +0200)]
codec: videotoolbox: fix extradataInfo leak

20 months agomacosx: fix input url leak
Thomas Guillem [Tue, 12 Sep 2017 08:15:28 +0000 (10:15 +0200)]
macosx: fix input url leak

20 months agocodec: vt_utils: Fix memory leak due to excess retain of CVPixelBuffer
Marvin Scholz [Mon, 11 Sep 2017 21:55:09 +0000 (23:55 +0200)]
codec: vt_utils: Fix memory leak due to excess retain of CVPixelBuffer

cvpxpic_attach already retains the CVPixelBufferRef, so retaining it
before calling this function is not necessary.

Fix #18767

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agogl: cvpx: clear texture cache between each frames
Thomas Guillem [Mon, 11 Sep 2017 16:32:21 +0000 (18:32 +0200)]
gl: cvpx: clear texture cache between each frames

20 months agogl: cvpx: remove useless glActiveTexture call
Thomas Guillem [Mon, 11 Sep 2017 16:31:52 +0000 (18:31 +0200)]
gl: cvpx: remove useless glActiveTexture call

20 months agocodec: videotoolbox: force NV12 output for H264 10bits
Thomas Guillem [Mon, 11 Sep 2017 15:51:46 +0000 (17:51 +0200)]
codec: videotoolbox: force NV12 output for H264 10bits

cf. FIXME comment

20 months agocodec: videotoolbox: don't force BufferBytesPerRowAlignmentKey
Thomas Guillem [Mon, 11 Sep 2017 15:28:12 +0000 (17:28 +0200)]
codec: videotoolbox: don't force BufferBytesPerRowAlignmentKey

This fixes H264 10bits RGBA rendering on iOS.

20 months agocodec: videotoolbox: abort in case of kVTVideoDecoderMalfunctionErr
Thomas Guillem [Mon, 11 Sep 2017 14:45:17 +0000 (16:45 +0200)]
codec: videotoolbox: abort in case of kVTVideoDecoderMalfunctionErr

20 months agocodec: videotoolbox: expand DecoderCallback lock
Thomas Guillem [Mon, 11 Sep 2017 14:43:51 +0000 (16:43 +0200)]
codec: videotoolbox: expand DecoderCallback lock

20 months agocodec: videotoolbox: explicitly drain
Thomas Guillem [Mon, 11 Sep 2017 14:34:36 +0000 (16:34 +0200)]
codec: videotoolbox: explicitly drain

Instead of just waiting for frames.

20 months agocodec: videotoolbox: flush DPB
Thomas Guillem [Mon, 11 Sep 2017 14:32:26 +0000 (16:32 +0200)]
codec: videotoolbox: flush DPB

When the decoder is stopped or flushing, no need to drain DPB.

20 months agocodec: videotoolbox: reset vt_feed on stop
Thomas Guillem [Mon, 11 Sep 2017 13:22:33 +0000 (15:22 +0200)]
codec: videotoolbox: reset vt_feed on stop

20 months agocodec: videotoolbox: check if H264 needs restart
Francois Cartegnie [Mon, 11 Sep 2017 11:17:42 +0000 (13:17 +0200)]
codec: videotoolbox: check if H264 needs restart

20 months agocodec: videotoolbox: don't store decoderConfiguration
Francois Cartegnie [Mon, 11 Sep 2017 12:35:28 +0000 (14:35 +0200)]
codec: videotoolbox: don't store decoderConfiguration

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agocodec: videotoolbox: don't store pixelbufferattr
Francois Cartegnie [Fri, 8 Sep 2017 09:29:00 +0000 (11:29 +0200)]
codec: videotoolbox: don't store pixelbufferattr

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agocodec: videotoolbox: split decoderconfiguration creation
Francois Cartegnie [Thu, 7 Sep 2017 16:50:41 +0000 (18:50 +0200)]
codec: videotoolbox: split decoderconfiguration creation

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agocodec: videotoolbox: fix comment
Francois Cartegnie [Thu, 7 Sep 2017 15:54:15 +0000 (17:54 +0200)]
codec: videotoolbox: fix comment

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agocodec: videotoolbox: split extradatainfo creation
Francois Cartegnie [Thu, 7 Sep 2017 15:48:04 +0000 (17:48 +0200)]
codec: videotoolbox: split extradatainfo creation

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agocodec: videotoolbox: toolize extradata creation
Francois Cartegnie [Thu, 7 Sep 2017 15:34:55 +0000 (17:34 +0200)]
codec: videotoolbox: toolize extradata creation

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
20 months agocodec: hxxx_helper: use const when possible
Thomas Guillem [Mon, 11 Sep 2017 13:46:48 +0000 (15:46 +0200)]
codec: hxxx_helper: use const when possible

20 months agodemux: subtitle: fix sami loop (fix #18785)
Francois Cartegnie [Sun, 10 Sep 2017 13:57:16 +0000 (15:57 +0200)]
demux: subtitle: fix sami loop (fix #18785)

happens when a start= is on same line

20 months agodemux: subtitle: fix sami constness
Francois Cartegnie [Sun, 10 Sep 2017 22:00:20 +0000 (00:00 +0200)]
demux: subtitle: fix sami constness

20 months agomacosx: Use layers for table and tableCell views in log window
Marvin Scholz [Sun, 10 Sep 2017 00:04:13 +0000 (02:04 +0200)]
macosx: Use layers for table and tableCell views in log window

20 months agomacosx: open panel: contrain width of tab view to avoid growing
David Fuhrmann [Fri, 8 Sep 2017 17:13:20 +0000 (19:13 +0200)]
macosx: open panel: contrain width of tab view to avoid growing

C.f. long URLs in MRL or network field.

20 months agolib: fix type for input controls
Rémi Denis-Courmont [Fri, 8 Sep 2017 15:36:02 +0000 (18:36 +0300)]
lib: fix type for input controls

20 months agologger/file: Use choice list for log-verbose option
Marvin Scholz [Fri, 1 Sep 2017 21:35:41 +0000 (23:35 +0200)]
logger/file: Use choice list for log-verbose option

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
20 months agovout: ios: use vlc_malloc/calloc
Thomas Guillem [Fri, 8 Sep 2017 13:58:15 +0000 (15:58 +0200)]
vout: ios: use vlc_malloc/calloc

20 months agogl: add GL asserts
Thomas Guillem [Fri, 8 Sep 2017 12:37:43 +0000 (14:37 +0200)]
gl: add GL asserts

Enabled only if NDEBUG not defined and not on APPLE (cf. comment).

20 months agovout: ios: fix leak
Thomas Guillem [Fri, 8 Sep 2017 12:23:23 +0000 (14:23 +0200)]
vout: ios: fix leak

20 months agocodec: subsdec: fix reading non delimited attributes values
Francois Cartegnie [Fri, 8 Sep 2017 11:57:03 +0000 (13:57 +0200)]
codec: subsdec: fix reading non delimited attributes values

20 months agocodec: subsdec: fix deadloop (fix #18782)
Francois Cartegnie [Fri, 8 Sep 2017 11:47:00 +0000 (13:47 +0200)]
codec: subsdec: fix deadloop (fix #18782)

introduced by sec fixes 62be394b2c711328f083cb63f261c200ac89a4bb

20 months agodemux: playlist: xspf: really fix skip_element
Francois Cartegnie [Fri, 8 Sep 2017 10:19:58 +0000 (12:19 +0200)]
demux: playlist: xspf: really fix skip_element

20 months agoaout: audiounit_ios: fix deadlock on flush while paused
Thomas Guillem [Fri, 8 Sep 2017 10:56:12 +0000 (12:56 +0200)]
aout: audiounit_ios: fix deadlock on flush while paused

20 months agoaout: coreaudio: add Open/Close helpers
Thomas Guillem [Fri, 8 Sep 2017 10:55:57 +0000 (12:55 +0200)]
aout: coreaudio: add Open/Close helpers

20 months agovout: macos: lock the OpenGL context before applying changes
Thomas Guillem [Fri, 8 Sep 2017 08:11:22 +0000 (10:11 +0200)]
vout: macos: lock the OpenGL context before applying changes

20 months agovout: ios: refactor OpenGL context locking
Thomas Guillem [Thu, 7 Sep 2017 14:09:06 +0000 (16:09 +0200)]
vout: ios: refactor OpenGL context locking

Check if app is active from vlc_gl_MakeCurrent.
Simplify the code since sys->gl can't be NULL.

20 months agovout: ios: add missing static identifier
Thomas Guillem [Fri, 8 Sep 2017 11:38:42 +0000 (13:38 +0200)]
vout: ios: add missing static identifier

20 months agovideotoolbox: add an option to force the decoder chroma
Thomas Guillem [Thu, 7 Sep 2017 14:09:06 +0000 (16:09 +0200)]
videotoolbox: add an option to force the decoder chroma