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

3 years agoextras/tools: bump automake to 1.15
Sean McGovern [Sun, 29 May 2016 14:39:06 +0000 (10:39 -0400)]
extras/tools: bump automake to 1.15

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoContribs: Qt: fix sed command for Qt5Gui.pc
Hannes Domani [Sun, 29 May 2016 17:42:18 +0000 (19:42 +0200)]
Contribs: Qt: fix sed command for Qt5Gui.pc

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoconfigure: check only for adequate math optimizations (fix #16907)
Rémi Denis-Courmont [Sun, 29 May 2016 19:46:44 +0000 (22:46 +0300)]
configure: check only for adequate math optimizations (fix #16907)

3 years agom4: helper for -f flags
Rémi Denis-Courmont [Sun, 29 May 2016 19:46:27 +0000 (22:46 +0300)]
m4: helper for -f flags

3 years agoandroid: ignore cancellation of foreign threads
Rémi Denis-Courmont [Sun, 29 May 2016 18:51:02 +0000 (21:51 +0300)]
android: ignore cancellation of foreign threads

3 years agoQt: fix playlist item menu play&pause actions
Jean-Baptiste Kempf [Sun, 29 May 2016 16:27:58 +0000 (18:27 +0200)]
Qt: fix playlist item menu play&pause actions

Close #16893

3 years agoQt: remove tabs
Jean-Baptiste Kempf [Sun, 29 May 2016 15:01:06 +0000 (17:01 +0200)]
Qt: remove tabs

3 years agocontribs: remove d2d headers package
Jean-Baptiste Kempf [Sun, 29 May 2016 10:37:07 +0000 (12:37 +0200)]
contribs: remove d2d headers package

Close #16968

3 years agoFix build for Android
Andrey Gursky [Sat, 28 May 2016 15:39:30 +0000 (17:39 +0200)]
Fix build for Android

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoOpenGL: use 3D coordinates and a vertex index buffer to draw the texture rectangle
Adrien Maglo [Wed, 25 May 2016 17:55:23 +0000 (19:55 +0200)]
OpenGL: use 3D coordinates and a vertex index buffer to draw the texture rectangle

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agocore: add 3D stereo information to video_format_t
Felix Abecassis [Tue, 9 Sep 2014 17:03:20 +0000 (19:03 +0200)]
core: add 3D stereo information to video_format_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoinclude: add variables to video_format_t for 360 videos
Adrien Maglo [Wed, 25 May 2016 17:55:22 +0000 (19:55 +0200)]
include: add variables to video_format_t for 360 videos

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agowin32: fix integer underflow in vlc_timer_schedule()
Rémi Denis-Courmont [Sat, 28 May 2016 13:42:52 +0000 (16:42 +0300)]
win32: fix integer underflow in vlc_timer_schedule()

3 years agowin32: wait for timer completion when rescheduling
Rémi Denis-Courmont [Sat, 28 May 2016 13:39:12 +0000 (16:39 +0300)]
win32: wait for timer completion when rescheduling

3 years agoandroid: use generic condition variable and wait (fix #14586)
Rémi Denis-Courmont [Thu, 26 May 2016 22:13:57 +0000 (01:13 +0300)]
android: use generic condition variable and wait (fix #14586)

3 years agoandroid: remove stray #include
Rémi Denis-Courmont [Sat, 28 May 2016 13:02:24 +0000 (16:02 +0300)]
android: remove stray #include

3 years agoandroid: fix macro expansion
Rémi Denis-Courmont [Sat, 28 May 2016 13:01:13 +0000 (16:01 +0300)]
android: fix macro expansion

3 years agomtime: remove stray #include, fix warning on Windows
Rémi Denis-Courmont [Fri, 27 May 2016 21:40:44 +0000 (00:40 +0300)]
mtime: remove stray #include, fix warning on Windows

We do not call clock_gettime() in this file anymore.

3 years agothreads: mwait() and msleep() using futex
Rémi Denis-Courmont [Thu, 26 May 2016 19:19:48 +0000 (22:19 +0300)]
threads: mwait() and msleep() using futex

This can be used to handle cancellation during msleep() and mwait() if
it would not otherwise work out of the box.

3 years agowin32: use condition variable (fixes #14668)
Rémi Denis-Courmont [Thu, 26 May 2016 21:31:55 +0000 (00:31 +0300)]
win32: use condition variable (fixes #14668)

This replaces the ever flawed condition variables implementation with
a less antique back-end. While designed for Windows 8 and later, a less
efficient fallback mode is provided for older supported versions.

3 years agothreads: condition variables with futex
Rémi Denis-Courmont [Mon, 8 Feb 2016 18:31:46 +0000 (20:31 +0200)]
threads: condition variables with futex

This hopefully deals with both broadcast and cancellation correctly.

3 years agowin32: run-time fallback for condition variable
Rémi Denis-Courmont [Fri, 27 May 2016 19:42:25 +0000 (22:42 +0300)]
win32: run-time fallback for condition variable

3 years agowin32: run-time fallback for WaitOnAddress() and WakeByAddress()
Rémi Denis-Courmont [Thu, 26 May 2016 19:32:21 +0000 (22:32 +0300)]
win32: run-time fallback for WaitOnAddress() and WakeByAddress()

3 years agowin32: provide vlc_addr_*() functions
Rémi Denis-Courmont [Thu, 26 May 2016 19:32:03 +0000 (22:32 +0300)]
win32: provide vlc_addr_*() functions

Where available, use WaitOnAddress(), WakeByAddressSingle(), and
WakeByAddressAll(). They map almost directly.

3 years agolinux: add wait-on-address/futex functions
Rémi Denis-Courmont [Wed, 25 May 2016 20:10:32 +0000 (23:10 +0300)]
linux: add wait-on-address/futex functions

This only provides the Linux back-end. Those functions are not exported
since they are not universally available (and not meant to be used by
plugins at this point).

3 years agowin32: fix delay rounding error
Rémi Denis-Courmont [Fri, 27 May 2016 21:32:22 +0000 (00:32 +0300)]
win32: fix delay rounding error

Delay must be rounded up, not down.

3 years agowin32: fix mdate() crashing in test cases
Rémi Denis-Courmont [Fri, 27 May 2016 21:18:03 +0000 (00:18 +0300)]
win32: fix mdate() crashing in test cases

Test cases do not call vlc_threads_setup(). Some of them still need a
working clock. This fixes at least the timer test.

3 years agowin32: make thread killed flag atomic
Rémi Denis-Courmont [Fri, 27 May 2016 18:38:51 +0000 (21:38 +0300)]
win32: make thread killed flag atomic

Setting the flag in APC had the benefit of not needing atomicity, but
it meant the flag only got set at the next opportunity to run APC's.

Especially vlc_testcancel() is not an alertable function, so it would
typically be slower. If the thread did not go to alertable sleep, then
vlc_testcancel() would not work at all.

Since vlc_cancel() and vlc_testcancel() do not imply any memory
barriers, the loads and stores can be relaxed. That removes most if not
all of the overhead of the atomic operations.

3 years agomicrodns: fix ipv6 support
Thomas Guillem [Fri, 27 May 2016 13:48:44 +0000 (15:48 +0200)]
microdns: fix ipv6 support

psz_ip6 was invalid outside parse_entries()

3 years agocodec: videotoolbox: fix annexb parsing
Francois Cartegnie [Fri, 27 May 2016 09:40:20 +0000 (11:40 +0200)]
codec: videotoolbox: fix annexb parsing

3 years agomux: mp4: fix avcC
Francois Cartegnie [Fri, 27 May 2016 09:30:34 +0000 (11:30 +0200)]
mux: mp4: fix avcC

3 years agomux: mp4: encode spsext
Francois Cartegnie [Fri, 27 May 2016 08:56:42 +0000 (10:56 +0200)]
mux: mp4: encode spsext

3 years agopacketizer: h264: extract spsext with sps/pps
Francois Cartegnie [Fri, 27 May 2016 08:16:30 +0000 (10:16 +0200)]
packetizer: h264: extract spsext with sps/pps

spsext should be in avcC for high profiles

3 years agopacketizer: h264: add h264_get_chroma_luma
Francois Cartegnie [Fri, 27 May 2016 08:10:32 +0000 (10:10 +0200)]
packetizer: h264: add h264_get_chroma_luma

3 years agodirect3d9: fix values used in a debug log
Steve Lhomme [Fri, 27 May 2016 07:18:01 +0000 (09:18 +0200)]
direct3d9: fix values used in a debug log

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agodirect3d9: do not try to use the vout if the texture requested is too large
Steve Lhomme [Fri, 27 May 2016 07:18:00 +0000 (09:18 +0200)]
direct3d9: do not try to use the vout if the texture requested is too large

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agowin32: fix vlc_thread_self() in cancellation handlers
Rémi Denis-Courmont [Thu, 26 May 2016 19:25:34 +0000 (22:25 +0300)]
win32: fix vlc_thread_self() in cancellation handlers

3 years agopacketizer: h264: weaken avcC check because of quicktime
Francois Cartegnie [Thu, 26 May 2016 18:49:10 +0000 (20:49 +0200)]
packetizer: h264: weaken avcC check because of quicktime

3 years agodemux: adaptive: fix signal/lock order
Francois Cartegnie [Thu, 26 May 2016 16:07:47 +0000 (18:07 +0200)]
demux: adaptive: fix signal/lock order

3 years agomediacodec: abort if ParseVideoExtraH264 fails
Thomas Guillem [Thu, 26 May 2016 17:48:41 +0000 (19:48 +0200)]
mediacodec: abort if ParseVideoExtraH264 fails

3 years agoadpcm: reject invalid QuickTime IMA files
Rafaël Carré [Wed, 25 May 2016 08:00:25 +0000 (10:00 +0200)]
adpcm: reject invalid QuickTime IMA files

DecodeAdpcmImaQT() can only decode up to stereo files.
Fix out of bound write.

Reported by: Patrick Coleman <blinken@gmail.com>

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agocontribs: mad: Don't read past the input buffer
Hugo Beauzée-Luyssen [Wed, 25 May 2016 17:07:51 +0000 (19:07 +0200)]
contribs: mad: Don't read past the input buffer

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agodirectdraw: debug the reason a CreateSurface() fails
Steve Lhomme [Thu, 26 May 2016 16:16:01 +0000 (18:16 +0200)]
directdraw: debug the reason a CreateSurface() fails

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agodirectdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX
Steve Lhomme [Thu, 26 May 2016 16:16:00 +0000 (18:16 +0200)]
directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agodirectdraw: DDSCAPS_FRONTBUFFER is not a CAPS we can request on CreateSurface()
Steve Lhomme [Thu, 26 May 2016 16:15:59 +0000 (18:15 +0200)]
directdraw: DDSCAPS_FRONTBUFFER is not a CAPS we can request on CreateSurface()

effectively reverting 351cd5a85ac220b68ba7a1ef3c87ca81d77b7d26

Close #16905

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agodirectdraw: we also set the CAPS of the surface we create
Steve Lhomme [Thu, 26 May 2016 16:15:58 +0000 (18:15 +0200)]
directdraw: we also set the CAPS of the surface we create

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoNEWS: missing xiphqt update
Francois Cartegnie [Thu, 26 May 2016 14:23:03 +0000 (16:23 +0200)]
NEWS: missing xiphqt update

3 years agoQt: fix the Win32/Qt5 tooltip focus/raising issue
Benoit du Payrat [Thu, 26 May 2016 12:49:12 +0000 (14:49 +0200)]
Qt: fix the Win32/Qt5 tooltip focus/raising issue

The time tooltip no longer puts the window in front on Windows, when
compiling VLC with Qt5

Close #12084 #8532

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agologger: android: display thread id
Thomas Guillem [Thu, 26 May 2016 11:58:59 +0000 (13:58 +0200)]
logger: android: display thread id

3 years agomediacodec: remove unused var
Thomas Guillem [Thu, 26 May 2016 11:57:14 +0000 (13:57 +0200)]
mediacodec: remove unused var

3 years agomkv: fix playback/seek for files where first block has PTS > 0
Filip Roséen [Thu, 26 May 2016 11:35:55 +0000 (13:35 +0200)]
mkv: fix playback/seek for files where first block has PTS > 0

Some files do not have their first cluster at PTS=0, meaning that we
might spend an eternity looking for such PTS (even though it is not at
all present in the file) when starting playback (seeking to 0).

This patch fixes the issue by always assigning a seekpoint for PTS=0 pointing
at the first cluster position. Instead of using the cluster-timecode, a
hardcoded value of 0 is used (so that every file will have a seekpoint at that
location).

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agowin32:thread: keep INFINITE condition wait intact
Steve Lhomme [Thu, 26 May 2016 11:02:26 +0000 (13:02 +0200)]
win32:thread: keep INFINITE condition wait intact

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
3 years agowin32:thread: SleepEx and WaitForMultipleObjectsEx have a millisecond precision
Steve Lhomme [Thu, 26 May 2016 11:02:25 +0000 (13:02 +0200)]
win32:thread: SleepEx and WaitForMultipleObjectsEx have a millisecond precision

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
3 years agointerrupt: QueueUserAPC is always allowed on Win10
Hugo Beauzée-Luyssen [Thu, 26 May 2016 11:29:37 +0000 (13:29 +0200)]
interrupt: QueueUserAPC is always allowed on Win10

3 years agothread: fix android build
Thomas Guillem [Thu, 26 May 2016 11:37:16 +0000 (13:37 +0200)]
thread: fix android build

vlc_thread_id is already defined in src/linux/thread.c

3 years agomediacodec: refactor ParseVideoExtra
Thomas Guillem [Thu, 26 May 2016 09:47:41 +0000 (11:47 +0200)]
mediacodec: refactor ParseVideoExtra

3 years agomediacodec: fix MPEG-4 IFrame parsing
Thomas Guillem [Thu, 26 May 2016 09:42:41 +0000 (11:42 +0200)]
mediacodec: fix MPEG-4 IFrame parsing

3 years agomediacodec: refactor video block processing
Thomas Guillem [Thu, 26 May 2016 09:37:34 +0000 (11:37 +0200)]
mediacodec: refactor video block processing

Each codecs has its own callback.

3 years agomediacodec: p_block can change after a realloc
Thomas Guillem [Thu, 26 May 2016 09:03:38 +0000 (11:03 +0200)]
mediacodec: p_block can change after a realloc

This was not happening because blocks are allocated with a pre-padding of 32
bits. But this behavior could change in function of the packetizer or demuxer.

3 years agomediacodec: change pf_on_new_block argument
Thomas Guillem [Thu, 26 May 2016 07:58:57 +0000 (09:58 +0200)]
mediacodec: change pf_on_new_block argument

Because we may have to realloc blocks inside this callback (corner case).

3 years agoomxil: all video decoders need a valid size
Thomas Guillem [Thu, 26 May 2016 08:56:31 +0000 (10:56 +0200)]
omxil: all video decoders need a valid size

Therefore, this is not a quirk.

3 years agomediacodec: refactor StartMediaCodec
Thomas Guillem [Thu, 26 May 2016 08:55:47 +0000 (10:55 +0200)]
mediacodec: refactor StartMediaCodec

CSD and video size checks are now done in StartMediaCodec.

Call ParseVideoExtra from Open(). This was useless to call it from
StartMediaCodec since p_dec.fmt_in.p_extra couldn't change during the lifetime
of the module.

3 years agomessages: add thread ID in message meta-data
Rémi Denis-Courmont [Wed, 25 May 2016 20:00:50 +0000 (23:00 +0300)]
messages: add thread ID in message meta-data

3 years agothreads: add vlc_thread_self() and vlc_thread_id()
Rémi Denis-Courmont [Wed, 25 May 2016 19:51:04 +0000 (22:51 +0300)]
threads: add vlc_thread_self() and vlc_thread_id()

3 years agolinux: move specific files to dedicated directory
Rémi Denis-Courmont [Wed, 25 May 2016 18:42:10 +0000 (21:42 +0300)]
linux: move specific files to dedicated directory

3 years agoupnp: Use m_ prefix for class members instead of _ suffix
Hugo Beauzée-Luyssen [Wed, 25 May 2016 17:03:19 +0000 (19:03 +0200)]
upnp: Use m_ prefix for class members instead of _ suffix

3 years agoupnp: Work around some lack of limit understanding from a few servers
Hugo Beauzée-Luyssen [Wed, 25 May 2016 16:59:05 +0000 (18:59 +0200)]
upnp: Work around some lack of limit understanding from a few servers

3 years agoupnp: Always specify ContainerID instead of ObjectID
Hugo Beauzée-Luyssen [Wed, 25 May 2016 16:58:39 +0000 (18:58 +0200)]
upnp: Always specify ContainerID instead of ObjectID

Additionnaly, ensure we pass "0" instead of an empty string for the root
object

3 years agoupnp: Don't drop potential options from the control URL
Hugo Beauzée-Luyssen [Wed, 25 May 2016 16:54:06 +0000 (18:54 +0200)]
upnp: Don't drop potential options from the control URL

3 years agoupnp: Specify <StartingIndex> after <Filter>
Hugo Beauzée-Luyssen [Wed, 25 May 2016 16:16:53 +0000 (18:16 +0200)]
upnp: Specify <StartingIndex> after <Filter>

As not doing so prevents MS Media Sharing servers from understanding the
request.

3 years agointerrupt: fix typo
Thomas Guillem [Wed, 25 May 2016 14:02:31 +0000 (16:02 +0200)]
interrupt: fix typo

3 years agoaccess: dvb: scan fix illegal access (cid #1362073)
Francois Cartegnie [Wed, 25 May 2016 13:49:35 +0000 (15:49 +0200)]
access: dvb: scan fix illegal access (cid #1362073)

since defined values have changed

3 years agolibvlc: media: add missing break
Thomas Guillem [Wed, 25 May 2016 13:10:39 +0000 (15:10 +0200)]
libvlc: media: add missing break

3 years agommdevice: fix crash when unplugging a device
Thomas Guillem [Thu, 19 May 2016 12:28:19 +0000 (14:28 +0200)]
mmdevice: fix crash when unplugging a device

Restarting the audio output is not enough when a device is unplugged. Indeed,
the Start function will use the old (and invalid) device.
To fix this issue, re-select the default device in case of error.

3 years agommdevice: handle flush errors
Thomas Guillem [Thu, 19 May 2016 12:27:03 +0000 (14:27 +0200)]
mmdevice: handle flush errors