summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2014-04-13 21:02:48 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2014-05-03 22:31:37 +0300
commit84ca350eb0144174f314d187685ec26aabea1960 (patch)
tree28717ed30ddc01bf1d6aa272921922e60e22218c
parent3e31c5b01e5b723be86933ffb9d79765fde0b45c (diff)
QGst/taglist: cleanup header includes and move sample.h include to the .c file
In qt-gstreamer in general I have avoided so far to include many things in the headers in order to minimize compilation time for the users of those headers. Let's not change that here.
-rw-r--r--src/QGst/taglist.cpp3
-rw-r--r--src/QGst/taglist.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/QGst/taglist.cpp b/src/QGst/taglist.cpp
index 459ef15..caaf814 100644
--- a/src/QGst/taglist.cpp
+++ b/src/QGst/taglist.cpp
@@ -18,13 +18,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "taglist.h"
+#include "sample.h"
#include "../QGlib/string_p.h"
#include <gst/gsttaglist.h>
#include <gst/gstvalue.h>
-//#include <gst/gstdatetime.h>
#include <QtCore/QDebug>
#include <QtCore/QDate>
-#include <QGst/Buffer>
namespace QGst {
diff --git a/src/QGst/taglist.h b/src/QGst/taglist.h
index 1e37557..0c517fa 100644
--- a/src/QGst/taglist.h
+++ b/src/QGst/taglist.h
@@ -19,7 +19,6 @@
#define QGST_TAGLIST_H
#include "global.h"
-#include "sample.h"
#include "../QGlib/type.h"
#include "../QGlib/value.h"
#include <QtCore/QString>