summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flac/gstflacenc.c')
-rw-r--r--ext/flac/gstflacenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 9a33104d..d6c1e8de 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -509,7 +509,9 @@ gst_flac_enc_seek_callback (const FLAC__SeekableStreamEncoder * encoder,
absolute_byte_offset, GST_BUFFER_OFFSET_NONE, 0);
if ((peerpad = gst_pad_get_peer (flacenc->srcpad))) {
+#ifndef GST_DISABLE_GST_DEBUG
gboolean ret = gst_pad_send_event (peerpad, event);
+#endif
gst_object_unref (peerpad);