zapitclient: change CZapitClient::stopPip()

* Original commit: 51a084e92b


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0080ef7197
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2021-10-19 (Tue, 19 Oct 2021)

Origin message was:
------------------
- zapitclient: change CZapitClient::stopPip()

* Original commit: 51a084e92b


------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2021-10-19 22:35:24 +02:00
committed by vanhofen
parent a862167d32
commit cd0bb34f74

View File

@@ -1138,8 +1138,10 @@ void CZapitClient::stopPlayBack(const bool sendpmt)
void CZapitClient::stopPip(int pip)
{
CZapitMessages::commandZaptoServiceID msg;
OpenThreads::ScopedLock<OpenThreads::Mutex> 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();