diff --git a/es-app/src/views/SystemView.cpp b/es-app/src/views/SystemView.cpp index 04fcb77b2..133f1ad72 100644 --- a/es-app/src/views/SystemView.cpp +++ b/es-app/src/views/SystemView.cpp @@ -235,6 +235,11 @@ void SystemView::onCursorChanged(const CursorState& state) } } + if (mLastCursor >= 0 && mLastCursor <= static_cast(mSystemElements.size())) { + for (auto& video : mSystemElements[mLastCursor].videoComponents) + video->stopVideoPlayer(); + } + mLastCursor = cursor; for (auto& video : mSystemElements[cursor].videoComponents)