Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Theora: Fix get_playback_position when using video delay
  • Loading branch information
berarma committed Jul 17, 2025
commit 6776bbe61c7e57c5410c1e119374a5b52321bb44
4 changes: 3 additions & 1 deletion modules/theora/video_stream_theora.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,10 +644,12 @@ double VideoStreamPlaybackTheora::get_length() const {
}

double VideoStreamPlaybackTheora::get_playback_position() const {
return get_time();
return time;
}

void VideoStreamPlaybackTheora::seek(double p_time) {
ERR_FAIL_COND(p_time < 0.0);

if (file.is_null()) {
return;
}
Expand Down
Loading