Commit 42ddf896 authored by Francois Beaufort's avatar Francois Beaufort Committed by Commit Bot

Show N/A when camera doesn't support PTZ in media-internals

This CL makes sure user sees something in the "Pan-Tilt-Zoom" column
when camera doesn't support PTZ in about:media-internals page.

Bug: 934063
Change-Id: Iaabfcaa0da3a2a89e30b7bc33742fba425a4f942
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445153
Auto-Submit: François Beaufort <beaufort.francois@gmail.com>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813337}
parent e9263549
......@@ -207,7 +207,7 @@ var Manager = (function() {
videoCaptureCapabilities[i]['formats'][j]);
}
videoCaptureCapabilities[i]['controlSupport'] =
videoCaptureCapabilities[i]['controlSupport'].join(' ');
videoCaptureCapabilities[i]['controlSupport'].join(' ') || 'N/A';
}
// The keys of each device to be shown in order of appearance.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment