Formatting
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
|
||||
MoodbarController::MoodbarController(Application *app, QObject *parent)
|
||||
: QObject(parent),
|
||||
app_(app),
|
||||
enabled_(false) {
|
||||
app_(app),
|
||||
enabled_(false) {
|
||||
|
||||
QObject::connect(app_->playlist_manager(), &PlaylistManager::CurrentSongChanged, this, &MoodbarController::CurrentSongChanged);
|
||||
QObject::connect(app_->player(), &Player::Stopped, this, &MoodbarController::PlaybackStopped);
|
||||
|
||||
@@ -224,7 +224,7 @@ void MoodbarPipeline::Cleanup() {
|
||||
GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(pipeline_));
|
||||
gst_bus_set_sync_handler(bus, nullptr, nullptr, nullptr);
|
||||
gst_object_unref(bus);
|
||||
|
||||
|
||||
gst_element_set_state(pipeline_, GST_STATE_NULL);
|
||||
gst_object_unref(pipeline_);
|
||||
pipeline_ = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user