-
Bug
-
Resolution: Fixed
-
P3
-
jfx20, 8u301
ADDITIONAL SYSTEM INFORMATION :
Fedora Linux 6.2.15, PipeWire 0.3.70, Eclipse Temurin 20.0.1, javafx-media 20-ea+4 (also affects JFX 17), platform is using GSTMediaPlayer
A DESCRIPTION OF THE PROBLEM :
When using MediaPlayer and AudioClip to loop played tracks, or when seeking backwards, audio starts playing again farther from the requested starting point.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Use MediaPlayer/AudioClip to load an audio file (I've tried mp3 and wav)
2. Either use setCycleCount to have the audio loop, register an endOnMedia listener to seek back to ZERO, optionally set startTime/endTime to edit loop settings
3. Play the media/clip
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When looping, playback resumes from the start, or from the set point
ACTUAL -
When looping, playback resumes at ~500ms after start or the set point
---------- BEGIN SOURCE ----------
<link>, also includes a test audio file. Use either "normal", "clip", "startstop", or "pause" as a program argument.
---------- END SOURCE ----------
FREQUENCY : always
Fedora Linux 6.2.15, PipeWire 0.3.70, Eclipse Temurin 20.0.1, javafx-media 20-ea+4 (also affects JFX 17), platform is using GSTMediaPlayer
A DESCRIPTION OF THE PROBLEM :
When using MediaPlayer and AudioClip to loop played tracks, or when seeking backwards, audio starts playing again farther from the requested starting point.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Use MediaPlayer/AudioClip to load an audio file (I've tried mp3 and wav)
2. Either use setCycleCount to have the audio loop, register an endOnMedia listener to seek back to ZERO, optionally set startTime/endTime to edit loop settings
3. Play the media/clip
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When looping, playback resumes from the start, or from the set point
ACTUAL -
When looping, playback resumes at ~500ms after start or the set point
---------- BEGIN SOURCE ----------
<link>, also includes a test audio file. Use either "normal", "clip", "startstop", or "pause" as a program argument.
---------- END SOURCE ----------
FREQUENCY : always
- relates to
-
JDK-8262365 Update GStreamer to version 1.18.3
- Resolved