Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/NeutrinoRDP.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2015-07-19 21:28:58 +0300
committerJay Sorg <jay.sorg@gmail.com>2015-07-21 08:37:55 +0300
commitf26ff2539f7f28121bc06c9623f1ae7dea76ad35 (patch)
tree5b7523db8080b44f837aa90ab47452664c30a6c4
parentdeef0912db9e6f33bdb03fb8ddec4bddd9272160 (diff)
rdpsnd fix for pulse assertmaster
-rw-r--r--channels/rdpsnd/rdpsnd_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/channels/rdpsnd/rdpsnd_main.c b/channels/rdpsnd/rdpsnd_main.c
index cc4b115..0243bdb 100644
--- a/channels/rdpsnd/rdpsnd_main.c
+++ b/channels/rdpsnd/rdpsnd_main.c
@@ -371,9 +371,8 @@ static void rdpsnd_process_message_close(rdpsndPlugin* rdpsnd)
{
DEBUG_SVC("server closes.");
if (rdpsnd->device)
- IFCALL(rdpsnd->device->Start, rdpsnd->device);
- rdpsnd->close_timestamp = get_mstime() + 2000;
- rdpsnd->plugin.interval_ms = 10;
+ IFCALL(rdpsnd->device->Close, rdpsnd->device);
+ rdpsnd->is_open = false;
}
static void rdpsnd_process_message_setvolume(rdpsndPlugin* rdpsnd, STREAM* data_in)