From cd0bb34f74b9f8bc6b35f3b3a5c9c079e23102be Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 19 Oct 2021 22:35:24 +0200 Subject: [PATCH] zapitclient: change CZapitClient::stopPip() * Original commit: https://github.com/Duckbox-Developers/neutrino-ddt/commit/51a084e92be0425ae5292778b61991bf4be1c614 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0080ef71972e8426219ce3a3a05138e16c164b32 Author: BPanther Date: 2021-10-19 (Tue, 19 Oct 2021) Origin message was: ------------------ - zapitclient: change CZapitClient::stopPip() * Original commit: https://github.com/Duckbox-Developers/neutrino-ddt/commit/51a084e92be0425ae5292778b61991bf4be1c614 ------------------ This commit was generated by Migit --- src/zapit/lib/zapitclient.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zapit/lib/zapitclient.cpp b/src/zapit/lib/zapitclient.cpp index 19b9c0808..ab88e7c02 100644 --- a/src/zapit/lib/zapitclient.cpp +++ b/src/zapit/lib/zapitclient.cpp @@ -1138,8 +1138,10 @@ void CZapitClient::stopPlayBack(const bool sendpmt) void CZapitClient::stopPip(int pip) { + CZapitMessages::commandZaptoServiceID msg; OpenThreads::ScopedLock lock(mutex); - send(CZapitMessages::CMD_STOP_PIP); + msg.pip_dev = pip; + send(CZapitMessages::CMD_STOP_PIP, (char*)&msg, sizeof(msg)); CZapitMessages::responseCmd response; CBasicClient::receive_data((char* )&response, sizeof(response)); close_connection();