Bug 1440255 - Remove tabs from VideoCaptureAndroid. r=dminor

MozReview-Commit-ID: Ga3TgD9J030

--HG--
extra : rebase_source : d8edb95a541ecfb9ee391f03c5484f92865a2e2d
This commit is contained in:
Andreas Pehrson 2018-04-05 12:03:12 +02:00
Родитель 74e4bc1164
Коммит 14c26e7086
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -162,11 +162,11 @@ public class VideoCaptureAndroid implements PreviewCallback, Callback {
localPreview.addCallback(this);
if (localPreview.getSurface() != null &&
localPreview.getSurface().isValid()) {
try {
camera.setPreviewDisplay(localPreview);
} catch (IOException e) {
throw new RuntimeException(e);
}
try {
camera.setPreviewDisplay(localPreview);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
} else {
// No local renderer (we only care about onPreviewFrame() buffers, not a