vlc.git
3 years agolibvlc: libvlc_media_discoverer_stop returns nothing
Thomas Guillem [Thu, 9 Jun 2016 09:01:40 +0000 (11:01 +0200)]
libvlc: libvlc_media_discoverer_stop returns nothing

3 years agovout_macosx: fix runtime exception when setting the colorspace
Felix Paul Kühne [Wed, 8 Jun 2016 16:33:28 +0000 (18:33 +0200)]
vout_macosx: fix runtime exception when setting the colorspace

3 years agovlc.desktop: correctly set the path for the mimetypes file
Jean-Baptiste Kempf [Wed, 8 Jun 2016 15:09:29 +0000 (17:09 +0200)]
vlc.desktop: correctly set the path for the mimetypes file

3 years agocontribs: Update libdsm version
Hugo Beauzée-Luyssen [Wed, 8 Jun 2016 08:44:21 +0000 (10:44 +0200)]
contribs: Update libdsm version

3 years agodemux: adaptive: don't seek disabled streams
Francois Cartegnie [Wed, 8 Jun 2016 08:59:06 +0000 (10:59 +0200)]
demux: adaptive: don't seek disabled streams

As it was always seeking disabled streams,
init chunk was read on seek, queuing possible es
changes which are uncommited due to absence of sample data.
following dac320e35ff9cf400093dbd214e2e6408c70a43c
the fakeesout was always in restarting state then,
causing an always failing setposition which now checks
the restarting state.

3 years agotest: fix distcheck
Thomas Guillem [Wed, 8 Jun 2016 08:12:32 +0000 (10:12 +0200)]
test: fix distcheck

Add missing samples/slaves to EXTRA_DIST

3 years agodemux: add helper functions to avoid accessing update data directly outside of demux.c
Steve Lhomme [Tue, 7 Jun 2016 09:15:16 +0000 (11:15 +0200)]
demux: add helper functions to avoid accessing update data directly outside of demux.c

only demux.c code and the demuxer itself should access these data directly

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoWGL: OpenGL provider module for Windows
Adrien Maglo [Tue, 7 Jun 2016 16:06:03 +0000 (18:06 +0200)]
WGL: OpenGL provider module for Windows

Reactivate the support of projectM and 3dspectrum visualization modules
on Windows.

fix #13650

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agobluray: missing include
Rémi Denis-Courmont [Tue, 7 Jun 2016 18:19:43 +0000 (21:19 +0300)]
bluray: missing include

3 years agooss: fix typo
Rémi Denis-Courmont [Tue, 7 Jun 2016 18:14:42 +0000 (21:14 +0300)]
oss: fix typo

3 years agoposix: fix BSD build
Rémi Denis-Courmont [Tue, 7 Jun 2016 18:11:25 +0000 (21:11 +0300)]
posix: fix BSD build

3 years agolibvlc: change libvlc_media_player_add_slave arguments
Thomas Guillem [Tue, 7 Jun 2016 16:18:00 +0000 (18:18 +0200)]
libvlc: change libvlc_media_player_add_slave arguments

The last boolean argument is used to force the selection of a slave.

3 years agoinput/input: only select the first slave of each type
Thomas Guillem [Tue, 7 Jun 2016 15:19:45 +0000 (17:19 +0200)]
input/input: only select the first slave of each type

3 years agoinput/subtitles: sort subtitles coming from the file system
Thomas Guillem [Tue, 7 Jun 2016 15:08:08 +0000 (17:08 +0200)]
input/subtitles: sort subtitles coming from the file system

Keep the same subtitles order than before slaves commits (in order to don't
disturb the user).

3 years agoinput/input: refactor input_source_t addition for slaves
Thomas Guillem [Tue, 7 Jun 2016 15:19:19 +0000 (17:19 +0200)]
input/input: refactor input_source_t addition for slaves

input_SlaveSourceAdd is now used to create and add SPU and AUDIO sources. It
returns now an error.

3 years agoinput/input: refactor LoadSlaves
Thomas Guillem [Tue, 7 Jun 2016 15:14:39 +0000 (17:14 +0200)]
input/input: refactor LoadSlaves

And remove qsort that was added twice...

3 years agoinput/input: handle the "input-slave" option in LoadSlaves
Thomas Guillem [Tue, 7 Jun 2016 11:44:09 +0000 (13:44 +0200)]
input/input: handle the "input-slave" option in LoadSlaves

3 years agoinput/input: move LoadVarSlaves up
Thomas Guillem [Tue, 7 Jun 2016 11:44:50 +0000 (13:44 +0200)]
input/input: move LoadVarSlaves up

For next commit.

3 years agoinput: code simplification
Steve Lhomme [Tue, 7 Jun 2016 09:15:15 +0000 (11:15 +0200)]
input: code simplification

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoinput: use a simpler variable to check b_can_pace_control & b_can_rate_control
Steve Lhomme [Tue, 7 Jun 2016 09:15:14 +0000 (11:15 +0200)]
input: use a simpler variable to check b_can_pace_control & b_can_rate_control

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoinput: only check once if the demuxer has pf_demux
Steve Lhomme [Tue, 7 Jun 2016 09:15:13 +0000 (11:15 +0200)]
input: only check once if the demuxer has pf_demux

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agobluray: fix seekpoint overriding previously set flags
Steve Lhomme [Mon, 6 Jun 2016 09:51:50 +0000 (11:51 +0200)]
bluray: fix seekpoint overriding previously set flags

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agowin32: vout: use an atomic_bool with no lock for has_moved
Steve Lhomme [Mon, 6 Jun 2016 08:19:39 +0000 (10:19 +0200)]
win32: vout: use an atomic_bool with no lock for has_moved

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agopreparser: fix playlist_preparser_Cancel loop
Thomas Guillem [Tue, 7 Jun 2016 08:30:35 +0000 (10:30 +0200)]
preparser: fix playlist_preparser_Cancel loop

This may need a test finally...

3 years agoinput/demux: add preparsing flag
Thomas Guillem [Tue, 7 Jun 2016 07:27:54 +0000 (09:27 +0200)]
input/demux: add preparsing flag

This flag will be used to notify the demux module that we are preparsing.

Fixes #17024

3 years agoNEWS: mention libvlc_media_player_add_slave addition
Jean-Baptiste Kempf [Mon, 6 Jun 2016 20:38:27 +0000 (22:38 +0200)]
NEWS: mention libvlc_media_player_add_slave addition

3 years agodarwin: remove trailing spaces
Jean-Baptiste Kempf [Mon, 6 Jun 2016 17:01:41 +0000 (19:01 +0200)]
darwin: remove trailing spaces

3 years agolibvlc.sym: Add missing libvlc_media_player_add_slave entry
Hugo Beauzée-Luyssen [Mon, 6 Jun 2016 17:27:27 +0000 (19:27 +0200)]
libvlc.sym: Add missing libvlc_media_player_add_slave entry

3 years agoos2: implement vlc_thread_id()
KO Myung-Hun [Sun, 5 Jun 2016 15:37:06 +0000 (00:37 +0900)]
os2: implement vlc_thread_id()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoos2: fix compilation
KO Myung-Hun [Sun, 5 Jun 2016 15:37:05 +0000 (00:37 +0900)]
os2: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoconfig: remove usage of abort
Thomas Guillem [Sun, 5 Jun 2016 15:14:44 +0000 (17:14 +0200)]
config: remove usage of abort

3 years agovideo_filter/logo: remove usage of abort
Filip Roséen [Sun, 5 Jun 2016 15:08:37 +0000 (17:08 +0200)]
video_filter/logo: remove usage of abort

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoinput: force subtitles coming from subtitles_Detect
Thomas Guillem [Sun, 5 Jun 2016 15:01:15 +0000 (17:01 +0200)]
input: force subtitles coming from subtitles_Detect

This restore an historical behavior that was removed with input slaves patches.

3 years agomacosx: add convinience menu item to add files to playlist (closes #13759)
Felix Paul Kühne [Sun, 5 Jun 2016 14:49:46 +0000 (16:49 +0200)]
macosx: add convinience menu item to add files to playlist (closes #13759)

3 years agocore/input: check for allocation error during bookmark parsing
Filip Roséen [Sun, 5 Jun 2016 14:46:30 +0000 (16:46 +0200)]
core/input: check for allocation error during bookmark parsing

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agocore/input: fix potential memory-leak during bookmark parsing
Filip Roséen [Sun, 5 Jun 2016 14:02:16 +0000 (16:02 +0200)]
core/input: fix potential memory-leak during bookmark parsing

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agomacosx: remember preferences window location (closes #14023)
Felix Paul Kühne [Sun, 5 Jun 2016 14:37:24 +0000 (16:37 +0200)]
macosx: remember preferences window location (closes #14023)

3 years agotest_input_stream: use bigger random file for tests
Thomas Guillem [Sun, 5 Jun 2016 14:09:47 +0000 (16:09 +0200)]
test_input_stream: use bigger random file for tests

3 years agotest_input_stream: don't test I/O after EOF
Thomas Guillem [Sun, 5 Jun 2016 13:53:44 +0000 (15:53 +0200)]
test_input_stream: don't test I/O after EOF

Because it's UB and depends of accesses.

3 years agotest_input_stream: display size
Thomas Guillem [Sun, 5 Jun 2016 13:53:15 +0000 (15:53 +0200)]
test_input_stream: display size

3 years agolibVLC: add a None role
Harald Sitter [Sun, 5 Jun 2016 13:44:30 +0000 (15:44 +0200)]
libVLC: add a None role

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: avoid locking each libupnp callback exclusively
Steve Lhomme [Thu, 2 Jun 2016 12:08:20 +0000 (14:08 +0200)]
upnp: avoid locking each libupnp callback exclusively

UpnpDownloadXmlDoc() can take a while, during that time all other callbacks
are blocking while they could handle simple events quickly (logging) or do
another UpnpDownloadXmlDoc() in parallel.

We only need to lock the MediaServerList in the callbacks when we need it.
And not use it if it's already destroyed.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoupnp: do not delete the UpnpInstanceWrapper instance under s_lock
Steve Lhomme [Thu, 2 Jun 2016 12:08:19 +0000 (14:08 +0200)]
upnp: do not delete the UpnpInstanceWrapper instance under s_lock

It calls UpnpFinish() which might wait for some callbacks to finish and they
may be locked with s_lock.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoupnp: remove MediaServerList::m_lock, it's always used under s_lock protection
Steve Lhomme [Thu, 2 Jun 2016 12:08:18 +0000 (14:08 +0200)]
upnp: remove MediaServerList::m_lock, it's always used under s_lock protection

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoupnp: remove m_server_list_lock, p_server_list is already protected by s_lock
Steve Lhomme [Thu, 2 Jun 2016 12:08:17 +0000 (14:08 +0200)]
upnp: remove m_server_list_lock, p_server_list is already protected by s_lock

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoupnp: make p_server_list static
Steve Lhomme [Thu, 2 Jun 2016 12:08:16 +0000 (14:08 +0200)]
upnp: make p_server_list static

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agomacosx: expand AppleScript API for menu navigation and menu status checks
Felix Paul Kühne [Sun, 5 Jun 2016 12:06:55 +0000 (14:06 +0200)]
macosx: expand AppleScript API for menu navigation and menu status checks

3 years agoRevert "Revert "transcode: disable hardware decoding by default""
Rémi Denis-Courmont [Sun, 5 Jun 2016 11:05:21 +0000 (14:05 +0300)]
Revert "Revert "transcode: disable hardware decoding by default""

This reverts commit 059d52fb1d83525b3f8bfb242e34f8e7e87caec8.

3 years agostream_filter/cache_block: fix premature EOF
Filip Roséen [Sat, 4 Jun 2016 12:52:04 +0000 (14:52 +0200)]
stream_filter/cache_block: fix premature EOF

AStreamReadBlock would potentially return 0 because the current data block
(denoted by "p_sys->p_current") was exhausted, even though there might be more
data in the next data block ("p_sys->p_current->p_next").

At the place where this patch apply, `p_sys->p_current` has been set to
`p_sys->p_current->p_next`, so the pointer denotes the next block to
process (even though the name is rather misleading at that point).

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agov4l2: don't preparse
Thomas Guillem [Sat, 4 Jun 2016 15:47:26 +0000 (17:47 +0200)]
v4l2: don't preparse

3 years agoudp: don't preparse
Thomas Guillem [Sat, 4 Jun 2016 15:46:47 +0000 (17:46 +0200)]
udp: don't preparse

3 years agortsp: don't preparse
Thomas Guillem [Sat, 4 Jun 2016 15:46:34 +0000 (17:46 +0200)]
rtsp: don't preparse

3 years agodvb: don't preparse
Thomas Guillem [Sat, 4 Jun 2016 15:46:12 +0000 (17:46 +0200)]
dvb: don't preparse

3 years agoinput/access: add preparsing flag
Thomas Guillem [Sat, 4 Jun 2016 15:23:17 +0000 (17:23 +0200)]
input/access: add preparsing flag

This flag will be used to notify the access module that we are preparsing.

3 years agoinput: b_quick is b_preparsing
Thomas Guillem [Sat, 4 Jun 2016 15:05:21 +0000 (17:05 +0200)]
input: b_quick is b_preparsing

3 years agolibvlc: remove useless enum member
Thomas Guillem [Sun, 5 Jun 2016 10:35:11 +0000 (12:35 +0200)]
libvlc: remove useless enum member

3 years agolibvlc: add a timeout in libvlc_media_parse_with_options()
Thomas Guillem [Sun, 5 Jun 2016 09:36:19 +0000 (11:36 +0200)]
libvlc: add a timeout in libvlc_media_parse_with_options()

3 years agolibvlc: media: cancel preparsing when releasing a media
Thomas Guillem [Wed, 1 Jun 2016 09:33:40 +0000 (11:33 +0200)]
libvlc: media: cancel preparsing when releasing a media

3 years agocore: add libvlc_MetadataCancel
Thomas Guillem [Wed, 1 Jun 2016 09:29:12 +0000 (11:29 +0200)]
core: add libvlc_MetadataCancel

3 years agocore: extend libvlc_MetaRequest and rename it
Thomas Guillem [Wed, 1 Jun 2016 09:59:09 +0000 (11:59 +0200)]
core: extend libvlc_MetaRequest and rename it

This function can now pass a timeout and an unique id that can be used to
cancel requests pushed with this id.

Rename it because Meta is too meta.

3 years agopreparser: add a timeout in playlist_preparser_Push
Thomas Guillem [Sun, 5 Jun 2016 08:41:24 +0000 (10:41 +0200)]
preparser: add a timeout in playlist_preparser_Push

By default, the timeout is 5 seconds, see "preparse_timeout" option.

3 years agopreparser: add playlist_preparser_Cancel
Thomas Guillem [Wed, 1 Jun 2016 09:14:10 +0000 (11:14 +0200)]
preparser: add playlist_preparser_Cancel

Add a void * to playlist_preparser_Push arguments. This void * can be used as a
unique id to identity the caller of the request. playlist_preparser_Cancel()
will cancel all requets done with this id.

3 years agopreparser: use entry directly in Preparse
Thomas Guillem [Sun, 5 Jun 2016 08:50:44 +0000 (10:50 +0200)]
preparser: use entry directly in Preparse

3 years agopreparser: use size_t for an array count
Thomas Guillem [Wed, 1 Jun 2016 09:07:15 +0000 (11:07 +0200)]
preparser: use size_t for an array count

3 years agopreparser: interrupt the thread by stopping input_thread_t
Thomas Guillem [Sat, 4 Jun 2016 14:22:22 +0000 (16:22 +0200)]
preparser: interrupt the thread by stopping input_thread_t

3 years agomacosx: add warning for #16185
Felix Paul Kühne [Sun, 5 Jun 2016 09:56:08 +0000 (11:56 +0200)]
macosx: add warning for #16185

3 years agomacosx: Improve VLCHUDButtonCell drawing
Marvin Scholz [Sun, 5 Jun 2016 09:28:31 +0000 (11:28 +0200)]
macosx: Improve VLCHUDButtonCell drawing

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Add VLCHUD classes to Xcode project
Marvin Scholz [Sun, 5 Jun 2016 09:28:30 +0000 (11:28 +0200)]
macosx: Add VLCHUD classes to Xcode project

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Add new VLCHUD classes to Makefile
Marvin Scholz [Sun, 5 Jun 2016 09:28:29 +0000 (11:28 +0200)]
macosx: Add new VLCHUD classes to Makefile

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Correct VLCHUDRadiobuttonCell state colors
Marvin Scholz [Sun, 5 Jun 2016 09:28:27 +0000 (11:28 +0200)]
macosx: Correct VLCHUDRadiobuttonCell state colors

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Improve drawing of VLCHUDSliderCell
Marvin Scholz [Sun, 5 Jun 2016 09:28:26 +0000 (11:28 +0200)]
macosx: Improve drawing of VLCHUDSliderCell

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Add VLCHUDTextFieldCell class
Marvin Scholz [Sun, 5 Jun 2016 09:28:25 +0000 (11:28 +0200)]
macosx: Add VLCHUDTextFieldCell class

This adds TextFieldCell to the dark HUD controls for
use on HUD Panels

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Fixup Xcode project
Marvin Scholz [Sun, 5 Jun 2016 09:28:24 +0000 (11:28 +0200)]
macosx: Fixup Xcode project

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agomacosx: Add dark UI Elements for use on HUD Panels
Marvin Scholz [Sun, 5 Jun 2016 09:28:23 +0000 (11:28 +0200)]
macosx: Add dark UI Elements for use on HUD Panels

This adds a dark Button, Checkbox, Radiobutton and Slider Cell
for use on dark HUD Panels (like the Audio and Video effects panels)

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
3 years agovpx: no need to check fmt_in
Tristan Matthews [Sun, 5 Jun 2016 09:33:53 +0000 (11:33 +0200)]
vpx: no need to check fmt_in

3 years agolibVLC: Improve doxygen documentation about 3.0 version
Jean-Baptiste Kempf [Sun, 5 Jun 2016 09:33:16 +0000 (11:33 +0200)]
libVLC: Improve doxygen documentation about 3.0 version

3 years agolibvlc: mention libvlc_media_player_(get|set)_role in NEWS
Jean-Baptiste Kempf [Sun, 5 Jun 2016 09:31:10 +0000 (11:31 +0200)]
libvlc: mention libvlc_media_player_(get|set)_role in NEWS

3 years agotest: test libvlc_media_player_(set|get)_role
Rémi Denis-Courmont [Sun, 5 Jun 2016 09:26:06 +0000 (12:26 +0300)]
test: test libvlc_media_player_(set|get)_role

3 years agolib: add libvlc_media_player_(get|set)_role
Rémi Denis-Courmont [Sat, 4 Jun 2016 15:02:05 +0000 (18:02 +0300)]
lib: add libvlc_media_player_(get|set)_role

3 years agopulse: map media role
Rémi Denis-Courmont [Sat, 4 Jun 2016 14:53:49 +0000 (17:53 +0300)]
pulse: map media role

3 years agolibvlc: add media role option
Rémi Denis-Courmont [Sat, 4 Jun 2016 14:26:03 +0000 (17:26 +0300)]
libvlc: add media role option

3 years agovpx: default fmt_out aspect ratio to 1:1 if unset
Tristan Matthews [Sun, 5 Jun 2016 08:49:26 +0000 (10:49 +0200)]
vpx: default fmt_out aspect ratio to 1:1 if unset

Fixes transcoding issues

3 years agomacosx: add support for libdispatch ARC introduced in 10.8
Felix Paul Kühne [Sat, 4 Jun 2016 13:57:16 +0000 (15:57 +0200)]
macosx: add support for libdispatch ARC introduced in 10.8

3 years agowin32: only sleep for 0 ms when excplicitly requested
Steve Lhomme [Tue, 31 May 2016 13:06:19 +0000 (15:06 +0200)]
win32: only sleep for 0 ms when excplicitly requested

SleepEx(0) results in 100% CPU usage on XP. It's back to normal with a 5 ms
value.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agomacosx: reveal currently playing item in list by scrolling accordingly (closs #16470
Felix Paul Kühne [Sat, 4 Jun 2016 13:22:54 +0000 (15:22 +0200)]
macosx: reveal currently playing item in list by scrolling accordingly (closs #16470

3 years agomacosx: fix auto-layout issue with long URLs in info panel (closes #16882)
Felix Paul Kühne [Sat, 4 Jun 2016 13:17:43 +0000 (15:17 +0200)]
macosx: fix auto-layout issue with long URLs in info panel (closes #16882)

3 years agomacosx: disable vnc
Felix Paul Kühne [Sat, 4 Jun 2016 13:17:11 +0000 (15:17 +0200)]
macosx: disable vnc

3 years agotools: raise automake requirement due to libmad
Felix Paul Kühne [Sat, 4 Jun 2016 12:42:24 +0000 (14:42 +0200)]
tools: raise automake requirement due to libmad

3 years agocontrib/gnutls: rebase pkgconfig mac patch
Felix Paul Kühne [Sat, 4 Jun 2016 12:33:52 +0000 (14:33 +0200)]
contrib/gnutls: rebase pkgconfig mac patch

3 years agodialog: don't clear array when changing callbacks
Thomas Guillem [Sat, 4 Jun 2016 11:15:57 +0000 (13:15 +0200)]
dialog: don't clear array when changing callbacks

This array will be clear by dialog owners.
This fix a crash when a dialog owner release dialogs that were invalidated.

3 years agowin32: inline and simplify vlc_WaitForSingleObject
Rémi Denis-Courmont [Thu, 2 Jun 2016 17:50:38 +0000 (20:50 +0300)]
win32: inline and simplify vlc_WaitForSingleObject

3 years agowin32: use generic semaphore (Windows 8+)
Rémi Denis-Courmont [Thu, 2 Jun 2016 17:46:50 +0000 (20:46 +0300)]
win32: use generic semaphore (Windows 8+)

3 years agowin32: we never wait for more than one object at a time
Steve Lhomme [Mon, 23 May 2016 15:28:11 +0000 (17:28 +0200)]
win32: we never wait for more than one object at a time

Modified-and-...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
3 years agowin32: use futex-based sleep (Windows 8+)
Rémi Denis-Courmont [Tue, 31 May 2016 21:31:33 +0000 (00:31 +0300)]
win32: use futex-based sleep (Windows 8+)

3 years agowin32: unfactorize the code for sleep and WaitForMultipleObjects
Steve Lhomme [Mon, 23 May 2016 15:28:10 +0000 (17:28 +0200)]
win32: unfactorize the code for sleep and WaitForMultipleObjects

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
3 years agoOpenGL: fix the subpicture rendering
Adrien Maglo [Thu, 2 Jun 2016 11:47:23 +0000 (13:47 +0200)]
OpenGL: fix the subpicture rendering

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agolibvlc: delete preparser before interfaces
Thomas Guillem [Thu, 2 Jun 2016 08:53:06 +0000 (10:53 +0200)]
libvlc: delete preparser before interfaces

This fixes a use-after-free when the art fetcher was triggering a callback
registered by the playlist (that was destroyed).

3 years agoupnp: fix double lock
Thomas Guillem [Thu, 2 Jun 2016 08:01:25 +0000 (10:01 +0200)]
upnp: fix double lock

3 years agoAdd support for GoPro HiLight tags as chapters
Emeric Grange [Wed, 1 Jun 2016 20:11:09 +0000 (22:11 +0200)]
Add support for GoPro HiLight tags as chapters

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agothreads: fix race in vlc_cond_wait()
Rémi Denis-Courmont [Wed, 1 Jun 2016 18:47:38 +0000 (21:47 +0300)]
threads: fix race in vlc_cond_wait()

Could lose wake-up if vlc_cond_wait() in one thread, then
vlc_cond_signal() in anotherthread, then vlc_cond_wait() in a third
thread.