Skip to content

Commit

Permalink
Fix build without pipewire
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Jun 6, 2022
1 parent f43aaa5 commit e5c89d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webrtc/webrtc_media_devices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ std::optional<QString> UniqueDesktopCaptureSource() {
}

bool InitPipewireStubs() {
#ifdef WEBRTC_LINUX
#ifdef WEBRTC_USE_PIPEWIRE
return webrtc::InitPipewireStubs();
#else // WEBRTC_LINUX
#else // WEBRTC_USE_PIPEWIRE
return true;
#endif // WEBRTC_LINUX
#endif // WEBRTC_USE_PIPEWIRE
}

} // namespace Webrtc

0 comments on commit e5c89d2

Please sign in to comment.