Fix spelling mistakes identified by Lintian
Co-authored-by: Thulinma <jaron@vietors.com>
This commit is contained in:
parent
a1fbb9e186
commit
ea47e19129
14 changed files with 24 additions and 24 deletions
|
@ -566,7 +566,7 @@ namespace h264{
|
|||
<< payload.size() << " bytes long" << std::endl;
|
||||
out << " profile_idc: 0x" << std::setw(2) << std::setfill('0') << std::hex << (int)profileIdc
|
||||
<< std::dec << " (" << (int)profileIdc << ") = " << profile() << std::endl;
|
||||
out << " contraints: " << (constraintSet0Flag ? "0 " : "") << (constraintSet1Flag ? "1 " : "")
|
||||
out << " constraints: " << (constraintSet0Flag ? "0 " : "") << (constraintSet1Flag ? "1 " : "")
|
||||
<< (constraintSet2Flag ? "2 " : "") << (constraintSet3Flag ? "3 " : "")
|
||||
<< (constraintSet4Flag ? "4 " : "") << (constraintSet5Flag ? "5" : "") << std::endl;
|
||||
out << " level_idc: 0x" << std::setw(2) << std::setfill('0') << std::hex << (int)levelIdc
|
||||
|
|
|
@ -254,7 +254,7 @@ namespace HLS{
|
|||
result << "#EXT-X-TARGETDURATION:" << targetDurationMax << "\r\n";
|
||||
}
|
||||
|
||||
/// Appends result with encrytion / drm data
|
||||
/// Appends result with encryption / drm data
|
||||
void addEncriptionTags(std::stringstream &result, const std::string &encryptMethod){
|
||||
// TODO: Add support for media encryption
|
||||
if (encryptMethod.size()){
|
||||
|
|
|
@ -754,8 +754,8 @@ int Socket::Connection::getPureSocket(){
|
|||
return sSend;
|
||||
}
|
||||
|
||||
/// Returns a string describing the last error that occured.
|
||||
/// Only reports errors if an error actually occured - returns the host address or empty string
|
||||
/// Returns a string describing the last error that occurred.
|
||||
/// Only reports errors if an error actually occurred - returns the host address or empty string
|
||||
/// otherwise.
|
||||
std::string Socket::Connection::getError(){
|
||||
return lastErr;
|
||||
|
|
|
@ -154,7 +154,7 @@ namespace Socket{
|
|||
std::string getBoundAddress() const;
|
||||
int getSocket(); ///< Returns internal socket number.
|
||||
int getPureSocket(); ///< Returns non-piped internal socket number.
|
||||
std::string getError(); ///< Returns a string describing the last error that occured.
|
||||
std::string getError(); ///< Returns a string describing the last error that occurred.
|
||||
bool connected() const; ///< Returns the connected-state for this socket.
|
||||
bool isAddress(const std::string &addr);
|
||||
bool isLocal(); ///< Returns true if remote address is a local address.
|
||||
|
@ -191,7 +191,7 @@ namespace Socket{
|
|||
/// This class is for easily setting up listening socket, either TCP or Unix.
|
||||
class Server{
|
||||
private:
|
||||
std::string errors; ///< Stores errors that may have occured.
|
||||
std::string errors; ///< Stores errors that may have occurred.
|
||||
int sock; ///< Internally saved socket number.
|
||||
bool IPv6bind(int port, std::string hostname, bool nonblock); ///< Attempt to bind an IPv6 socket
|
||||
bool IPv4bind(int port, std::string hostname, bool nonblock); ///< Attempt to bind an IPv4 socket
|
||||
|
|
|
@ -277,7 +277,7 @@ namespace Socket{
|
|||
sock = -1;
|
||||
ERROR_MSG("Can not listen on Socket");
|
||||
}
|
||||
INFO_MSG("Listener SRT socket sucess @ %s:%u", _host.c_str(), _port);
|
||||
INFO_MSG("Listener SRT socket success @ %s:%u", _host.c_str(), _port);
|
||||
lastGood = Util::bootMS();
|
||||
return;
|
||||
}
|
||||
|
@ -309,7 +309,7 @@ namespace Socket{
|
|||
ERROR_MSG("Error during postconfigure socket");
|
||||
return;
|
||||
}
|
||||
INFO_MSG("Rendezvous SRT socket sucess @ %s:%u", _host.c_str(), _port);
|
||||
INFO_MSG("Rendezvous SRT socket success @ %s:%u", _host.c_str(), _port);
|
||||
lastGood = Util::bootMS();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue