mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Fix bad format string
This commit is contained in:
parent
ed46a06a76
commit
28ff6fa484
1 changed files with 1 additions and 2 deletions
|
@ -157,8 +157,7 @@ removeDevice(T &sources, GstDevice *device, bool changed)
|
|||
if (auto it = std::find_if(
|
||||
sources.begin(), sources.end(), [device](const auto &s) { return s.device == device; });
|
||||
it != sources.end()) {
|
||||
nhlog::ui()->debug(
|
||||
std::string("WebRTC: device ") + (changed ? "changed: " : "removed: ") + "{}", it->name);
|
||||
nhlog::ui()->debug("WebRTC: device {}: {}", (changed ? "changed" : "removed"), it->name);
|
||||
gst_object_unref(device);
|
||||
sources.erase(it);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue