Add missing fix
authorXavi Artigas <xartigas@fluendo.com>
Fri, 14 Sep 2012 14:08:37 +0000 (16:08 +0200)
committerXavi Artigas <xartigas@fluendo.com>
Fri, 14 Sep 2012 14:08:37 +0000 (16:08 +0200)
gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c

index 7496a2a..5e88d2a 100755 (executable)
@@ -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) {