зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1129858 - Get the local preview surface (line dropped during merge). r=jesup
This commit is contained in:
Родитель
e8ec6fb3c4
Коммит
58eb5e24e0
|
@ -206,6 +206,7 @@ public class VideoCaptureAndroid implements PreviewCallback, Callback, AppStateL
|
|||
camera = Camera.open();
|
||||
}
|
||||
|
||||
localPreview = ViERenderer.GetLocalRenderer();
|
||||
if (localPreview != null) {
|
||||
localPreview.addCallback(this);
|
||||
if (localPreview.getSurface() != null &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче