Minor changes

This commit is contained in:
Andrea Bondavalli 2020-04-10 13:01:36 -07:00
parent 28579de590
commit e9dd44fdb4
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ void Browser::on_remove_rtsp_source(const std::string& name,
auto rng = name_idx.equal_range(name);
while(rng.first != rng.second){
const auto& it = rng.first;
if (it->source == "mDNS" && it->domain == domain && it->name == name) {
if (it->source == "mDNS" && it->domain == domain) {
BOOST_LOG_TRIVIAL(info) << "browser:: removing RTSP source " << it->id
<< " name " << it->name
<< " domain " << it->domain;

View File

@ -168,7 +168,7 @@ std::pair<bool, RTSPSSource> RTSPClient::describe(const std::string& path,
success = true;
} catch (std::exception& e) {
BOOST_LOG_TRIVIAL(error)
BOOST_LOG_TRIVIAL(warning)
<< "rtsp_client:: error with "
<< "rtsp://" << address << ":" << port << path << ": " << e.what();
}