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:
parent
7aeb1d4587
commit
00d7f5c760
@ -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>
|
2006-02-03 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
|
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
|
||||||
|
@ -620,7 +620,10 @@ gst_ogg_pad_typefind (GstOggPad * pad, ogg_packet * packet)
|
|||||||
{
|
{
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstElement *element = NULL;
|
GstElement *element = NULL;
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstOggDemux *ogg = pad->ogg;
|
GstOggDemux *ogg = pad->ogg;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (GST_PAD_CAPS (pad) != NULL)
|
if (GST_PAD_CAPS (pad) != NULL)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -699,7 +702,10 @@ gst_ogg_demux_chain_elem_pad (GstOggPad * pad, ogg_packet * packet)
|
|||||||
{
|
{
|
||||||
GstBuffer *buf;
|
GstBuffer *buf;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstOggDemux *ogg = pad->ogg;
|
GstOggDemux *ogg = pad->ogg;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* initialize our internal decoder with packets */
|
/* initialize our internal decoder with packets */
|
||||||
if (!pad->elem_pad)
|
if (!pad->elem_pad)
|
||||||
@ -737,7 +743,10 @@ static GstFlowReturn
|
|||||||
gst_ogg_demux_queue_data (GstOggPad * pad, ogg_packet * packet)
|
gst_ogg_demux_queue_data (GstOggPad * pad, ogg_packet * packet)
|
||||||
{
|
{
|
||||||
GstBuffer *buf;
|
GstBuffer *buf;
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstOggDemux *ogg = pad->ogg;
|
GstOggDemux *ogg = pad->ogg;
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (ogg, "%p queueing data serial %08lx", pad, pad->serialno);
|
GST_DEBUG_OBJECT (ogg, "%p queueing data serial %08lx", pad, pad->serialno);
|
||||||
|
|
||||||
|
@ -390,8 +390,10 @@ gst_ogg_parse_chain (GstPad * pad, GstBuffer * buffer)
|
|||||||
/* discontinuity; track how many bytes we skipped (-ret) */
|
/* discontinuity; track how many bytes we skipped (-ret) */
|
||||||
ogg->offset -= ret;
|
ogg->offset -= ret;
|
||||||
} else {
|
} else {
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
gint64 granule = ogg_page_granulepos (&page);
|
gint64 granule = ogg_page_granulepos (&page);
|
||||||
int bos = ogg_page_bos (&page);
|
int bos = ogg_page_bos (&page);
|
||||||
|
#endif
|
||||||
guint64 startoffset = ogg->offset;
|
guint64 startoffset = ogg->offset;
|
||||||
|
|
||||||
GST_LOG_OBJECT (ogg, "Timestamping outgoing buffer as %" GST_TIME_FORMAT,
|
GST_LOG_OBJECT (ogg, "Timestamping outgoing buffer as %" GST_TIME_FORMAT,
|
||||||
|
@ -170,7 +170,9 @@ gst_tcp_server_sink_handle_server_read (GstTCPServerSink * sink)
|
|||||||
static void
|
static void
|
||||||
gst_tcp_server_sink_removed (GstMultiFdSink * sink, int fd)
|
gst_tcp_server_sink_removed (GstMultiFdSink * sink, int fd)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstTCPServerSink *this = GST_TCP_SERVER_SINK (sink);
|
GstTCPServerSink *this = GST_TCP_SERVER_SINK (sink);
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_LOG_OBJECT (this, "closing fd %d", fd);
|
GST_LOG_OBJECT (this, "closing fd %d", fd);
|
||||||
if (close (fd) < 0) {
|
if (close (fd) < 0) {
|
||||||
|
@ -494,11 +494,13 @@ gst_v4lsrc_try_capture (GstV4lSrc * v4lsrc, gint width, gint height,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
const char *
|
const char *
|
||||||
gst_v4lsrc_palette_name (int i)
|
gst_v4lsrc_palette_name (int i)
|
||||||
{
|
{
|
||||||
return v4l_palette_name[i];
|
return v4l_palette_name[i];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gst_v4lsrc_get_fps (GstV4lSrc * v4lsrc, gint * fps_n, gint * fps_d)
|
gst_v4lsrc_get_fps (GstV4lSrc * v4lsrc, gint * fps_n, gint * fps_d)
|
||||||
|
@ -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);
|
gboolean gst_v4lsrc_try_capture (GstV4lSrc *v4lsrc, gint width, gint height, gint palette);
|
||||||
|
|
||||||
/* For debug purposes, share the palette names */
|
/* For debug purposes, share the palette names */
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
const char *gst_v4lsrc_palette_name (int i);
|
const char *gst_v4lsrc_palette_name (int i);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user