You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeking across an audio track in a MediaSource using the UI slider will result in playback continuing from that point.
Current Behavior
Using the seeking slider with a MediaSource results in the media source reseting playback (going back to the beginning if set to loop, otherwise stopping).
Steps to Reproduce
Add a Media Source to the scene.
Select an audio track from your computer.
Begin Playback.
attempt to move the current timestamp somewhere else in the track.
Anything else we should know?
If you attempt to seek in the Media Source, seekto() will be called in the mp_media_thread (media.c)
When seekto is called it flushes the audio decoder with mp_decoder_flush(), this sets the frame_ready status of the audio decoder to false. On the next tick of the main thread mp_media_eof will be called and determine that it has reached EOF (!a.frame_ready). Given that it believes it has reached EOF, mp_media_eof stops playback or loops the playback.
The text was updated successfully, but these errors were encountered:
Operating System Info
Other
Other OS
Linux Mint 22.1 x86_64
OBS Studio Version
31.0.1
OBS Studio Version (Other)
built from master (currently 80ea1b1)
OBS Studio Log URL
https://obsproject.com/logs/di8c9SeMOZc6UNAD
OBS Studio Crash Log URL
No response
Expected Behavior
Seeking across an audio track in a MediaSource using the UI slider will result in playback continuing from that point.
Current Behavior
Using the seeking slider with a MediaSource results in the media source reseting playback (going back to the beginning if set to loop, otherwise stopping).
Steps to Reproduce
Anything else we should know?
If you attempt to seek in the Media Source, seekto() will be called in the mp_media_thread (media.c)
When seekto is called it flushes the audio decoder with mp_decoder_flush(), this sets the frame_ready status of the audio decoder to false. On the next tick of the main thread mp_media_eof will be called and determine that it has reached EOF (!a.frame_ready). Given that it believes it has reached EOF, mp_media_eof stops playback or loops the playback.
The text was updated successfully, but these errors were encountered: