Commit 1425c46e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

pulsesrc: fix compilation with --disable-gst-debug

parent ddfa9961
...@@ -519,7 +519,6 @@ gst_pulsesrc_stream_request_cb (pa_stream * s, size_t length, void *userdata) ...@@ -519,7 +519,6 @@ gst_pulsesrc_stream_request_cb (pa_stream * s, size_t length, void *userdata)
static void static void
gst_pulsesrc_stream_latency_update_cb (pa_stream * s, void *userdata) gst_pulsesrc_stream_latency_update_cb (pa_stream * s, void *userdata)
{ {
GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (userdata);
const pa_timing_info *info; const pa_timing_info *info;
pa_usec_t source_usec; pa_usec_t source_usec;
...@@ -531,7 +530,7 @@ gst_pulsesrc_stream_latency_update_cb (pa_stream * s, void *userdata) ...@@ -531,7 +530,7 @@ gst_pulsesrc_stream_latency_update_cb (pa_stream * s, void *userdata)
source_usec = 0; source_usec = 0;
#endif #endif
GST_LOG_OBJECT (pulsesrc, GST_LOG_OBJECT (GST_PULSESRC_CAST (userdata),
"latency_update, %" G_GUINT64_FORMAT ", %d:%" G_GINT64_FORMAT ", %d:%" "latency_update, %" G_GUINT64_FORMAT ", %d:%" G_GINT64_FORMAT ", %d:%"
G_GUINT64_FORMAT ", %" G_GUINT64_FORMAT ", %" G_GUINT64_FORMAT, G_GUINT64_FORMAT ", %" G_GUINT64_FORMAT ", %" G_GUINT64_FORMAT,
GST_TIMEVAL_TO_TIME (info->timestamp), info->write_index_corrupt, GST_TIMEVAL_TO_TIME (info->timestamp), info->write_index_corrupt,
...@@ -542,17 +541,13 @@ gst_pulsesrc_stream_latency_update_cb (pa_stream * s, void *userdata) ...@@ -542,17 +541,13 @@ gst_pulsesrc_stream_latency_update_cb (pa_stream * s, void *userdata)
static void static void
gst_pulsesrc_stream_underflow_cb (pa_stream * s, void *userdata) gst_pulsesrc_stream_underflow_cb (pa_stream * s, void *userdata)
{ {
GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (userdata); GST_WARNING_OBJECT (GST_PULSESRC_CAST (userdata), "Got underflow");
GST_WARNING_OBJECT (pulsesrc, "Got underflow");
} }
static void static void
gst_pulsesrc_stream_overflow_cb (pa_stream * s, void *userdata) gst_pulsesrc_stream_overflow_cb (pa_stream * s, void *userdata)
{ {
GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (userdata); GST_WARNING_OBJECT (GST_PULSESRC_CAST (userdata), "Got overflow");
GST_WARNING_OBJECT (pulsesrc, "Got overflow");
} }
static gboolean static gboolean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment