vlc/vlc-2.2.git
63 min agoUpdates NEWS for macOS master
David Fuhrmann [Tue, 17 Oct 2017 21:17:15 +0000 (23:17 +0200)]
Updates NEWS for macOS

74 min agomacosx: Try to fix volume buttons with apple remote on 10.13
David Fuhrmann [Mon, 16 Oct 2017 17:00:49 +0000 (19:00 +0200)]
macosx: Try to fix volume buttons with apple remote on 10.13

macOS High Sierra remapped the volume up / down buttons on the
apple remote. This patch tries to fix that by adding the new
cookies.

refs #18894

(cherry picked from commit 6021599dd6b39426b353e67fd6073d6d68353ef4)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2 days agomacosx: Make sure core dialogs xib is loaded on main thread
David Fuhrmann [Sun, 15 Oct 2017 19:05:50 +0000 (21:05 +0200)]
macosx: Make sure core dialogs xib is loaded on main thread

In some situations, the xib was loaded from another thread as the
getter was used there, first. This is not allowed and leads to
crashes.
Problem was mainly noticable when a invalid file was opened and
the error panel was triggered.

fix #18917

2 days agomacosx: Move some callback code to the main thread
David Fuhrmann [Sun, 15 Oct 2017 19:03:32 +0000 (21:03 +0200)]
macosx: Move some callback code to the main thread

This is already fixed in vlc.git.
refs #18917

4 days agoos2: package: enable libass and fribidi
KO Myung-Hun [Wed, 9 Aug 2017 10:44:02 +0000 (19:44 +0900)]
os2: package: enable libass and fribidi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 weeks agosoundcloud.lua: update API magic
Pierre Ynard [Tue, 12 Sep 2017 21:20:54 +0000 (23:20 +0200)]
soundcloud.lua: update API magic

(cherry picked from commit d1270af295be9091ae24cb296ca3ede74ef9adb4)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
5 weeks agocontrib/faad2: add patch to prevent crash on SCE followed by CPE
Filip Roséen [Sat, 25 Mar 2017 03:21:35 +0000 (04:21 +0100)]
contrib/faad2: add patch to prevent crash on SCE followed by CPE

fixes: #18128

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
backport of 57dcb5bce452328ff508315ba434fb6e4dece6dc

5 weeks agocontribs: faad2: fix 7.1 channels detection
Francois Cartegnie [Tue, 28 Feb 2017 20:16:12 +0000 (21:16 +0100)]
contribs: faad2: fix 7.1 channels detection

refs AAC 7.1 (channel_configuration 0 + PCE, 3 front, 2 side, 2 back, lfe).mp4

backport of 297c8bbfdf193d077d2749d3716aba44d234728d

5 weeks agocontribs: faad2: disable DRC extensions
Francois Cartegnie [Thu, 23 Feb 2017 09:41:32 +0000 (10:41 +0100)]
contribs: faad2: disable DRC extensions

Implementation is broken due to use of
arbitrary reference level instead of
normalized level.
Fallback to not better than libav.
fixes #9629

backport of 43918c106a3c1d303b3cd087c89b9db7eb0a4029

5 weeks 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

backport of 4378d5f91ef54e5d75e95a13580f11bed16d79d7

5 weeks agoupnp: Add support for libupnp 1.8
Sebastian Ramacher [Wed, 30 Aug 2017 18:44:26 +0000 (20:44 +0200)]
upnp: Add support for libupnp 1.8

Callbacks now take const void* as second argument and some members can
only be accessed via getter functions.

Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 3eb4e03512f45c1fa27c7f9a6759e8e7d3905720)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 weeks agoremoteosd: fix gcry_ciper_open() error handling
Zhouyang [Mon, 7 Aug 2017 14:31:19 +0000 (22:31 +0800)]
remoteosd: fix gcry_ciper_open() error handling

Fixes #18656.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 weeks agoinhibit/dbus: fix flawed logic
Rémi Denis-Courmont [Sat, 2 Sep 2017 16:51:51 +0000 (19:51 +0300)]
inhibit/dbus: fix flawed logic

(cherry picked from commit bfb8ace0523a0b4f66a86b87f7cb11adbfb095ea)

7 weeks agomacosx: sparkle: Disable automatic update installation
David Fuhrmann [Sun, 27 Aug 2017 15:16:08 +0000 (17:16 +0200)]
macosx: sparkle: Disable automatic update installation

As recommended by [1], apps using Sparkle < 1.11.1 shall disable
automatic update installation as they might be failures during
update at shutdown.
Only for vlc-2.2, as this will be fixed by the sparkle version
going to be used in vlc.git.

[1] https://sparkle-project.org/documentation/upgrading/

7 weeks agosparkle: Fix longstanding crash in automatic update search
David Fuhrmann [Tue, 22 Aug 2017 13:49:56 +0000 (15:49 +0200)]
sparkle: Fix longstanding crash in automatic update search

Our patch to sparkle introduced a crash during runtime, as key
and object was swapped and the key could not be copied.

The relevant code path was in SUBasicUpdateDriver.m ->
didFindValidUpdate, which crashed if it was called.
This code path is used in the following circumstances:
- The user configured sparkle to automatically download and
  install updates (this is an option you can change if an update is
  announced to the user).
- An update is actually available
- The automatic update check tries to search for an update and
  finds the update.

User behaviour:
- Update check is performed every 24h, which crash VLC once
  performed and update was found.
- Before the crash, last update check timestamp is saved still.
- VLC now works for 24 h without update related crash.
- If VLC is started after 24 h again, a new update check is performed
  and VLC crashes again.

fixes #18148

2 months agoasx: Reject MRL bigger than 32K
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 10:15:05 +0000 (12:15 +0200)]
asx: Reject MRL bigger than 32K

2 months agoasx: Fix mismatching sizeof in allocation
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 09:42:27 +0000 (11:42 +0200)]
asx: Fix mismatching sizeof in allocation

3 months agodecoder: check visible size when creating buffer
Francois Cartegnie [Thu, 29 Jun 2017 09:09:02 +0000 (11:09 +0200)]
decoder: check visible size when creating buffer

early reject invalid visible size
mishandled by filters.

refs #18467

3 months agocodec: avcodec: check avcodec visible sizes
Francois Cartegnie [Thu, 29 Jun 2017 07:45:20 +0000 (09:45 +0200)]
codec: avcodec: check avcodec visible sizes

refs #18467

3 months agopacketizer: h264: fix next VCL NAL test
Francois Cartegnie [Thu, 23 Apr 2015 21:41:17 +0000 (23:41 +0200)]
packetizer: h264: fix next VCL NAL test

According to ISO 14496-10 7.4.1.2.4,
next first NAL of next picture appears when
nal_ref_ids differs with one being equal to 0.

(cherry picked from commit 431812a1fdb400fe4d1051ca40575ce2b09ba535)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 months agodirect3d9: Use a big enough back buffer
Hugo Beauzée-Luyssen [Tue, 13 Jun 2017 12:12:22 +0000 (14:12 +0200)]
direct3d9: Use a big enough back buffer

This fixes display of videos with resolution bigger than the screen
resolution when autoscale is off.
Fix #18413

(cherry picked from commit a8e0c5c8c2392668d2b12ea49fe7e431ac285c9d)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 months agopacketizer: h264: set EOS flag
Francois Cartegnie [Mon, 12 Jun 2017 21:40:51 +0000 (23:40 +0200)]
packetizer: h264: set EOS flag

bp of bcb8f9046ffb245a9cbe47f039da346eab9287c2

4 months agocodec: avcodec: fix drain on eos
Francois Cartegnie [Mon, 12 Jun 2017 21:40:04 +0000 (23:40 +0200)]
codec: avcodec: fix drain on eos

bp of 84c871bb019a5f84070f5ad3d0b609cca2a001ab

4 months agodirect3d: Don't copy from an odd offset
Hugo Beauzée-Luyssen [Thu, 1 Jun 2017 09:08:58 +0000 (11:08 +0200)]
direct3d: Don't copy from an odd offset

This can (and often will) make StretchRect fail
(cherry-picked from commit 4a4d32f251cda32a2aee0fff9a49563da8c6f0cb)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 months agoOn the road to 2.2.7
Hugo Beauzée-Luyssen [Wed, 24 May 2017 09:30:49 +0000 (11:30 +0200)]
On the road to 2.2.7

4 months agocodec: flac: fix heap write overflow on frame format change
Francois Cartegnie [Wed, 31 May 2017 11:02:29 +0000 (13:02 +0200)]
codec: flac: fix heap write overflow on frame format change

bp of 83b646f1e8fb89f99064d9aaef3754ccc77bbeac

4 months agoRevert "subtitle: Fix potential memory leaks" 2.2.6
Hugo Beauzée-Luyssen [Wed, 24 May 2017 10:36:19 +0000 (12:36 +0200)]
Revert "subtitle: Fix potential memory leaks"

This reverts commit 85f38701259e07a843a7ee1dd51959151a7bb050.

4 months agoUpdate NEWS
Hugo Beauzée-Luyssen [Wed, 24 May 2017 09:27:06 +0000 (11:27 +0200)]
Update NEWS

4 months agodirect3d9: Fix spu texture mapping
Hugo Beauzée-Luyssen [Tue, 23 May 2017 18:25:47 +0000 (20:25 +0200)]
direct3d9: Fix spu texture mapping

(cherry-picked from commit bec643e42c8f831c0f9e6fd615797a6d6eef699a)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 months agod3d9: Don't ignore source offsets
Hugo Beauzée-Luyssen [Tue, 23 May 2017 18:07:38 +0000 (20:07 +0200)]
d3d9: Don't ignore source offsets

(cherry picked from commit a0f1bfc2f21899e08717ea89c88ca7c4260f0809)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
5 months agoUpdate NEWS
Hugo Beauzée-Luyssen [Thu, 18 May 2017 14:10:36 +0000 (16:10 +0200)]
Update NEWS

5 months agosubtitle: Fix potential memory leaks
Hugo Beauzée-Luyssen [Thu, 18 May 2017 14:08:25 +0000 (16:08 +0200)]
subtitle: Fix potential memory leaks

(cherry picked from commit c2e45c4ecf2d51820dfe095d89e8b9379c8df4ca)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
5 months agosubtitle: Fix potential heap buffer overflow
Hugo Beauzée-Luyssen [Fri, 28 Apr 2017 11:56:46 +0000 (13:56 +0200)]
subtitle: Fix potential heap buffer overflow

Reported-by: Yannay Livneh <yannayl@checkpoint.com>
             Omri Herscovici <omrih@checkpoint.com>
             Omer Gull <omergu@checkpoint.com>

(cherry picked from commit f2b1f9e3538fc30ecc22b90bcb4300f68d703d30)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
5 months agosubtitle: Fix potential heap buffer overflow
Hugo Beauzée-Luyssen [Fri, 28 Apr 2017 08:00:11 +0000 (10:00 +0200)]
subtitle: Fix potential heap buffer overflow

Reported-by: Yannay Livneh <yannayl@checkpoint.com>
             Omri Herscovici <omrih@checkpoint.com>
             Omer Gull <omergu@checkpoint.com>

(cherry picked from commit 611398fc8d32f3fe4331f60b220c52ba3557beaa)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
5 months agodirect3d9: Fix green lines on nVidia
Hugo Beauzée-Luyssen [Thu, 18 May 2017 13:48:31 +0000 (15:48 +0200)]
direct3d9: Fix green lines on nVidia

Green line fixing, episode 4.
This has been tested on all 3 major chips manufacturers.
(cherry picked from commit bb1a4d46378327dfe2fb5608b4aff94801cf7b0d)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
5 months agoOn the road to 2.2.6
Jean-Baptiste Kempf [Thu, 11 May 2017 13:18:07 +0000 (15:18 +0200)]
On the road to 2.2.6

6 months agoUpdate NEWS 2.2.5.1
Jean-Baptiste Kempf [Fri, 7 Apr 2017 16:25:00 +0000 (18:25 +0200)]
Update NEWS

6 months agodemux/subtitle: ParseJSS: fix out-of-bounds read
Filip Roséen [Mon, 20 Feb 2017 13:59:37 +0000 (14:59 +0100)]
demux/subtitle: ParseJSS: fix out-of-bounds read

The previous loop would continue until a space is found, which of course means
that it would step out of bounds if the string did not contain such.

These changes simply terminates the loop if the end of the string is reached.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 181117ea2362ea2ccda69371ce8109970717d318)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Missing backport pointed out by: Yannay Livneh <yannayl@checkpoint.com>
                                 Omri Herscovici <omrih@checkpoint.com>
                                 Omer Gull <omergu@checkpoint.com>

6 months agosubtitle: Fix invalid double increment.
Hugo Beauzée-Luyssen [Thu, 6 Apr 2017 14:25:13 +0000 (16:25 +0200)]
subtitle: Fix invalid double increment.

Reported-by: Yannay Livneh <yannayl@checkpoint.com>
             Omri Herscovici <omrih@checkpoint.com>
             Omer Gull <omergu@checkpoint.com>

(cherry picked from commit 775de716add17322f24b476439f903a829446eb6)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agodxva2: include d3d9.h before dxva2api.h
Steve Lhomme [Thu, 6 Apr 2017 11:03:42 +0000 (13:03 +0200)]
dxva2: include d3d9.h before dxva2api.h

Manually cherry-picked from e9228cad3421b0d5f0a01b0d7461d8ba0084c501

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agosubsdec: Fix potential out of bound reads
Yannay Livneh [Thu, 6 Apr 2017 09:18:46 +0000 (11:18 +0200)]
subsdec: Fix potential out of bound reads

Report and patch by: Yannay Livneh <yannayl@checkpoint.com>
                     Omri Herscovici <omrih@checkpoint.com>
                     Omer Gull <omergu@checkpoint.com>

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agodirect3d9: Always process full buffers & crop using texture mapping
Hugo Beauzée-Luyssen [Thu, 6 Apr 2017 09:15:11 +0000 (11:15 +0200)]
direct3d9: Always process full buffers & crop using texture mapping

Manually cherry-picked from 52799c39e166b249df73b376bd3a18bb486367e1

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agodirect3d9: Don't attempt to use hardware conversion for uneven dimensions
Hugo Beauzée-Luyssen [Thu, 6 Apr 2017 08:55:44 +0000 (10:55 +0200)]
direct3d9: Don't attempt to use hardware conversion for uneven dimensions

Even when an even buffer is used, StretchRect seems to be failing to
convert the last column, at least on some devices.

Manually cherry-picked from c2970f6aea95f801ea3435d37f479cfd70035d95
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agodirect3d9: Don't round uneven sizes down.
Hugo Beauzée-Luyssen [Thu, 6 Apr 2017 08:52:46 +0000 (10:52 +0200)]
direct3d9: Don't round uneven sizes down.

Manually cherry-picked from: fc0eb78ad163882fd9eef089c714ccf27fa3971a

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agoRevert "direct3d9: fix the black background when the decoder texture is in YUV"
Hugo Beauzée-Luyssen [Thu, 6 Apr 2017 08:30:09 +0000 (10:30 +0200)]
Revert "direct3d9: fix the black background when the decoder texture is in YUV"

This reverts commit b34d49b85b8c5332309df1e49ea8bfd72ecaf89b.

6 months agoRevert "direct3d9: use point interpolation rather than none"
Hugo Beauzée-Luyssen [Wed, 5 Apr 2017 17:41:21 +0000 (19:41 +0200)]
Revert "direct3d9: use point interpolation rather than none"

This reverts commit ba313729689218a26b648428b80f629eeb72aa51.

6 months agodirect3d9: use point interpolation rather than none
Steve Lhomme [Thu, 23 Mar 2017 14:06:50 +0000 (15:06 +0100)]
direct3d9: use point interpolation rather than none

We could use linear interpolation but in software decoding the decoder pool is
not initialized with black so we would interpolate with uninitialized (green)
lines/colons.

Manually cherry-picked from d0b92b9b4d35a39589a6c58247f307e95cc78140

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agodirect3d9: fix the black background when the decoder texture is in YUV
Steve Lhomme [Wed, 22 Mar 2017 13:34:36 +0000 (14:34 +0100)]
direct3d9: fix the black background when the decoder texture is in YUV

fixes the bottom line issue in #17420

Manually cherry-picked from: 6b236169c5f1bf6c131f8e7f697552523bcacdd9

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agocodec: lpcm: change audio format, not just codec
Francois Cartegnie [Wed, 22 Mar 2017 15:14:42 +0000 (16:14 +0100)]
codec: lpcm: change audio format, not just codec

6 months agoRevert "lpcm: validate block_nb_frames in DVD/LPCM cases"
Francois Cartegnie [Wed, 22 Mar 2017 15:16:25 +0000 (16:16 +0100)]
Revert "lpcm: validate block_nb_frames in DVD/LPCM cases"

This reverts commit d75cb6ebc89f89f91ee940c55fc8345aa1f7a35d.

6 months agoinput: decoder: compare audio codec in aout_update_format
Francois Cartegnie [Tue, 21 Mar 2017 10:07:54 +0000 (11:07 +0100)]
input: decoder: compare audio codec in aout_update_format

Source of undersized buffers on format change.

Since audio format is derived from fmt.i_codec, the update
path is inconsistent, not updating the aout format in case
fmt.i_codec changes (only comparing the derived audio.i_format)

7 months agoUpdate NEWS for 2.2.5.1
Jean-Baptiste Kempf [Tue, 14 Mar 2017 23:33:21 +0000 (00:33 +0100)]
Update NEWS for 2.2.5.1

7 months agoMake update-po
Jean-Baptiste Kempf [Tue, 14 Mar 2017 23:32:53 +0000 (00:32 +0100)]
Make update-po

7 months agoWin32: sign also the installer with sha2
Jean-Baptiste Kempf [Tue, 14 Mar 2017 23:27:37 +0000 (00:27 +0100)]
Win32: sign also the installer with sha2

And also fix the rules

(cherry picked from commit 2818f5a281198e20b3f21038452af389ef6a606e)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agolib/video: fix invalid id in input_GetEsObjects
Thomas Guillem [Tue, 14 Mar 2017 09:20:36 +0000 (10:20 +0100)]
lib/video: fix invalid id in input_GetEsObjects

This fixes a SEGFAULT when calling libvlc_video_set_teletext when there is no
teletext-es.

Fixes #11854

(cherry picked from commit bf9ef35ea16260c5b485285366a32cadbd4de970)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agosoundcloud.lua: update API magic
Pierre Ynard [Sat, 11 Mar 2017 17:37:29 +0000 (18:37 +0100)]
soundcloud.lua: update API magic

(cherry picked from commit 76fee314fa336002f7e3247ce35116e7e7bd3f1f)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
7 months agowinvlc: Try to load DLLs from system32 before any other folder
Hugo Beauzée-Luyssen [Fri, 10 Mar 2017 13:48:51 +0000 (14:48 +0100)]
winvlc: Try to load DLLs from system32 before any other folder

(cherry picked from commit 99db47431b6b2063379dd88cab2b9d71ad24b3f9)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: do not load wininet.dll on startup, it's not a Known DLL
Steve Lhomme [Fri, 10 Mar 2017 13:20:00 +0000 (14:20 +0100)]
win32: do not load wininet.dll on startup, it's not a Known DLL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 681866b760332b41948e663b696fe4547133e537)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoWin32: remove winrt loadpackagedlibrary
Jean-Baptiste Kempf [Fri, 10 Mar 2017 18:00:41 +0000 (19:00 +0100)]
Win32: remove winrt loadpackagedlibrary

Fixes compilation

7 months agocore: win32: do not load winmm.dll on startup, it's not a Known DLL
Steve Lhomme [Fri, 10 Mar 2017 08:52:31 +0000 (09:52 +0100)]
core: win32: do not load winmm.dll on startup, it's not a Known DLL

Modified-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit d16bd4813a2842be220813e902462272ac8af4b0)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agocore: win32: load dependent libraries in modules from System32 only
Steve Lhomme [Fri, 10 Mar 2017 09:36:38 +0000 (10:36 +0100)]
core: win32: load dependent libraries in modules from System32 only

The modules are always loaded with an absolute path. So we should not
need anything else to load modules properly with their system libraries.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit d141214e460fbe9632f86311cd8a22f07c7e7529)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoPrepare 2.2.5.1
Jean-Baptiste Kempf [Wed, 8 Mar 2017 22:50:02 +0000 (23:50 +0100)]
Prepare 2.2.5.1

7 months agoWin32: remove LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR when loading plugins
Jean-Baptiste Kempf [Wed, 8 Mar 2017 22:45:27 +0000 (23:45 +0100)]
Win32: remove LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR when loading plugins

In theory, it should not affect us.

(cherry picked from commit cc424bbe362af59bfc8375f7aa2e6dc86bf0d778)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: installers: Don't install manifests since they aren't packaged anymore
Hugo Beauzée-Luyssen [Thu, 9 Mar 2017 07:46:31 +0000 (08:46 +0100)]
win32: installers: Don't install manifests since they aren't packaged anymore

(cherry picked from commit 61135774c164864a5a8b748c40fc9a8e6bac6c6a)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoyoutube.lua: update signature descrambling javascript parsing
Pierre Ynard [Thu, 9 Mar 2017 15:57:16 +0000 (16:57 +0100)]
youtube.lua: update signature descrambling javascript parsing

Avoid mismatch of signature descrambling call

(cherry picked from commit c0ceb661d54f8d53c64089d8f3fe5bd2b3a8e815)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
7 months agoyoutube.lua: remove alternate patterns for signature descrambling javascript
Pierre Ynard [Mon, 24 Oct 2016 06:03:17 +0000 (08:03 +0200)]
youtube.lua: remove alternate patterns for signature descrambling javascript

This isn't actually helpful in practice.

(cherry picked from commit fe779d52036ae21f518bec6cc65d7dddb62fa290)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
7 months agoWin32: dual sign with SHA-1 and SHA-2 for Authenticode
Jean-Baptiste Kempf [Tue, 7 Mar 2017 10:50:53 +0000 (11:50 +0100)]
Win32: dual sign with SHA-1 and SHA-2 for Authenticode

Requires osslsigncode 1.7.x

(cherry picked from commit 0c3f88a47d4f77941349db16346419b5cc635e25)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agox264: disable OpenCL
Jean-Baptiste Kempf [Wed, 8 Mar 2017 13:58:22 +0000 (14:58 +0100)]
x264: disable OpenCL

(cherry picked from commit 173f155575ca6c4477f8931a33bf854f08468956)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: package: Don't copy webplugins manifest
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 17:10:12 +0000 (18:10 +0100)]
win32: package: Don't copy webplugins manifest

And remove a left over libvlc.dll.manifest being packaged

(cherry picked from commit 1e5be3b6b18160a69697b2e61d10b0b3851e58d3)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: package: Don't ship exe/dll manifests
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 14:20:21 +0000 (15:20 +0100)]
win32: package: Don't ship exe/dll manifests

They are now correctly embeded

(cherry picked from commit 84032ebba133a21290457972d9116456793e0730)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agosrc: Fix libvlc manifest embeding
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 14:43:27 +0000 (15:43 +0100)]
src: Fix libvlc manifest embeding

(cherry picked from commit 0c660a1e29d53ee8b371afa6c12c71c284eb869a)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agobin: win32 resources: Fix manifest embeding
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 14:13:03 +0000 (15:13 +0100)]
bin: win32 resources: Fix manifest embeding

RT_MANIFEST is a macro that wasn't being substituted
2 was the magic number that corresponds to
ISOLATIONAWARE_MANIFEST_RESOURCE_ID, which should be used for DLLs.
Instead, use CREATEPROCESS_MANIFEST_RESOURCE_ID as we are creating a
process

(cherry picked from commit 083b4c517b18c61ed9eb766551f26307be3949b1)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: manifest: Remove trailing whitespaces
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 14:51:48 +0000 (15:51 +0100)]
win32: manifest: Remove trailing whitespaces

(cherry picked from commit 23b91f115d6908466a27e77001031ffa5d327364)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoWin32: manifest can be 0644
Jean-Baptiste Kempf [Sat, 19 Nov 2016 22:44:28 +0000 (23:44 +0100)]
Win32: manifest can be 0644

(cherry picked from commit a7854c861b51e15005a8977d593bbeca10a1bb78)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoWin32 manifests: reformat XML
Jean-Baptiste Kempf [Tue, 8 Sep 2015 13:52:53 +0000 (15:52 +0200)]
Win32 manifests: reformat XML

(cherry picked from commit 710520130c81a3e5fc1433b31406bb8760761ce3)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoWin32: mark the manifest as compatible with Vista
Jean-Baptiste Kempf [Tue, 8 Sep 2015 13:52:08 +0000 (15:52 +0200)]
Win32: mark the manifest as compatible with Vista

(cherry picked from commit a9b0140b801e67b3508a560d03dba6207fb2198c)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agosrc: libvlc_win32_rc depends on libvlc.dll.manifest
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 14:51:11 +0000 (15:51 +0100)]
src: libvlc_win32_rc depends on libvlc.dll.manifest

(cherry picked from commit 504105b167f2469f477bb3cb222b1b28494f2ed8)
Modified-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agobin: vlc_win32_rc depends on the manifest file
Hugo Beauzée-Luyssen [Wed, 8 Mar 2017 13:06:38 +0000 (14:06 +0100)]
bin: vlc_win32_rc depends on the manifest file

(cherry picked from commit 69d1dd35c4d24b9e846fb223e56f0be8ef335e5b)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: don´t clobber process DLL directories (fixes #17663)
Rémi Denis-Courmont [Fri, 18 Nov 2016 18:13:34 +0000 (20:13 +0200)]
win32: don´t clobber process DLL directories (fixes #17663)

LibVLC has zero business messing with process state. This breaks
apps other than VLC and other libraries in the same process.

(cherry picked from commit 5714803ead8f22dd08bd1549fbb775845ca210a4)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agoWin32: simplify WinRT LoadLibrary handling
Jean-Baptiste Kempf [Fri, 1 Jul 2016 11:42:20 +0000 (13:42 +0200)]
Win32: simplify WinRT LoadLibrary handling

(cherry picked from commit 24c12339c4576006764224b25115996cdb7afe8b)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agovlc: set default DLL directories
Rémi Denis-Courmont [Fri, 18 Nov 2016 18:07:58 +0000 (20:07 +0200)]
vlc: set default DLL directories

(cherry picked from commit 5d9004a6441410e39f3dc229253c5073654a129c)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agowin32: only one dialog thanking the user
Jean-Baptiste Kempf [Mon, 10 Oct 2016 22:01:50 +0000 (00:01 +0200)]
win32: only one dialog thanking the user

Rephrased in a way that paranoid users don't believe it is
passive-aggresive...

(cherry picked from commit 7f78843a291cdad34bebcbec23c7da81dbcdfdf2)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 months agodemux: subtitle: fix infinite loop #18071
Francois Cartegnie [Mon, 6 Mar 2017 12:46:07 +0000 (13:46 +0100)]
demux: subtitle: fix infinite loop #18071

backport of 371099cd725f26438d076f01f9030de26d86f696

7 months agocodec: flac: fix potential OOB dereference
Francois Cartegnie [Wed, 1 Mar 2017 12:30:47 +0000 (13:30 +0100)]
codec: flac: fix potential OOB dereference

7 months agopacketizer: mpeg4audio: fix OOB read
Francois Cartegnie [Tue, 21 Feb 2017 11:08:46 +0000 (12:08 +0100)]
packetizer: mpeg4audio: fix OOB read

7 months agoContribs: update dvbpsi to 1.3.1
Jean-Baptiste Kempf [Tue, 21 Feb 2017 18:17:32 +0000 (19:17 +0100)]
Contribs: update dvbpsi to 1.3.1

(cherry picked from commit efcf185aef4f0e9953d9a3e9e341b888a23934a6)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 months agopacketizer: mpegvideo: fix OOB read
Francois Cartegnie [Thu, 16 Feb 2017 13:03:22 +0000 (14:03 +0100)]
packetizer: mpegvideo: fix OOB read

8 months agodemux: ogg: correctly free vorbis info (refs #18015)
Francois Cartegnie [Wed, 15 Feb 2017 09:57:01 +0000 (10:57 +0100)]
demux: ogg: correctly free vorbis info (refs #18015)

bp of b8b6cc3bb8e24c0d556ce2c40fc1fad65921cdb0

8 months agoliveleak.lua: update for website changes
Pierre Ynard [Thu, 9 Feb 2017 22:21:52 +0000 (23:21 +0100)]
liveleak.lua: update for website changes

(cherry picked from commit 703ae4c5bcf667c057313175db0894405c92753a)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
8 months agoliveleak.lua: Improve URL probe function
Marvin Scholz [Tue, 25 Oct 2016 07:47:52 +0000 (09:47 +0200)]
liveleak.lua: Improve URL probe function

Improve the URL probe function to not match URLs like
http://example.org/www.liveleak.com/view?i=312_1477377129
as those should not be handled by this script.

Ref. #17488

Acked-by: Filip Roséen <filip@atch.se>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 9ae3871c05e1463a77bd6997eb70b5564e1e395e)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
8 months agomacosx: initializing NSApplication may fail
Felix Paul Kühne [Thu, 15 Dec 2016 21:16:38 +0000 (22:16 +0100)]
macosx: initializing NSApplication may fail

Do it without crashing if it does

Manual backport of a2c06b38

8 months agomacosx/misc: replace symbol deprecated in macOS 10.0
Felix Paul Kühne [Thu, 15 Dec 2016 21:15:46 +0000 (22:15 +0100)]
macosx/misc: replace symbol deprecated in macOS 10.0

8 months agol10n: Traditional Chinese update
VideoLAN [Mon, 6 Feb 2017 22:07:29 +0000 (17:07 -0500)]
l10n: Traditional Chinese update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Initial Uighur translation
VideoLAN [Mon, 6 Feb 2017 22:05:29 +0000 (17:05 -0500)]
l10n: Initial Uighur translation

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Turkish update
Kaya Zeren [Mon, 6 Feb 2017 22:04:54 +0000 (17:04 -0500)]
l10n: Turkish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Tamil update
VideoLAN [Mon, 6 Feb 2017 22:03:01 +0000 (17:03 -0500)]
l10n: Tamil update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Swedish update
VideoLAN [Mon, 6 Feb 2017 22:01:49 +0000 (17:01 -0500)]
l10n: Swedish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Slovenian update
VideoLAN [Mon, 6 Feb 2017 21:59:17 +0000 (16:59 -0500)]
l10n: Slovenian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Sinhala update
VideoLAN [Mon, 6 Feb 2017 21:56:21 +0000 (16:56 -0500)]
l10n: Sinhala update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
8 months agol10n: Punjabi update
VideoLAN [Mon, 6 Feb 2017 21:52:06 +0000 (16:52 -0500)]
l10n: Punjabi update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>