summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-02-03 18:07:35 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-02-03 18:07:35 +0000
commit789a7b20ac383214965b2a71c64c057ef1797f97 (patch)
treef83304f4b9198bc67c6104dacb7bd969ec3cd97b
parent7ddee515d2efea12de1a2ba050b39ca2f9488c0a (diff)
Just make it compile with --disable-gst-debug.
Original commit message from CVS: Just make it compile with --disable-gst-debug.
-rw-r--r--ChangeLog6
-rw-r--r--ext/flac/gstflacenc.c2
-rw-r--r--gst/matroska/ebml-read.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a4768e1..0ef020dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-03 Edgard Lima <edgard.lima@indt.org.br>
+
+ * ext/flac/gstflacenc.c:
+ * gst/matroska/ebml-read.c:
+ Just make it compile with --disable-gst-debug.
+
2006-02-03 Jan Schmidt <thaytan@mad.scientist.com>
* gst/id3demux/id3v2frames.c: (parse_text_identification_frame),
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);
diff --git a/gst/matroska/ebml-read.c b/gst/matroska/ebml-read.c
index db8606aa..ce11b906 100644
--- a/gst/matroska/ebml-read.c
+++ b/gst/matroska/ebml-read.c
@@ -609,7 +609,10 @@ gboolean
gst_ebml_read_utf8 (GstEbmlRead * ebml, guint32 * id, gchar ** str)
{
gboolean ret;
+
+#ifndef GST_DISABLE_GST_DEBUG
guint64 oldoff = ebml->offset;
+#endif
ret = gst_ebml_read_ascii (ebml, id, str);