mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
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:
@@ -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