Commit e2f90bd4 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

Update libvlc patchset

The libarchive patches need some updating after updating to 3.4.0.

The patches can be found in https://code.videolan.org/robUx4/vlc-3.0/-/tree/winstore/5
parent cfe4e9a1
From 0d263d5b2142496e68fcf0d8debf06eda4798296 Mon Sep 17 00:00:00 2001
From 36f5329097de58cd8b555114b5ff40dd9aff72fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
Date: Wed, 11 May 2016 17:37:47 +0200
Subject: [PATCH 01/28] gnutls: Set cannot_unload_broken_library for winrt
Subject: [PATCH 01/30] gnutls: Set cannot_unload_broken_library for winrt
---
modules/misc/gnutls.c | 3 +++
......
From 341dd0a05570aa6f2ea130e4dc737fdf57640001 Mon Sep 17 00:00:00 2001
From 5291be0bdf706fc63ba291df1271ee99326f61bc Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Kempf <jb@videolan.org>
Date: Wed, 16 Apr 2014 16:09:53 +0200
Subject: [PATCH 02/28] Cheat for Windows Store subtitles
Subject: [PATCH 02/30] Cheat for Windows Store subtitles
---
lib/video.c | 5 +++++
......
From 7f24b9073244b6e9f87b52f9ea4ff3bc670a7546 Mon Sep 17 00:00:00 2001
From 87bdcd823e6b52dead3b912c5283ec7bb7e85ac4 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Kempf <jb@videolan.org>
Date: Wed, 12 Mar 2014 00:11:26 +0100
Subject: [PATCH 03/28] Accept the weird WinRT pathes
Subject: [PATCH 03/30] Accept the weird WinRT pathes
---
src/text/url.c | 5 +++++
......
From 462d4f1efc7bfadceee4f576ac77d0cde62e7608 Mon Sep 17 00:00:00 2001
From bfe9ff5796104e7f0f2d8beab464acd32383bac1 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Fri, 30 Sep 2016 09:49:19 +0200
Subject: [PATCH 04/28] plugin cache: Windows doesn't like relative pathes in
Subject: [PATCH 04/30] plugin cache: Windows doesn't like relative pathes in
LoadLibraryEx()
Fixes "vlc-cache-gen ../modules" on Windows and general VLC_PLUGIN_PATH usage.
......
From 39243888b299b3294ffe4a1465f80dc0e2868c01 Mon Sep 17 00:00:00 2001
From 61e9203e5f2e00844b17d763b96be566ba0c55c2 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 29 Mar 2018 15:46:11 +0200
Subject: [PATCH 05/28] contrib: ffmpeg: use bcrypt instead of the old wincrypt
Subject: [PATCH 05/30] contrib: ffmpeg: use bcrypt instead of the old wincrypt
API
When targeting Windows Vista and above
......
From dc204a2e799428d9c17a6d2624c0ee73b724825f Mon Sep 17 00:00:00 2001
From df64fa75959cd1cf047eec20c6cf51a48102d1c6 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Tue, 19 Dec 2017 12:39:06 +0100
Subject: [PATCH 06/28] contrib:avcodec: use a more recent FFmpeg version
Subject: [PATCH 06/30] contrib:avcodec: use a more recent FFmpeg version
So that it doesn't use bogus atomics based code
---
......
From bb47c116178ae32b3f6a3906a2b5a1c121671706 Mon Sep 17 00:00:00 2001
From db99bf8e6117b24cd74e709ce1021879e8705ccc Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Tue, 20 Feb 2018 11:24:43 +0100
Subject: [PATCH 07/28] contrib:mpg123: don't use forbidden APIs on Phone apps
Subject: [PATCH 07/30] contrib:mpg123: don't use forbidden APIs on Phone apps
---
contrib/src/mpg123/mpg123-winstore.patch | 11 +++++++++++
......
From 9b27d3dd2e6b3ceb10e3f86afc6504ca389b28c6 Mon Sep 17 00:00:00 2001
From 565aec3e5b7a8d672ac0acebdb2ae20281c25988 Mon Sep 17 00:00:00 2001
From: Carola Nitz <nitz.carola@googlemail.com>
Date: Fri, 29 Sep 2017 14:49:02 +0200
Subject: [PATCH 08/28] contrib: use live555 version that is compatible with
Subject: [PATCH 08/30] contrib: use live555 version that is compatible with
LGPL2
---
......@@ -18,7 +18,7 @@ index f459fb9d16..02b2a69734 100644
+10846fd6d5482bbea131ae805137077997e9dec242665e3c01d699d5584154c65049e8c520ea855599e554154a148e61fea77b592d97c814a4a98c773658d8f5 live.2016.10.21.tar.gz
\ No newline at end of file
diff --git a/contrib/src/live555/rules.mak b/contrib/src/live555/rules.mak
index bb1d5655c7..41fc1c6179 100644
index 3bb8e78b3d..4e7281bc56 100644
--- a/contrib/src/live555/rules.mak
+++ b/contrib/src/live555/rules.mak
@@ -1,14 +1,12 @@
......@@ -37,7 +37,7 @@ index bb1d5655c7..41fc1c6179 100644
ifeq ($(call need_pkg,"live555"),)
PKGS_FOUND += live555
@@ -92,7 +90,6 @@ endif
@@ -93,7 +91,6 @@ endif
SUBDIRS=groupsock liveMedia UsageEnvironment BasicUsageEnvironment
.live555: live555
......
From 7c60eaba13f91cde81c2d28f7999826ff5308016 Mon Sep 17 00:00:00 2001
From 94e6103114c7519d66346fc7810e888fcfbc60de Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Tue, 27 Mar 2018 18:57:41 +0200
Subject: [PATCH 09/28] rand: use bcrypt instead of CryptographicBufferStatics
Subject: [PATCH 09/30] rand: use bcrypt instead of CryptographicBufferStatics
for Winstore builds
It's available to winstore apps and on desktop since Vista.
......@@ -12,7 +12,7 @@ The old API is deprecated.
2 files changed, 15 insertions(+), 40 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7b192eccd5..a14694f7b8 100644
index c60fd78e11..9922b4ba3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1138,7 +1138,10 @@ AH_BOTTOM([
......
From 6151e1d985cc21227d1ec393215bf58cabc855ad Mon Sep 17 00:00:00 2001
From 6c6e732bd63e4c9774887e6cf6e8e0daa5405539 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Mon, 23 May 2016 09:18:17 +0200
Subject: [PATCH 10/28] contrib: gnutls: fix Winstore forbidden API calls
Subject: [PATCH 10/30] contrib: gnutls: fix Winstore forbidden API calls
---
contrib/src/gnutls/rules.mak | 3 +
......
From 725c91931c64ff9670b3bede6dd45db75c67e292 Mon Sep 17 00:00:00 2001
From 5c57b962f40d1be3a74922a482e4c50f3b07cfe3 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 29 Mar 2018 15:00:53 +0200
Subject: [PATCH 11/28] contrib: shout: respect the availability of strings.h
Subject: [PATCH 11/30] contrib: shout: respect the availability of strings.h
everywhere
---
......
From b36befb27427a6b787a637ddd83852f46ee73d87 Mon Sep 17 00:00:00 2001
From 40a7e33739e499194e1489ce51659c107b5a4d3e Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 29 Mar 2018 15:06:53 +0200
Subject: [PATCH 12/28] contrib: shout: timeval is defined in winsock2.h on
Subject: [PATCH 12/30] contrib: shout: timeval is defined in winsock2.h on
Windows
---
......
From 00a297567e4b3ef43583c051df418a50a64bb25c Mon Sep 17 00:00:00 2001
From f5fa91d807b80e9563148a1569745152f7ad12d3 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 29 Mar 2018 15:13:55 +0200
Subject: [PATCH 13/28] contrib: shout: socklen_t can be found in ws2tcpip.h on
Subject: [PATCH 13/30] contrib: shout: socklen_t can be found in ws2tcpip.h on
Windows
and make sure it's found on Windows Store builds as well
......
From 5954a98c01771f4026fd51bbf8937da3d1705009 Mon Sep 17 00:00:00 2001
From 79e60263620ae725eac498ae2564e62db70cb272 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 5 Apr 2018 13:29:40 +0200
Subject: [PATCH 14/28] contrib: gcrypt: use bcrypt rather than wincrypt
Subject: [PATCH 14/30] contrib: gcrypt: use bcrypt rather than wincrypt
---
contrib/src/gcrypt/winrt.patch | 177 +++++++++++++++++++++++----------
......
From f26cdd39675b5c427159e72054b4d54d83b3483a Mon Sep 17 00:00:00 2001
From a228fc752bd2ef3236a01cfc61c1aacf11f2da69 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 5 Apr 2018 14:49:26 +0200
Subject: [PATCH 15/28] contrib: libarchive: use bcrypt rather than wincrypt
Subject: [PATCH 15/30] contrib: libarchive: use bcrypt rather than wincrypt
---
.../libarchive/libarchive-win32-bcrypt.patch | 145 ++++++++++++++++++
......
From 769ff768b83375082efbfcd7d39c84e8ed9910e1 Mon Sep 17 00:00:00 2001
From 940a44915c1c10180c0081f162c4dcd04877e2a4 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Wed, 4 Apr 2018 12:10:17 +0200
Subject: [PATCH 16/28] transcode: do not include the decoder padding in the
Subject: [PATCH 16/30] transcode: do not include the decoder padding in the
output SAR
---
......
From 813d7c682e7ef764365216c55d46cd0bd008138e Mon Sep 17 00:00:00 2001
From d70032281e8a3f6b3988ce20eb76124ab2fc4449 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Thu, 14 Dec 2017 14:20:25 +0100
Subject: [PATCH 17/28] transcode: the visible dimensions are unlikely to be 0
Subject: [PATCH 17/30] transcode: the visible dimensions are unlikely to be 0
---
modules/stream_out/transcode/video.c | 4 ++--
......
From 6cde4a519081763999327e926cbaf2c03ddb3cee Mon Sep 17 00:00:00 2001
From 3c35e7ab21aee6b99332b08797d649502e4a68bc Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Mon, 4 Sep 2017 13:59:25 +0200
Subject: [PATCH 18/28] codec: add a set of functions to use a plain FIFO
Subject: [PATCH 18/30] codec: add a set of functions to use a plain FIFO
It's similar to the block FIFO but with no locking.
---
......
From 434dd2742a3fbbb3b774b1ba569f05bbd5fa8dd9 Mon Sep 17 00:00:00 2001
From 3fa06b4ee19b5b14013bb603b8d446af70625140 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Thu, 31 Aug 2017 18:02:31 +0200
Subject: [PATCH 19/28] qsv: CUMULATIVE PATCH to encode from CPU planes
Subject: [PATCH 19/30] qsv: CUMULATIVE PATCH to encode from CPU planes
properly
---
......
From fe89d643908ed3f2a9632a549bb709c517f54889 Mon Sep 17 00:00:00 2001
From 93229e193c46d616095d619e318bb24cf37880f9 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Thu, 5 Apr 2018 09:49:44 +0200
Subject: [PATCH 20/28] chromecast: try to encode with QSV if possible
Subject: [PATCH 20/30] chromecast: try to encode with QSV if possible
It will be handled by the GPU so use less resource.
---
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment