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:
-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)