From 01f5b39eb23bff7c817d1c4dacb2f7bca3a1a933 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 22 Aug 2007 17:54:44 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] ouch, printing with arguments but without %s.. that made it segfault a few times... 20070822175444-4f0f6-445ea6ce7a9668d04cf999af772a504ec74fb67a.gz --- gst/dtmf/gstdtmfsrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 2d5d92d..6a3e6e6 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -741,7 +741,7 @@ gst_dtmf_src_push_next_tone_packet (GstDTMFSrc *dtmfsrc) event = g_async_queue_pop (dtmfsrc->event_queue); if (event->event_type == DTMF_EVENT_TYPE_STOP) { - GST_WARNING_OBJECT (dtmfsrc, "Received a DTMF stop event when already stopped", GST_BUFFER_SIZE (buf)); + GST_WARNING_OBJECT (dtmfsrc, "Received a DTMF stop event when already stopped"); } else if (event->event_type == DTMF_EVENT_TYPE_START) { gst_dtmf_prepare_timestamps (dtmfsrc); @@ -756,7 +756,7 @@ gst_dtmf_src_push_next_tone_packet (GstDTMFSrc *dtmfsrc) if (event != NULL) { if (event->event_type == DTMF_EVENT_TYPE_START) { - GST_WARNING_OBJECT (dtmfsrc, "Received two consecutive DTMF start events", GST_BUFFER_SIZE (buf)); + GST_WARNING_OBJECT (dtmfsrc, "Received two consecutive DTMF start events"); } else if (event->event_type == DTMF_EVENT_TYPE_STOP) { gst_dtmf_src_set_stream_lock (dtmfsrc, FALSE); g_free (dtmfsrc->last_event); @@ -775,7 +775,7 @@ gst_dtmf_src_push_next_tone_packet (GstDTMFSrc *dtmfsrc) "pushing buffer on src pad of size %d", GST_BUFFER_SIZE (buf)); ret = gst_pad_push (dtmfsrc->srcpad, buf); if (ret != GST_FLOW_OK) { - GST_ERROR_OBJECT (dtmfsrc, "Failed to push buffer on src pad", GST_BUFFER_SIZE (buf)); + GST_ERROR_OBJECT (dtmfsrc, "Failed to push buffer on src pad"); } gst_buffer_unref(buf); -- 2.7.4