[vlc-devel] commit: macosx/framework: Fix our hack for extensions. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Feb 18 15:49:46 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Feb 18 15:49:08 2010 +0100| [27934aa93b8d8da495a3a4041cca2e2871c2e0f1] | committer: Pierre d'Herbemont 

macosx/framework: Fix our hack for extensions.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27934aa93b8d8da495a3a4041cca2e2871c2e0f1
---

 .../framework/Sources/VLCExtensionsManager.m       |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCExtensionsManager.m b/projects/macosx/framework/Sources/VLCExtensionsManager.m
index 3220215..088f762 100644
--- a/projects/macosx/framework/Sources/VLCExtensionsManager.m
+++ b/projects/macosx/framework/Sources/VLCExtensionsManager.m
@@ -20,11 +20,11 @@
 
 static input_thread_t *libvlc_media_player_get_input_thread(libvlc_media_player_t *player)
 {
-    vlc_mutex_lock(&player->object_lock);
-    input_thread_t *input = player->p_input_thread;
+    vlc_mutex_lock(&player->input.lock);
+    input_thread_t *input = player->input.p_thread;
     if(input)
         vlc_object_hold(input);
-    vlc_mutex_unlock(&player->object_lock);
+    vlc_mutex_unlock(&player->input.lock);
     return input;
 }
 




More information about the vlc-devel mailing list