mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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
|
// Restore previous playing state
|
||||||
setMediaUri ();
|
setMediaUri ();
|
||||||
// Actually, move to one millisecond in the future. Otherwise, due to rounding errors between the
|
nativeSetPosition (position);
|
||||||
// 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);
|
|
||||||
if (is_playing_desired) {
|
if (is_playing_desired) {
|
||||||
nativePlay();
|
nativePlay();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue