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
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,15 @@ void MediaPlayerPrivateGStreamerMSE::updateStates()
}
}

if (m_isEndReached) {
// m_isEndReached always makes HTMLMediaElement think playback is paused,
// despite the actual pipeline state. Notifying playback state change
// here would sync HTMLMediaElement state to paused while the pipeline
// could be in PLAYING state. That could effectively pause the pipeline
// without any pause request from the user.
shouldUpdatePlaybackState = false;
}

if (!shouldUpdatePlaybackState)
return;

Expand Down