Bug 1129858 - Get the local preview surface (line dropped during merge). r=jesup

This commit is contained in:
Gian-Carlo Pascutto 2015-02-05 18:24:02 +01:00
parent a466801c61
commit 25d94694e9

View File

@ -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 &&