Changed bufferLivePacket and related functions to have const DTSC::Packet references

This commit is contained in:
Thulinma 2017-07-28 18:38:54 +02:00
parent 05d1fa5c8d
commit 3eb69ff2c7
6 changed files with 14 additions and 14 deletions

View file

@ -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();
}

View file

@ -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);
};
}