vlc.git
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.

3 years agothreads: use unsigned values for futex
Rémi Denis-Courmont [Wed, 1 Jun 2016 19:06:02 +0000 (22:06 +0300)]
threads: use unsigned values for futex

Linux kernel might not care about signed overflow being undefined in
ISO C, but VLC has to care (because compilers do).

3 years agoaudio: display the channel mapping for 8.1 wav
Jean-Baptiste Kempf [Wed, 1 Jun 2016 19:53:44 +0000 (21:53 +0200)]
audio: display the channel mapping for 8.1 wav

3 years agoQt: fix tooltip position on Qt4 for Windows
Jean-Baptiste Kempf [Wed, 1 Jun 2016 17:04:45 +0000 (19:04 +0200)]
Qt: fix tooltip position on Qt4 for Windows

3 years agodemux: adaptive: fix CAN_SEEK and late fail
Francois Cartegnie [Wed, 1 Jun 2016 16:00:17 +0000 (18:00 +0200)]
demux: adaptive: fix CAN_SEEK and late fail

as child demuxers are not created yet when demux
wants seekable capability, CAN_SEEK was always false

3 years agoupnp: rename m_opaque to p_server_list
Steve Lhomme [Wed, 1 Jun 2016 14:38:10 +0000 (16:38 +0200)]
upnp: rename m_opaque to p_server_list

and also m_callback_lock to m_server_list_lock

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: no need to store the MediaServerList in services_discovery_sys_t
Steve Lhomme [Wed, 1 Jun 2016 14:38:09 +0000 (16:38 +0200)]
upnp: no need to store the MediaServerList in services_discovery_sys_t

Let UpnpInstanceWrapper manage it completely

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: the callback is always SD::MediaServerList::Callback() when used
Steve Lhomme [Wed, 1 Jun 2016 14:38:08 +0000 (16:38 +0200)]
upnp: the callback is always SD::MediaServerList::Callback() when used

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: MediaServerList::m_lock protects the access to m_list
Steve Lhomme [Wed, 1 Jun 2016 14:38:07 +0000 (16:38 +0200)]
upnp: MediaServerList::m_lock protects the access to m_list

parseNewServer() is called from various threads of UPNP so we need to protect
our server list

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: m_sd is never changed
Steve Lhomme [Wed, 1 Jun 2016 14:38:06 +0000 (16:38 +0200)]
upnp: m_sd is never changed

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: m_sd->p_sys->p_server_list in MediaServerList equals this
Steve Lhomme [Wed, 1 Jun 2016 14:38:05 +0000 (16:38 +0200)]
upnp: m_sd->p_sys->p_server_list in MediaServerList equals this

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agocontrib: upnp: enable debug when we don't want optimizations
Steve Lhomme [Wed, 1 Jun 2016 14:38:04 +0000 (16:38 +0200)]
contrib: upnp: enable debug when we don't want optimizations

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoupnp: revert 741b9ebf5449fc11a6318ef78c16dadf4808640d
Steve Lhomme [Wed, 1 Jun 2016 15:23:32 +0000 (17:23 +0200)]
upnp: revert 741b9ebf5449fc11a6318ef78c16dadf4808640d

UPNP fails to browse my Synology NAS (DSM 5.0) after this patch.
After the revert it works and Windows Media Player shares work fine too.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
3 years agoAdd support for extern audio track as slave for Upnp in addItem
Bastien Penavayre [Wed, 1 Jun 2016 15:10:48 +0000 (17:10 +0200)]
Add support for extern audio track as slave for Upnp in addItem

If an Upnp non-audio item holds audio subitems then they're used as
slaves for the item.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
3 years agoGeneralize the addItem method to handle differently video, audio, image and text
Bastien Penavayre [Wed, 1 Jun 2016 15:08:26 +0000 (17:08 +0200)]
Generalize the addItem method to handle differently video, audio, image and text

Instead of using the MRL of the first subitem as the item's MRL and ignoring all rest,
now reads the "upnp:class" field of the item and the "protocolInfo" field of
each subitem to use those accordingly.
The result is that artworks contained as subitems are now used along with subtitles as slaves.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
3 years agodemux: mp4: fix null deref in rtp stuff
Francois Cartegnie [Wed, 1 Jun 2016 11:48:14 +0000 (13:48 +0200)]
demux: mp4: fix null deref in rtp stuff

block_Realloc != realloc

3 years agodemux: mp4: fix segfault in rtp
Francois Cartegnie [Wed, 1 Jun 2016 11:58:34 +0000 (13:58 +0200)]
demux: mp4: fix segfault in rtp

3 years agoQt: missing locks when calling the playlist
Jean-Baptiste Kempf [Tue, 31 May 2016 15:43:08 +0000 (17:43 +0200)]
Qt: missing locks when calling the playlist

3 years agoQt: remove tab in input_manager.cpp
Jean-Baptiste Kempf [Tue, 31 May 2016 15:30:23 +0000 (17:30 +0200)]
Qt: remove tab in input_manager.cpp

3 years agoinput/input: fix Control leak when input is stopped
Thomas Guillem [Tue, 31 May 2016 10:11:56 +0000 (12:11 +0200)]
input/input: fix Control leak when input is stopped

And don't call vlc_cond_signal if we don't have to.

3 years agolibvlc: fix libvlc_media_player_get_fps leak
Thomas Guillem [Tue, 31 May 2016 10:02:16 +0000 (12:02 +0200)]
libvlc: fix libvlc_media_player_get_fps leak

And fix a possible use of a released media.

3 years agoinput: test slaves
Thomas Guillem [Mon, 30 May 2016 16:49:52 +0000 (18:49 +0200)]
input: test slaves

test_media_has_slaves_from_player is deactivated for now since there is now way
to test inputs in a reliable way. Indeed, demux modules may depend on
configuration and systems libs.

TODO: test libvlc_media_player_add_slave

3 years agolibvlc: fix libvlc_media_slaves_release with a count of 0
Thomas Guillem [Tue, 31 May 2016 13:13:42 +0000 (15:13 +0200)]
libvlc: fix libvlc_media_slaves_release with a count of 0

Since pp_slaves is not initialised when libvlc_media_slaves_get() returns 0.

3 years agolibvlc: deprecate libvlc_video_set_subtitle_file
Thomas Guillem [Fri, 27 May 2016 10:17:14 +0000 (12:17 +0200)]
libvlc: deprecate libvlc_video_set_subtitle_file

3 years agolibvlc: add libvlc_media_player_add_slave
Thomas Guillem [Fri, 27 May 2016 10:05:33 +0000 (12:05 +0200)]
libvlc: add libvlc_media_player_add_slave

In order to add a slave when the media player is playing.

3 years agoinput: add input_AddSlave
Thomas Guillem [Fri, 27 May 2016 09:41:20 +0000 (11:41 +0200)]
input: add input_AddSlave

3 years agoinput: improve INPUT_CONTROL_ADD_SLAVE
Thomas Guillem [Fri, 27 May 2016 09:41:06 +0000 (11:41 +0200)]
input: improve INPUT_CONTROL_ADD_SLAVE

It can now handle a slave type (via input_item_slave_t) and update the
input_item_t slave list.

This control is unused for now.

3 years agoinput/input: update input slaves list when playing
Thomas Guillem [Mon, 30 May 2016 16:22:41 +0000 (18:22 +0200)]
input/input: update input slaves list when playing

3 years agoinput/input: handle "sub-file" like other slaves
Thomas Guillem [Mon, 30 May 2016 16:02:02 +0000 (18:02 +0200)]
input/input: handle "sub-file" like other slaves

3 years agoinput: handle "sub-autodetect-file" option when adding slaves
Thomas Guillem [Tue, 31 May 2016 12:18:51 +0000 (14:18 +0200)]
input: handle "sub-autodetect-file" option when adding slaves

input_item_t slaves will be always loaded from LoadSlaves(): slaves added via
libvlc won't depend on "sub-autodetect-file" option. If this option is
activated, demuxers won't add any slaves.

3 years agoinput/access: a slave can be attached to more than one item
Thomas Guillem [Mon, 30 May 2016 15:01:27 +0000 (17:01 +0200)]
input/access: a slave can be attached to more than one item

3 years agoQt: fix loop-button icon on notification of change
Filip Roséen [Mon, 30 May 2016 16:18:06 +0000 (18:18 +0200)]
Qt: fix loop-button icon on notification of change

Given that NORMAL=0, REPEAT_ALL=1, REPEAT_ONE=2, the previous code would
not yield a value that actually corresponds to the correct icon when we
receive notification of "loop mode change".

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoQt: allow to add a renderer button in the toolbar
Steve Lhomme [Tue, 31 May 2016 11:08:54 +0000 (13:08 +0200)]
Qt: allow to add a renderer button in the toolbar

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoQt: activate the renderer dialog via the menu
Steve Lhomme [Tue, 31 May 2016 11:08:53 +0000 (13:08 +0200)]
Qt: activate the renderer dialog via the menu

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoQt: add a dialog to select the renderer to use
Steve Lhomme [Tue, 31 May 2016 11:51:33 +0000 (13:51 +0200)]
Qt: add a dialog to select the renderer to use

This is limited to the first and only renderer discovery service we have for now

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agointf: add a dialog for renderer
Steve Lhomme [Tue, 31 May 2016 11:08:51 +0000 (13:08 +0200)]
intf: add a dialog for renderer

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoplaylist: copy the global "sout" value in the playlist
Steve Lhomme [Tue, 31 May 2016 11:51:32 +0000 (13:51 +0200)]
playlist: copy the global "sout" value in the playlist

so it can be set for all input created for this playlist instance

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoQt: fix setup of loop-button icon
Filip Roséen [Mon, 30 May 2016 16:18:05 +0000 (18:18 +0200)]
Qt: fix setup of loop-button icon

Given that NORMAL=0, REPEAT_ALL=1, REPEAT_ONE=3 the previous code would
not always yield the correct state for the loop button during setup.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoContribs: make projectM depend on the toolchain.cmake target
Jean-Baptiste Kempf [Tue, 31 May 2016 10:05:26 +0000 (12:05 +0200)]
Contribs: make projectM depend on the toolchain.cmake target

3 years agocontrib: don't unnecessary rebuild microdns
Andrey Gursky [Tue, 31 May 2016 00:59:11 +0000 (02:59 +0200)]
contrib: don't unnecessary rebuild microdns

As a rule the content of a tarball doesn't have newer timestamps than the
tarball file itself. Thus after unpacking the directory microdns has an
older timestamp than the tarball file. Every time make runs, it thinks the
tarball has been updated and microdns must be rebuilt.

To avoid this, additionally touch the directory microdns after unpacking,
which is already included in a predefined command MOVE.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agotest: libvlc: add missing static
Thomas Guillem [Mon, 30 May 2016 16:50:15 +0000 (18:50 +0200)]
test: libvlc: add missing static

3 years agoFirst step for an AppStream Metadata file
Jean-Baptiste Kempf [Mon, 30 May 2016 11:36:53 +0000 (13:36 +0200)]
First step for an AppStream Metadata file