Just make it compile with --disable-gst-debug.

Original commit message from CVS:
Just make it compile with --disable-gst-debug.
This commit is contained in:
Edgard Lima 2006-02-03 18:39:38 +00:00
parent e8911c0b5f
commit c161d30d87
3 changed files with 10 additions and 1 deletions

View file

@ -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

2
common

@ -1 +1 @@
Subproject commit 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1
Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea

View 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) {