mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- zapitclient: change CZapitClient::stopPip()
* Original commit: 51a084e92b
This commit is contained in:
@@ -1138,8 +1138,10 @@ void CZapitClient::stopPlayBack(const bool sendpmt)
|
|||||||
|
|
||||||
void CZapitClient::stopPip(int pip)
|
void CZapitClient::stopPip(int pip)
|
||||||
{
|
{
|
||||||
|
CZapitMessages::commandZaptoServiceID msg;
|
||||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(mutex);
|
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;
|
CZapitMessages::responseCmd response;
|
||||||
CBasicClient::receive_data((char* )&response, sizeof(response));
|
CBasicClient::receive_data((char* )&response, sizeof(response));
|
||||||
close_connection();
|
close_connection();
|
||||||
|
Reference in New Issue
Block a user