mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1440255 - Remove tabs from VideoCaptureAndroid. r=dminor
MozReview-Commit-ID: Ga3TgD9J030 --HG-- extra : rebase_source : d8edb95a541ecfb9ee391f03c5484f92865a2e2d
This commit is contained in:
parent
74e4bc1164
commit
14c26e7086
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user