From f780c13852be53e3649993d4527a7630ac847078 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 14 Sep 2012 16:08:37 +0200 Subject: [PATCH] Add missing fix --- gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c b/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c index 7496a2a948..5e88d2a3bc 100755 --- a/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c +++ b/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c @@ -291,7 +291,7 @@ void gst_native_surface_init (JNIEnv *env, jobject thiz, jobject surface) { data->native_window = ANativeWindow_fromSurface(env, surface); GST_DEBUG ("Got Native Window %p", data->native_window); - gst_x_overlay_set_window_handle (GST_X_OVERLAY (data->pipeline), (guintptr)data->native_window); + gst_x_overlay_set_window_handle (GST_X_OVERLAY (data->vsink), (guintptr)data->native_window); } void gst_native_surface_finalize (JNIEnv *env, jobject thiz) {