Just make it compile with --disable-gst-debug.
authorEdgard Lima <edgard.lima@indt.org.br>
Fri, 3 Feb 2006 18:39:38 +0000 (18:39 +0000)
committerEdgard Lima <edgard.lima@indt.org.br>
Fri, 3 Feb 2006 18:39:38 +0000 (18:39 +0000)
Original commit message from CVS:
Just make it compile with --disable-gst-debug.

ChangeLog
common
ext/ffmpeg/gstffmpegenc.c

index e10fa1b..135cc8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-03  Edgard Lima <edgard.lima@indt.org.br>
+
+        * ext/ffmpeg/gstffmpegenc.c:
+        Just make it compile with --disable-gst-debug.
+                       
 2006-02-02  Andy Wingo  <wingo@pobox.com>
 
        * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
diff --git a/common b/common
index 1140eab..79d67fe 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1
+Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea
index cb76c3d..21257b1 100644 (file)
@@ -335,7 +335,9 @@ gst_ffmpegenc_getcaps (GstPad * pad)
     * instances/threads/..., one could investigate if there is a way to
     * set this as a struct member on the av context, and check it from the
     * log handler */
+#ifndef GST_DISABLE_GST_DEBUG
   _shut_up_I_am_probing = TRUE;
+#endif
   for (pixfmt = 0; pixfmt < PIX_FMT_NB; pixfmt++) {
     ctx->pix_fmt = pixfmt;
     if (gst_ffmpeg_avcodec_open (ctx, oclass->in_plugin) >= 0 &&
@@ -351,7 +353,9 @@ gst_ffmpegenc_getcaps (GstPad * pad)
       gst_ffmpeg_avcodec_close (ctx);
   }
   av_free (ctx);
+#ifndef GST_DISABLE_GST_DEBUG
   _shut_up_I_am_probing = FALSE;
+#endif
 
   /* make sure we have something */
   if (!caps) {