mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Stop pipeline before replacing playlist
This commit is contained in:
@@ -110,6 +110,9 @@ class ClapperPlayer extends PlayerBase
|
|||||||
|
|
||||||
set_playlist(playlist)
|
set_playlist(playlist)
|
||||||
{
|
{
|
||||||
|
if(this.state !== GstClapper.ClapperState.STOPPED)
|
||||||
|
this.stop();
|
||||||
|
|
||||||
this.playlistWidget.removeAll();
|
this.playlistWidget.removeAll();
|
||||||
this.canAutoFullscreen = true;
|
this.canAutoFullscreen = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user