mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +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)
|
||||
{
|
||||
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();
|
||||
|
Reference in New Issue
Block a user