summaryrefslogtreecommitdiffstats
path: root/ext/apexsink
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 16:21:28 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 16:21:28 +0100
commit6eb167a17698506fc08f47594e133fa4e44afd3e (patch)
tree8a042362aa7f2c60cf5f39070a4d8c0cd713926a /ext/apexsink
parent29aa30d9a05bf6c408160de108f2486a0c08bd48 (diff)
downloadgst-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.tar.gz
gst-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.tar.bz2
gst-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.zip
Make build without warnings with debugging disabled
Diffstat (limited to 'ext/apexsink')
-rw-r--r--ext/apexsink/gstapexsink.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/apexsink/gstapexsink.c b/ext/apexsink/gstapexsink.c
index 425308d4..69f34bcb 100644
--- a/ext/apexsink/gstapexsink.c
+++ b/ext/apexsink/gstapexsink.c
@@ -523,9 +523,7 @@ gst_apexsink_write (GstAudioSink * asink, gpointer data, guint length)
static gboolean
gst_apexsink_unprepare (GstAudioSink * asink)
{
- GstApExSink *apexsink = (GstApExSink *) asink;
-
- GST_INFO_OBJECT (apexsink, "UNPREPARE");
+ GST_INFO_OBJECT (asink, "UNPREPARE");
return TRUE;
}
@@ -534,9 +532,7 @@ gst_apexsink_unprepare (GstAudioSink * asink)
static guint
gst_apexsink_delay (GstAudioSink * asink)
{
- GstApExSink *apexsink = (GstApExSink *) asink;
-
- GST_INFO_OBJECT (apexsink, "DELAY");
+ GST_LOG_OBJECT (asink, "DELAY");
return 0;
}