Commit 44f4e113 authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Merge branch 'master' of git.linphone.org:mediastreamer2

parents 95ed55b7 e1beea6f
#define GIT_VERSION "2.8.2"
......@@ -248,6 +248,10 @@ static int video_set_native_preview_window(MSFilter *f, void *arg) {
} else {
ms_message("Preview capture window set but camera not created yet; remembering it for later use\n");
}
if (d->previewWindow) {
ms_message("Deleting previous preview window %p", d->previewWindow);
env->DeleteGlobalRef(d->previewWindow);
}
d->previewWindow = w;
ms_mutex_unlock(&d->mutex);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment