0006-libvlc-create-VT-zero-copy-variable.patch 786 Bytes
Newer Older
1
From f4c8c5e24b4fa50ea231afb46bc7bb030b71c7f9 Mon Sep 17 00:00:00 2001
2 3
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Wed, 4 May 2016 16:00:40 +0200
4
Subject: [PATCH 06/16] libvlc: create VT-zero-copy variable
5 6 7 8 9 10

---
 lib/media_player.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/media_player.c b/lib/media_player.c
11
index b5677ae7ec..ebe711e310 100644
12 13
--- a/lib/media_player.c
+++ b/lib/media_player.c
Thomas Guillem's avatar
Thomas Guillem committed
14
@@ -641,6 +641,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
15 16 17
 #endif
 #ifdef __APPLE__
     var_Create (mp, "drawable-nsobject", VLC_VAR_ADDRESS);
Felix Paul Kühne's avatar
Felix Paul Kühne committed
18
+    var_Create (mp, "videotoolbox-zero-copy", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
19 20 21 22
 #endif
 #ifdef __ANDROID__
     var_Create (mp, "drawable-androidwindow", VLC_VAR_ADDRESS);
-- 
23
2.11.0
24