Changed bufferLivePacket and related functions to have const DTSC::Packet references
This commit is contained in:
parent
05d1fa5c8d
commit
3eb69ff2c7
6 changed files with 14 additions and 14 deletions
|
@ -39,7 +39,7 @@ namespace Mist{
|
|||
cfg->addOption("noinput", option);
|
||||
}
|
||||
|
||||
void Output::bufferLivePacket(DTSC::Packet & packet){
|
||||
void Output::bufferLivePacket(const DTSC::Packet & packet){
|
||||
if (!pushIsOngoing){
|
||||
waitForStreamPushReady();
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ namespace Mist {
|
|||
bool allowPush(const std::string & passwd);
|
||||
void waitForStreamPushReady();
|
||||
bool pushIsOngoing;
|
||||
void bufferLivePacket(DTSC::Packet & packet);
|
||||
void bufferLivePacket(const DTSC::Packet & packet);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue