Surface doens't have an identity anymore
Change-Id: Ic62c0f6ba9aae9b67335a2029a5de1caa3fc5b94
This commit is contained in:
@@ -326,7 +326,7 @@ android_media_MediaRecorder_prepare(JNIEnv *env, jobject thiz)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALOGI("prepare: surface=%p (identity=%d)", native_surface.get(), native_surface->getIdentity());
|
ALOGI("prepare: surface=%p", native_surface.get());
|
||||||
if (process_media_recorder_call(env, mr->setPreviewSurface(native_surface), "java/lang/RuntimeException", "setPreviewSurface failed.")) {
|
if (process_media_recorder_call(env, mr->setPreviewSurface(native_surface), "java/lang/RuntimeException", "setPreviewSurface failed.")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user