mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1891709 - Don't warn when failing to set the stream name when using a backend in which it's not supported. r=media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D207543
This commit is contained in:
parent
ad23630d00
commit
89391d0f42
@ -316,7 +316,8 @@ void AudioStream::SetStreamName(const nsAString& aStreamName) {
|
||||
}
|
||||
|
||||
MonitorAutoLock mon(mMonitor);
|
||||
if (InvokeCubeb(cubeb_stream_set_name, aRawStreamName.get()) != CUBEB_OK) {
|
||||
int r = InvokeCubeb(cubeb_stream_set_name, aRawStreamName.get());
|
||||
if (r && r != CUBEB_ERROR_NOT_SUPPORTED) {
|
||||
LOGE("Could not set cubeb stream name.");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user