summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xartigas@fluendo.com>2012-10-26 12:50:45 (GMT)
committerXavi Artigas <xartigas@fluendo.com>2012-10-26 12:50:45 (GMT)
commit73c3dbf35bbb1b0e7b09db420a253c0dd57955ef (patch)
tree007ac7a322d37190664c7bd3c841e9328b31ab01
parent387de5544c0bfe28cd75e8a40acdb5f472895f00 (diff)
downloadgst-sdk-tutorials-73c3dbf35bbb1b0e7b09db420a253c0dd57955ef.tar.gz
gst-sdk-tutorials-73c3dbf35bbb1b0e7b09db420a253c0dd57955ef.tar.xz
Remove the 'fix' for successive orientation changes moving the clip slowly back in time, as it does not work.
-rw-r--r--gst-sdk/tutorials/android-tutorial-4/src/com/gst_sdk_tutorials/tutorial_4/Tutorial4.java6
1 files changed, 1 insertions, 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 b026ef0..2b8c11d 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 {