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 17:45:44 +00:00
parent 7aeb1d4587
commit 00d7f5c760
6 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2006-02-03 Edgard Lima <edgard.lima@indt.org.br>
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggparse.c:
* gst/tcp/gsttcpserversink.c:
* sys/v4l/v4lsrc_calls.c:
* sys/v4l/v4lsrc_calls.h:
Just make it compile with --disable-gst-debug.
2006-02-03 Wim Taymans <wim@fluendo.com>
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),

View file

@ -620,7 +620,10 @@ gst_ogg_pad_typefind (GstOggPad * pad, ogg_packet * packet)
{
GstCaps *caps;
GstElement *element = NULL;
#ifndef GST_DISABLE_GST_DEBUG
GstOggDemux *ogg = pad->ogg;
#endif
if (GST_PAD_CAPS (pad) != NULL)
return TRUE;
@ -699,7 +702,10 @@ gst_ogg_demux_chain_elem_pad (GstOggPad * pad, ogg_packet * packet)
{
GstBuffer *buf;
GstFlowReturn ret;
#ifndef GST_DISABLE_GST_DEBUG
GstOggDemux *ogg = pad->ogg;
#endif
/* initialize our internal decoder with packets */
if (!pad->elem_pad)
@ -737,7 +743,10 @@ static GstFlowReturn
gst_ogg_demux_queue_data (GstOggPad * pad, ogg_packet * packet)
{
GstBuffer *buf;
#ifndef GST_DISABLE_GST_DEBUG
GstOggDemux *ogg = pad->ogg;
#endif
GST_DEBUG_OBJECT (ogg, "%p queueing data serial %08lx", pad, pad->serialno);

View file

@ -390,8 +390,10 @@ gst_ogg_parse_chain (GstPad * pad, GstBuffer * buffer)
/* discontinuity; track how many bytes we skipped (-ret) */
ogg->offset -= ret;
} else {
#ifndef GST_DISABLE_GST_DEBUG
gint64 granule = ogg_page_granulepos (&page);
int bos = ogg_page_bos (&page);
#endif
guint64 startoffset = ogg->offset;
GST_LOG_OBJECT (ogg, "Timestamping outgoing buffer as %" GST_TIME_FORMAT,

View file

@ -170,7 +170,9 @@ gst_tcp_server_sink_handle_server_read (GstTCPServerSink * sink)
static void
gst_tcp_server_sink_removed (GstMultiFdSink * sink, int fd)
{
#ifndef GST_DISABLE_GST_DEBUG
GstTCPServerSink *this = GST_TCP_SERVER_SINK (sink);
#endif
GST_LOG_OBJECT (this, "closing fd %d", fd);
if (close (fd) < 0) {

View file

@ -494,11 +494,13 @@ gst_v4lsrc_try_capture (GstV4lSrc * v4lsrc, gint width, gint height,
return TRUE;
}
#ifndef GST_DISABLE_GST_DEBUG
const char *
gst_v4lsrc_palette_name (int i)
{
return v4l_palette_name[i];
}
#endif
gboolean
gst_v4lsrc_get_fps (GstV4lSrc * v4lsrc, gint * fps_n, gint * fps_d)

View file

@ -47,7 +47,9 @@ GstBuffer *gst_v4lsrc_buffer_new (GstV4lSrc * v4lsrc, gint num);
gboolean gst_v4lsrc_try_capture (GstV4lSrc *v4lsrc, gint width, gint height, gint palette);
/* For debug purposes, share the palette names */
#ifndef GST_DISABLE_GST_DEBUG
const char *gst_v4lsrc_palette_name (int i);
#endif
G_END_DECLS