blob: 5e2dc49d100fc08dca59779316e1825f6b3fe7ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- Source/plugin-support.cpp.orig Sat Feb 18 17:05:30 2006
+++ Source/plugin-support.cpp Sat Feb 18 17:05:58 2006
@@ -486,9 +486,13 @@ void killmplayer(nsPluginInstance * inst
if (instance->paused == 1)
sendCommand(instance, "pause\n");
sendCommand(instance, "quit\n");
+#ifndef BSD
pthread_mutex_lock(&(instance->read_mutex));
+#endif
instance->cancelled = 1;
+#ifndef BSD
pthread_mutex_unlock(&(instance->read_mutex));
+#endif
/* count = 0;
while (count < 500) {
|