summaryrefslogtreecommitdiff
path: root/playback/player/qt/qgstplayer.cpp
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-10-23 21:54:05 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-10-23 21:54:05 +0300
commit13156a713d8fc9d9ce6b0742d188e0d258ee9217 (patch)
tree1ef891532b8f45759762dd0256c13aacc441ae55 /playback/player/qt/qgstplayer.cpp
parentc8d7277d70378affb9096544f3b3edaa87fcf2c3 (diff)
playback/player: qt: Fix -Wunused-variable compiler warnings
Diffstat (limited to 'playback/player/qt/qgstplayer.cpp')
-rw-r--r--playback/player/qt/qgstplayer.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/playback/player/qt/qgstplayer.cpp b/playback/player/qt/qgstplayer.cpp
index e6fc476..1dadfa8 100644
--- a/playback/player/qt/qgstplayer.cpp
+++ b/playback/player/qt/qgstplayer.cpp
@@ -626,8 +626,6 @@ gst_player_qt_video_renderer_get_property (GObject * object,
static void
gst_player_qt_video_renderer_finalize (GObject * object)
{
- GstPlayerQtVideoRenderer *self = GST_PLAYER_QT_VIDEO_RENDERER (object);
-
G_OBJECT_CLASS
(gst_player_qt_video_renderer_parent_class)->finalize(object);
}
@@ -655,14 +653,14 @@ gst_player_qt_video_renderer_class_init
}
static void
-gst_player_qt_video_renderer_init (GstPlayerQtVideoRenderer * self)
+gst_player_qt_video_renderer_init (G_GNUC_UNUSED GstPlayerQtVideoRenderer * self)
{
}
static GstElement *
gst_player_qt_video_renderer_create_video_sink
- (GstPlayerVideoRenderer * iface, GstPlayer *player)
+ (GstPlayerVideoRenderer * iface, G_GNUC_UNUSED GstPlayer *player)
{
GstPlayerQtVideoRenderer *self = GST_PLAYER_QT_VIDEO_RENDERER (iface);
@@ -713,9 +711,6 @@ static GParamSpec
static void
gst_player_qt_signal_dispatcher_finalize (GObject * object)
{
- GstPlayerQtSignalDispatcher *self =
- GST_PLAYER_QT_SIGNAL_DISPATCHER (object);
-
G_OBJECT_CLASS
(gst_player_qt_signal_dispatcher_parent_class)->finalize
(object);
@@ -780,14 +775,14 @@ static void
static void
gst_player_qt_signal_dispatcher_init
- (GstPlayerQtSignalDispatcher * self)
+ (G_GNUC_UNUSED GstPlayerQtSignalDispatcher * self)
{
}
static void
gst_player_qt_signal_dispatcher_dispatch (GstPlayerSignalDispatcher
- * iface, GstPlayer * player, void (*emitter) (gpointer data), gpointer data,
+ * iface, G_GNUC_UNUSED GstPlayer * player, void (*emitter) (gpointer data), gpointer data,
GDestroyNotify destroy)
{
GstPlayerQtSignalDispatcher *self = GST_PLAYER_QT_SIGNAL_DISPATCHER (iface);