diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-05-06 15:40:01 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-05-12 19:46:58 +0200 |
commit | 470f0b988bd10f726fe2f5e9acb6c61f179be352 (patch) | |
tree | 9d82fab62c0d3a6960c252f29827820cad93e405 /src/core/media_capture_devices_dispatcher.cpp | |
parent | d240e6647d48a87db324973e649c2b0aea5a6857 (diff) |
Remove NOTIMPLEMENTED from MediaStreamUIQt::OnDeviceStopped
NOTIMPLEMENTED triggers an assert on Windows and OnDeviceStopped gets called.
This function is also left empty for non-chromeos platforms in Chromium.
Change-Id: I86c3fa0de6138ca374d4ec2c3d11270551fd3d71
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/media_capture_devices_dispatcher.cpp')
-rw-r--r-- | src/core/media_capture_devices_dispatcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/media_capture_devices_dispatcher.cpp b/src/core/media_capture_devices_dispatcher.cpp index 3a1c20718..1b7cf5855 100644 --- a/src/core/media_capture_devices_dispatcher.cpp +++ b/src/core/media_capture_devices_dispatcher.cpp @@ -277,7 +277,8 @@ private: } void OnDeviceStopped(const std::string &label, const content::DesktopMediaID &media_id) override { - NOTIMPLEMENTED(); + Q_UNUSED(label); + Q_UNUSED(media_id); } void SetStopCallback(base::OnceClosure stop) override |