From 73c3dbf35bbb1b0e7b09db420a253c0dd57955ef Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 26 Oct 2012 14:50:45 +0200 Subject: [PATCH] Remove the 'fix' for successive orientation changes moving the clip slowly back in time, as it does not work. --- .../src/com/gst_sdk_tutorials/tutorial_4/Tutorial4.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gst-sdk/tutorials/android-tutorial-4/src/com/gst_sdk_tutorials/tutorial_4/Tutorial4.java b/gst-sdk/tutorials/android-tutorial-4/src/com/gst_sdk_tutorials/tutorial_4/Tutorial4.java index b026ef0a86..2b8c11d72d 100644 --- a/gst-sdk/tutorials/android-tutorial-4/src/com/gst_sdk_tutorials/tutorial_4/Tutorial4.java +++ b/gst-sdk/tutorials/android-tutorial-4/src/com/gst_sdk_tutorials/tutorial_4/Tutorial4.java @@ -142,11 +142,7 @@ public class Tutorial4 extends Activity implements SurfaceHolder.Callback, OnSee // Restore previous playing state setMediaUri (); - // Actually, move to one millisecond in the future. Otherwise, due to rounding errors between the - // milliseconds used here and the nanoseconds used by GStreamer, we would be jumping a bit behind - // where we were before. This, combined with seeking to keyframe positions, would skip one keyframe - // backwards on each iteration. - nativeSetPosition (position + 1); + nativeSetPosition (position); if (is_playing_desired) { nativePlay(); } else {