ソースを参照

MVK: hack libvlc a bit more

Felix Paul Kühne 9 年 前
コミット
9476ce0195

+ 1 - 1
MobileVLCKit/patches/0001-arm_neon-added-function-macro-to-handle-the-undersco.patch

@@ -1,7 +1,7 @@
 From 12cc643dde0d4853cc913dffc8edb2d7e7d3c666 Mon Sep 17 00:00:00 2001
 From: David Geldreich <david.geldreich@free.fr>
 Date: Fri, 20 Apr 2012 16:41:19 +0200
-Subject: [PATCH 01/13] arm_neon: added function macro to handle the underscore
+Subject: [PATCH 01/14] arm_neon: added function macro to handle the underscore
  prefix for the iOS ARM ABI
 
 ---

+ 1 - 1
MobileVLCKit/patches/0002-deinterlace-merge-use-a-macro-to-fix-compilation-for.patch

@@ -1,7 +1,7 @@
 From 1eb1cb1fc345b471c3efeb0ba6139876d73cd8a5 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Fri, 10 Aug 2012 16:02:07 +0200
-Subject: [PATCH 02/13] deinterlace/merge: use a macro to fix compilation for
+Subject: [PATCH 02/14] deinterlace/merge: use a macro to fix compilation for
  iOS
 
 ---

+ 1 - 1
MobileVLCKit/patches/0003-lib-media-player-inherit-deinterlace-variable-to-ach.patch

@@ -1,7 +1,7 @@
 From e2e7f96af3ef34512c444a13c69a8deb22124944 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Tue, 9 Dec 2014 22:14:55 +0100
-Subject: [PATCH 03/13] lib/media player: inherit deinterlace variable to
+Subject: [PATCH 03/14] lib/media player: inherit deinterlace variable to
  achieve correct value on first use
 
 ---

+ 1 - 1
MobileVLCKit/patches/0004-arm_neon-work-around-libtool-issue.patch

@@ -1,7 +1,7 @@
 From 167c49670700a84dfa6bb126d86e8998586b17e4 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Thu, 18 Dec 2014 22:14:55 +0100
-Subject: [PATCH 04/13] arm_neon: work-around libtool issue
+Subject: [PATCH 04/14] arm_neon: work-around libtool issue
 
 ---
  modules/arm_neon/Makefile.am | 2 ++

+ 1 - 1
MobileVLCKit/patches/0005-arm_neon-fix-iOS-linking.patch

@@ -1,7 +1,7 @@
 From b27d6414005031bbb09b493100cc955cf227abf6 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Wed, 10 Dec 2014 22:14:55 +0100
-Subject: [PATCH 05/13] arm_neon: fix iOS linking
+Subject: [PATCH 05/14] arm_neon: fix iOS linking
 
 ---
  modules/arm_neon/amplify.S              |  7 ++---

+ 1 - 1
MobileVLCKit/patches/0006-disable-neon-volume-plugin.patch

@@ -1,7 +1,7 @@
 From 93d647a61f6eb5e66eb83349a1862654cc26d741 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Wed, 10 Dec 2014 22:14:55 +0100
-Subject: [PATCH 06/13] disable neon volume plugin
+Subject: [PATCH 06/14] disable neon volume plugin
 
 ---
  modules/arm_neon/Makefile.am | 1 -

+ 1 - 1
MobileVLCKit/patches/0007-contrib-gcrypt-work-around-a-libtool-limitation.patch

@@ -1,7 +1,7 @@
 From 1239f5a55e099e83446bff8c5a85303c7f4931bc Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Sun, 7 Dec 2014 20:02:18 +0100
-Subject: [PATCH 07/13] contrib/gcrypt: work-around a libtool limitation
+Subject: [PATCH 07/14] contrib/gcrypt: work-around a libtool limitation
 
 ---
  contrib/src/gcrypt/rules.mak                       |  1 +

+ 1 - 1
MobileVLCKit/patches/0008-src-misc-fix-compilation-for-OS-without-fork.patch

@@ -1,7 +1,7 @@
 From afe7675da0f9faa938ce101629666ac573ec5fab Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Thu, 10 Sep 2015 19:58:40 +0200
-Subject: [PATCH 08/13] src/misc: fix compilation for OS without fork()
+Subject: [PATCH 08/14] src/misc: fix compilation for OS without fork()
 
 ---
  src/misc/cpu.c | 2 +-

+ 1 - 1
MobileVLCKit/patches/0009-libvlc-hack-to-disable-daemon-mode.patch

@@ -1,7 +1,7 @@
 From b19ffea6f6563f7de872075d0da2cd3db27ef665 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Fri, 11 Sep 2015 18:34:26 +0200
-Subject: [PATCH 09/13] libvlc: hack to disable daemon mode
+Subject: [PATCH 09/14] libvlc: hack to disable daemon mode
 
 ---
  src/libvlc.c | 4 ++++

+ 1 - 1
MobileVLCKit/patches/0010-contrib-gcrypt-fix-tvOS-compilation.patch

@@ -1,7 +1,7 @@
 From 439ca94598e8266da9f059dd97d438a713c644b9 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Sat, 3 Oct 2015 22:45:14 +0200
-Subject: [PATCH 10/13] contrib/gcrypt: fix tvOS compilation
+Subject: [PATCH 10/14] contrib/gcrypt: fix tvOS compilation
 
 ---
  contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch | 16 ++++++++++++++++

+ 1 - 1
MobileVLCKit/patches/0011-contrib-harfbuzz-fix-iOS-compilation-when-CoreText-i.patch

@@ -1,7 +1,7 @@
 From 33d9c4eacd94796a0787ad2eee23d1e1bb19e122 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Mon, 23 Nov 2015 16:46:27 +0100
-Subject: [PATCH 11/13] contrib/harfbuzz: fix iOS compilation when CoreText is
+Subject: [PATCH 11/14] contrib/harfbuzz: fix iOS compilation when CoreText is
  enabled
 
 ---

+ 1 - 1
MobileVLCKit/patches/0012-libvlc-expose-a-base-set-of-freetype-options-to-over.patch

@@ -1,7 +1,7 @@
 From 732449d65e0e31ca753f5bb577159dcecf625a9d Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Mon, 23 Nov 2015 16:09:24 +0100
-Subject: [PATCH 12/13] libvlc: expose a base set of freetype options to
+Subject: [PATCH 12/14] libvlc: expose a base set of freetype options to
  overwrite the default font
 
 ---

+ 1 - 1
MobileVLCKit/patches/0013-Add-AC-3-pass-through.patch

@@ -1,7 +1,7 @@
 From 4347f84a676c42d5678a802a77e642a4c5062aa5 Mon Sep 17 00:00:00 2001
 From: Aman Gupta <aman@tmm1.net>
 Date: Tue, 1 Mar 2016 16:31:13 +0100
-Subject: [PATCH 13/13] Add AC-3 pass-through
+Subject: [PATCH 13/14] Add AC-3 pass-through
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit

+ 24 - 0
MobileVLCKit/patches/0014-libvlc-create-VT-zero-copy-variable.patch

@@ -0,0 +1,24 @@
+From 36ca23daf817bb5d190305847a2e25820107b6ed Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
+Date: Wed, 4 May 2016 16:00:40 +0200
+Subject: [PATCH 14/14] libvlc: create VT-zero-copy variable
+
+---
+ lib/media_player.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/media_player.c b/lib/media_player.c
+index b4c23a4..c3d9421 100644
+--- a/lib/media_player.c
++++ b/lib/media_player.c
+@@ -591,6 +591,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
+ #endif
+ #ifdef __APPLE__
+     var_Create (mp, "drawable-nsobject", VLC_VAR_ADDRESS);
++    var_Create (mp, "videotoolbox-zero-copy", VLC_VAR_BOOL);
+ #endif
+ #ifdef __ANDROID__
+     var_Create (mp, "drawable-androidwindow", VLC_VAR_ADDRESS);
+-- 
+2.8.1
+