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