vlc.git
4 years agoaccess_out: srt: use pipe to detect interrupt
Justin Kim [Mon, 4 Dec 2017 06:15:25 +0000 (15:15 +0900)]
access_out: srt: use pipe to detect interrupt

`eventfd` is a linux-specific API. `pipe` can provide similar
mechanisms to be platform-independent.

Signed-off-by: Justin Kim <justin.kim@collabora.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess: srt: use pipe to detect interrupt
Justin Kim [Mon, 4 Dec 2017 06:15:24 +0000 (15:15 +0900)]
access: srt: use pipe to detect interrupt

`eventfd` is a linux-specific API. `pipe` can provide similar
mechanisms to be platform-independent.

Signed-off-by: Justin Kim <justin.kim@collabora.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: capital letter at the beginning
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:55 +0000 (01:12 +0100)]
i18n: capital letter at the beginning

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: missing . in LONGTEXT variables
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:54 +0000 (01:12 +0100)]
i18n: missing . in LONGTEXT variables

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: typo http -> HTTP
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:53 +0000 (01:12 +0100)]
i18n: typo http -> HTTP

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: typo fixes
Michał Trzebiatowski [Mon, 4 Dec 2017 00:12:52 +0000 (01:12 +0100)]
i18n: typo fixes

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: typo on "amount"
Michał Trzebiatowski [Fri, 1 Dec 2017 18:55:35 +0000 (19:55 +0100)]
i18n: typo on "amount"

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoAdd missing subtitles extensions
Jean-Baptiste Kempf [Mon, 4 Dec 2017 23:37:45 +0000 (00:37 +0100)]
Add missing subtitles extensions

Ref #19228 #19229 #19230 #19231

4 years agoinput: attach slaves to master only
Thomas Guillem [Mon, 4 Dec 2017 16:59:42 +0000 (17:59 +0100)]
input: attach slaves to master only

The previous logic was wrong. An input item is not necessarily a master if it's
not a slave.

Fixes #19208

4 years agoinput: use bsearch in input_item_slave_GetType
Thomas Guillem [Mon, 4 Dec 2017 16:49:18 +0000 (17:49 +0100)]
input: use bsearch in input_item_slave_GetType

4 years agonsv: fix flawed logic (fixes #19213)
Rémi Denis-Courmont [Mon, 4 Dec 2017 16:57:27 +0000 (18:57 +0200)]
nsv: fix flawed logic (fixes #19213)

4 years agoinput: fix null-deref from input_ControlVarStop
Thomas Guillem [Mon, 4 Dec 2017 09:22:23 +0000 (10:22 +0100)]
input: fix null-deref from input_ControlVarStop

This commit fixes a NULL dereference introduced by
ee8f0516a22a975e44bec35ea1991b076133fd94 when demux_Control( DEMUX_GET_TITLE )
pass but the input doesn't have any title.

The input_ControlVarStop() function cleans up chapters callback by destroying
the variables like input_ControlVarTitle() is already doing.

Fixes #19218

4 years agocontrib: Do not build fluidlite on macOS
Marvin Scholz [Mon, 4 Dec 2017 14:31:23 +0000 (15:31 +0100)]
contrib: Do not build fluidlite on macOS

There is now audiotoolbox_midi, which makes fluidlite unnecessary
on macOS

4 years agoaccess: decklink: fix build due to sys changes
Francois Cartegnie [Mon, 4 Dec 2017 12:40:15 +0000 (13:40 +0100)]
access: decklink: fix build due to sys changes

4 years agomacosx: Use NSDateComponentsFormatter for playlist duration
Marvin Scholz [Mon, 4 Dec 2017 14:16:22 +0000 (15:16 +0100)]
macosx: Use NSDateComponentsFormatter for playlist duration

This should fix a bug with off-by-one days calculation.

Fix #19221

4 years agodemux: hls: avoid redundant update of playlist
Zhao Zhili [Fri, 1 Dec 2017 09:52:53 +0000 (17:52 +0800)]
demux: hls: avoid redundant update of playlist

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
4 years agoContrib: remove FFmpeg unneeded patch
Jean-Baptiste Kempf [Mon, 4 Dec 2017 09:09:48 +0000 (10:09 +0100)]
Contrib: remove FFmpeg unneeded patch

4 years agoRevert "vaapi: fix crash on error case"
Thomas Guillem [Mon, 4 Dec 2017 08:23:04 +0000 (09:23 +0100)]
Revert "vaapi: fix crash on error case"

This case can't happen anymore.

This reverts commit 10a562ee149e199529f917e53da9c4fc902cf629.

4 years agoopengl: vaapi: fix UB when surface type and module doesn't match
Thomas Guillem [Mon, 4 Dec 2017 08:22:45 +0000 (09:22 +0100)]
opengl: vaapi: fix UB when surface type and module doesn't match

Fixes #19204

4 years agoContrib: fix typo
Jean-Baptiste Kempf [Mon, 4 Dec 2017 08:14:36 +0000 (09:14 +0100)]
Contrib: fix typo

4 years agoContribs: update FFmpeg/libav hashes
Jean-Baptiste Kempf [Mon, 4 Dec 2017 00:50:16 +0000 (01:50 +0100)]
Contribs: update FFmpeg/libav hashes

and make it easier to use a different FFmpeg fork

4 years agoContribs: update openjpeg to 2.3.0
Jean-Baptiste Kempf [Mon, 4 Dec 2017 01:05:41 +0000 (02:05 +0100)]
Contribs: update openjpeg to 2.3.0

And switch to CMake

4 years agoi18n: missing . at the end of a sentence
Michał Trzebiatowski [Mon, 4 Dec 2017 00:33:05 +0000 (01:33 +0100)]
i18n: missing . at the end of a sentence

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoconfigure: update Mingw requirements
Jean-Baptiste Kempf [Mon, 4 Dec 2017 00:24:13 +0000 (01:24 +0100)]
configure: update Mingw requirements

4 years agoi18n: capital letter at the beginning
Michał Trzebiatowski [Mon, 4 Dec 2017 00:21:40 +0000 (01:21 +0100)]
i18n: capital letter at the beginning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoi18n: missing . in LONGTEXT variables
Michał Trzebiatowski [Mon, 4 Dec 2017 00:20:55 +0000 (01:20 +0100)]
i18n: missing . in LONGTEXT variables

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoMFT: work-around a mingw64 5.0 bug
Jean-Baptiste Kempf [Sun, 3 Dec 2017 23:45:40 +0000 (00:45 +0100)]
MFT: work-around a mingw64 5.0 bug

4 years agoQt: fix build
Jean-Baptiste Kempf [Sun, 3 Dec 2017 23:31:14 +0000 (00:31 +0100)]
Qt: fix build

4 years agoWin32: force 0x601 for _WIN32_WINNT
Jean-Baptiste Kempf [Sun, 3 Dec 2017 23:17:13 +0000 (00:17 +0100)]
Win32: force 0x601 for _WIN32_WINNT

4 years agoi18n: Capture region heigh -> height
Michał Trzebiatowski [Thu, 30 Nov 2017 18:47:27 +0000 (19:47 +0100)]
i18n: Capture region heigh -> height

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d11_fmt: consider drivers are always OK on the Winstore builds
Steve Lhomme [Fri, 1 Dec 2017 10:30:11 +0000 (11:30 +0100)]
d3d11_fmt: consider drivers are always OK on the Winstore builds

Too bad if they're not, there's no way to check.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxva2: disable HEVC 10 bits decoding on older Intel drivers
Steve Lhomme [Fri, 1 Dec 2017 08:55:15 +0000 (09:55 +0100)]
dxva2: disable HEVC 10 bits decoding on older Intel drivers

See https://communities.intel.com/thread/116386?start=15&tstart=0

Fixes #19171

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d9_fmt: add a function to check the driver vendor/version is OK
Steve Lhomme [Fri, 1 Dec 2017 08:55:14 +0000 (09:55 +0100)]
d3d9_fmt: add a function to check the driver vendor/version is OK

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxgi_fmt: use a generic way to get the vendor string
Steve Lhomme [Fri, 1 Dec 2017 08:55:13 +0000 (09:55 +0100)]
dxgi_fmt: use a generic way to get the vendor string

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxgi_fmt: remove unneeded includes
Steve Lhomme [Fri, 1 Dec 2017 08:55:12 +0000 (09:55 +0100)]
dxgi_fmt: remove unneeded includes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agod3d9: include dxgi_fmt.h
Steve Lhomme [Fri, 1 Dec 2017 08:55:11 +0000 (09:55 +0100)]
d3d9: include dxgi_fmt.h

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodxgi_fmt: move the manufacturer IDs in dxgi_fmt.h
Steve Lhomme [Fri, 1 Dec 2017 08:55:10 +0000 (09:55 +0100)]
dxgi_fmt: move the manufacturer IDs in dxgi_fmt.h

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocontribs: update libbluray to 1.0.2
Jean-Baptiste Kempf [Sun, 3 Dec 2017 22:26:31 +0000 (23:26 +0100)]
contribs: update libbluray to 1.0.2

(partial UHD playback, yay!)

4 years agoQt: fix menu double action
Jean-Baptiste Kempf [Sun, 3 Dec 2017 21:11:20 +0000 (22:11 +0100)]
Qt: fix menu double action

Close #19200

4 years agovaapi: fix crash on error case
Jean-Baptiste Kempf [Sun, 3 Dec 2017 17:54:33 +0000 (18:54 +0100)]
vaapi: fix crash on error case

Regression from f0c3cef078963f848e961088d452c488c88f4f7a

Close #19204

4 years agommdevice: remove dead code
Rémi Denis-Courmont [Sun, 3 Dec 2017 16:11:46 +0000 (18:11 +0200)]
mmdevice: remove dead code

4 years agowin32: remove dead code
Rémi Denis-Courmont [Sun, 3 Dec 2017 16:09:50 +0000 (18:09 +0200)]
win32: remove dead code

4 years agowin32: require condition variables support
Rémi Denis-Courmont [Sun, 3 Dec 2017 16:09:37 +0000 (18:09 +0200)]
win32: require condition variables support

4 years agourl: assume IDN is supported (Win32)
Rémi Denis-Courmont [Sun, 3 Dec 2017 16:08:58 +0000 (18:08 +0200)]
url: assume IDN is supported (Win32)

4 years agoqt: fix error mode race (Win32)
Rémi Denis-Courmont [Sun, 3 Dec 2017 16:08:38 +0000 (18:08 +0200)]
qt: fix error mode race (Win32)

4 years agowin32: use thread-safe error mode (only)
Rémi Denis-Courmont [Sun, 3 Dec 2017 16:06:37 +0000 (18:06 +0200)]
win32: use thread-safe error mode (only)

4 years agodemux: make p_sys void * (refs #18504, #17078)
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:54:47 +0000 (17:54 +0200)]
demux: make p_sys void * (refs #18504, #17078)

4 years agochromecast: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
chromecast: prepare for void *p_sys

4 years agosap: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
sap: prepare for void *p_sys

4 years agosmf: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
smf: prepare for void *p_sys

4 years agosid: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
sid: prepare for void *p_sys

4 years agoavi: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
avi: prepare for void *p_sys

4 years agomp4: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
mp4: prepare for void *p_sys

4 years agoasf: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
asf: prepare for void *p_sys

4 years agovnc: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
vnc: prepare for void *p_sys

4 years agocdg: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
cdg: prepare for void *p_sys

4 years agomkv: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
mkv: prepare for void *p_sys

4 years agoogg: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
ogg: prepare for void *p_sys

4 years agoscreen: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
screen: prepare for void *p_sys

4 years agordp: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
rdp: prepare for void *p_sys

4 years agoaccess_oss: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
access_oss: prepare for void *p_sys

4 years agodecklink: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
decklink: prepare for void *p_sys

4 years agodcp: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
dcp: prepare for void *p_sys

4 years agobluray: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
bluray: prepare for void *p_sys

4 years agonuv: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:08:57 +0000 (17:08 +0200)]
nuv: prepare for void *p_sys

4 years agoty: simplify expression
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:09:53 +0000 (17:09 +0200)]
ty: simplify expression

4 years agompeg: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:08:57 +0000 (17:08 +0200)]
mpeg: prepare for void *p_sys

4 years agoflac: simplify expression
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:06:44 +0000 (17:06 +0200)]
flac: simplify expression

4 years agolive555: prepare for void *p_sys
Rémi Denis-Courmont [Sun, 3 Dec 2017 15:05:50 +0000 (17:05 +0200)]
live555: prepare for void *p_sys

4 years agobootstrap: fail hard if flex or bison are missing and needed
Rémi Denis-Courmont [Sun, 3 Dec 2017 12:56:48 +0000 (14:56 +0200)]
bootstrap: fail hard if flex or bison are missing and needed

4 years agocontrib: srt: disable test apps build.
Konstantin Pavlov [Sun, 3 Dec 2017 12:34:43 +0000 (15:34 +0300)]
contrib: srt: disable test apps build.

4 years agodemux: remove info.i_title and info.i_seekpoint (refs #18504)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:53:52 +0000 (12:53 +0200)]
demux: remove info.i_title and info.i_seekpoint (refs #18504)

4 years agodemux: always use DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:18:21 +0000 (12:18 +0200)]
demux: always use DEMUX_GET_(TITLE|SEEKPOINT)

4 years agoogg: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
ogg: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agoavformat: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
avformat: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agomp4: add DEMUX_GET_SEEKPOINT
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
mp4: add DEMUX_GET_SEEKPOINT

4 years agosid: add DEMUX_GET_TITLE
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
sid: add DEMUX_GET_TITLE

4 years agompeg: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
mpeg: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agomkv: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
mkv: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agogme: add DEMUX_GET_TITLE
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
gme: add DEMUX_GET_TITLE

4 years agodvdread: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
dvdread: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agodvdnav: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:15 +0000 (12:14 +0200)]
dvdnav: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agobluray: add DEMUX_GET_(TITLE|SEEKPOINT)
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:14:03 +0000 (12:14 +0200)]
bluray: add DEMUX_GET_(TITLE|SEEKPOINT)

4 years agodvdread: fix switch warning
Rémi Denis-Courmont [Sun, 3 Dec 2017 10:34:18 +0000 (12:34 +0200)]
dvdread: fix switch warning

4 years agopacketizer: dirac: simplify dequeueing
Francois Cartegnie [Sun, 3 Dec 2017 12:19:22 +0000 (13:19 +0100)]
packetizer: dirac: simplify dequeueing

4 years agodemux: dirac: fix discontinuity flag
Francois Cartegnie [Fri, 1 Dec 2017 16:59:09 +0000 (17:59 +0100)]
demux: dirac: fix discontinuity flag

4 years agostream: rename p_source to s (refs #18504)
Rémi Denis-Courmont [Sat, 2 Dec 2017 21:22:35 +0000 (23:22 +0200)]
stream: rename p_source to s (refs #18504)

4 years agohds: fix invalid cast / aliasing violation
Rémi Denis-Courmont [Sat, 2 Dec 2017 21:12:22 +0000 (23:12 +0200)]
hds: fix invalid cast / aliasing violation

4 years agowpl: fix invalid cast / aliasing violation
Rémi Denis-Courmont [Sat, 2 Dec 2017 21:12:22 +0000 (23:12 +0200)]
wpl: fix invalid cast / aliasing violation

4 years agopodcast: fix invalid cast / aliasing violation
Rémi Denis-Courmont [Sat, 2 Dec 2017 21:12:22 +0000 (23:12 +0200)]
podcast: fix invalid cast / aliasing violation

4 years agodemux: rename psz_demux to psz_name (refs #18504)
Rémi Denis-Courmont [Sat, 2 Dec 2017 21:05:58 +0000 (23:05 +0200)]
demux: rename psz_demux to psz_name (refs #18504)

4 years agodemux: provide full URL instead of access name (refs #18504)
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:57:10 +0000 (22:57 +0200)]
demux: provide full URL instead of access name (refs #18504)

4 years agortp: remove dead code
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:57:00 +0000 (22:57 +0200)]
rtp: remove dead code

4 years agoinput: provide module name in psz_demux for access_demux
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:54:45 +0000 (22:54 +0200)]
input: provide module name in psz_demux for access_demux

4 years agomp4: use vlc_uri_resolve()
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:49:21 +0000 (22:49 +0200)]
mp4: use vlc_uri_resolve()

(Also remove NULL deference on error.)

4 years agolive555: check demux_t.s to discriminate access_demux and demux
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:41:25 +0000 (22:41 +0200)]
live555: check demux_t.s to discriminate access_demux and demux

This is much simpler and more correct than checking the access
scheme.

4 years agooss: remove antilogy
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:07:14 +0000 (22:07 +0200)]
oss: remove antilogy

psz_access cannot be empty for an access_demux.

4 years agodvdread: remove antilogy
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:07:14 +0000 (22:07 +0200)]
dvdread: remove antilogy

psz_access cannot be empty for an access_demux.

4 years agodecklink: remove antilogy
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:07:14 +0000 (22:07 +0200)]
decklink: remove antilogy

psz_access cannot be empty for an access_demux.

4 years agodc1394: remove tautology
Rémi Denis-Courmont [Sat, 2 Dec 2017 20:10:09 +0000 (22:10 +0200)]
dc1394: remove tautology

access_demux are probed in strict mode.