Includes, comments and bugfixes

- Fix includes
- Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album
- Remove Disc/CD from album when creating hash
- Make imobiledevice support compile
- Fix setting device on windows
This commit is contained in:
Jonas Kvinge
2018-05-01 00:41:33 +02:00
parent fccbd6790c
commit e337b7933b
518 changed files with 7003 additions and 4693 deletions

View File

@@ -18,14 +18,15 @@
*
*/
#ifndef GSTBINDELETER_H
#define GSTBINDELETER_H
#ifndef GSTELEMENTDELETER_H
#define GSTELEMENTDELETER_H
#include "config.h"
#include <gst/gst.h>
#include <QObject>
#include <QString>
class GstElementDeleter : public QObject {
Q_OBJECT
@@ -33,16 +34,14 @@ class GstElementDeleter : public QObject {
public:
GstElementDeleter(QObject *parent = nullptr);
// If you call this function with any gstreamer element, the element will get
// deleted in the main thread. This is useful if you need to delete an
// element from its own callback.
// It's in a separate object so *your* object (GstEnginePipeline) can be
// destroyed, and the element that you scheduled for deletion is still
// deleted later regardless.
// If you call this function with any gstreamer element, the element will get deleted in the main thread.
// This is useful if you need to delete an element from its own callback.
// It's in a separate object so *your* object (GstEnginePipeline) can be destroyed,
// and the element that you scheduled for deletion is still deleted later regardless.
void DeleteElementLater(GstElement *element);
private slots:
void DeleteElement(GstElement *element);
};
#endif // GSTBINDELETER_H
#endif // GSTELEMENTDELETER_H