mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
Remove the 'fix' for successive orientation changes moving the clip slowly back in time, as it does not work.
This commit is contained in:
parent
387de5544c
commit
73c3dbf35b
1 changed files with 1 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue