diff --git a/win-linux/src/components/asctabwidget.cpp b/win-linux/src/components/asctabwidget.cpp index 173944330..73b0b5c14 100644 --- a/win-linux/src/components/asctabwidget.cpp +++ b/win-linux/src/components/asctabwidget.cpp @@ -1203,6 +1203,15 @@ void CAscTabWidget::setFullScreen(bool apply, int id) fsWidget = qobject_cast(m_dataFullScreen->widget()); widget(index)->layout()->addWidget(fsWidget); + // TODO: remove after switching to libVLC libraries on Linux +#ifdef _LINUX + QCefView* cef_media_view = this->findChild(); + if (cef_media_view) + { + cef_media_view->OnMediaEnd(); + } +#endif + RELEASEOBJECT(m_dataFullScreen->parent) RELEASEOBJECT(m_dataFullScreen) // updateGeometry();