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 2d961d89df..d13532f251 100755 --- a/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c +++ b/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c @@ -342,10 +342,10 @@ void gst_native_set_position (JNIEnv* env, jobject thiz, int milliseconds) { if (!data) return; gint64 desired_position = (gint64)(milliseconds * GST_MSECOND); if (data->state == GST_STATE_PLAYING || data->state == GST_STATE_PAUSED) { - execute_seek(desired_position, data); + execute_seek(desired_position, data); } else { - GST_DEBUG ("Scheduling seek to %d milliseconds for later", milliseconds); - data->desired_position = desired_position; + GST_DEBUG ("Scheduling seek to %d milliseconds for later", milliseconds); + data->desired_position = desired_position; } }