Loading cmds/stagefright/stream.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -374,7 +374,7 @@ int main(int argc, char **argv) { service->create(client, 0); if (player != NULL && player->setDataSource(source) == NO_ERROR) { player->setVideoSurfaceTexture(surface->getISurfaceTexture()); player->setVideoSurfaceTexture(surface->getIGraphicBufferProducer()); player->start(); client->waitForEOS(); Loading services/camera/libcameraservice/Camera2Client.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,7 @@ status_t Camera2Client::setPreviewDisplay( sp<IBinder> binder; sp<ANativeWindow> window; if (surface != 0) { binder = surface->getISurfaceTexture()->asBinder(); binder = surface->getIGraphicBufferProducer()->asBinder(); window = surface; } Loading services/camera/libcameraservice/CameraClient.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -301,7 +301,7 @@ status_t CameraClient::setPreviewWindow(const sp<IBinder>& binder, status_t CameraClient::setPreviewDisplay(const sp<Surface>& surface) { LOG1("setPreviewDisplay(%p) (pid %d)", surface.get(), getCallingPid()); sp<IBinder> binder(surface != 0 ? surface->getISurfaceTexture()->asBinder() : 0); sp<IBinder> binder(surface != 0 ? surface->getIGraphicBufferProducer()->asBinder() : 0); sp<ANativeWindow> window(surface); return setPreviewWindow(binder, window); } Loading Loading
cmds/stagefright/stream.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -374,7 +374,7 @@ int main(int argc, char **argv) { service->create(client, 0); if (player != NULL && player->setDataSource(source) == NO_ERROR) { player->setVideoSurfaceTexture(surface->getISurfaceTexture()); player->setVideoSurfaceTexture(surface->getIGraphicBufferProducer()); player->start(); client->waitForEOS(); Loading
services/camera/libcameraservice/Camera2Client.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,7 @@ status_t Camera2Client::setPreviewDisplay( sp<IBinder> binder; sp<ANativeWindow> window; if (surface != 0) { binder = surface->getISurfaceTexture()->asBinder(); binder = surface->getIGraphicBufferProducer()->asBinder(); window = surface; } Loading
services/camera/libcameraservice/CameraClient.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -301,7 +301,7 @@ status_t CameraClient::setPreviewWindow(const sp<IBinder>& binder, status_t CameraClient::setPreviewDisplay(const sp<Surface>& surface) { LOG1("setPreviewDisplay(%p) (pid %d)", surface.get(), getCallingPid()); sp<IBinder> binder(surface != 0 ? surface->getISurfaceTexture()->asBinder() : 0); sp<IBinder> binder(surface != 0 ? surface->getIGraphicBufferProducer()->asBinder() : 0); sp<ANativeWindow> window(surface); return setPreviewWindow(binder, window); } Loading