Remove debugging statements

Original commit message from CVS:
Remove debugging statements
This commit is contained in:
Ronald S. Bultje 2003-12-16 22:00:21 +00:00
parent 36d1d0b44f
commit cbd95dd815

View file

@ -327,7 +327,7 @@ gst_osssink_chain (GstPad *pad, GstData *_data)
GstBuffer *buf = GST_BUFFER (_data); GstBuffer *buf = GST_BUFFER (_data);
GstOssSink *osssink; GstOssSink *osssink;
GstClockTime buftime; GstClockTime buftime;
g_print ("OSS data\n");
/* this has to be an audio buffer */ /* this has to be an audio buffer */
osssink = GST_OSSSINK (gst_pad_get_parent (pad)); osssink = GST_OSSSINK (gst_pad_get_parent (pad));
@ -343,7 +343,7 @@ g_print ("OSS data\n");
case GST_EVENT_DISCONTINUOUS: case GST_EVENT_DISCONTINUOUS:
{ {
gint64 value; gint64 value;
g_print ("OSS reset\n");
ioctl (GST_OSSELEMENT (osssink)->fd, SNDCTL_DSP_RESET); ioctl (GST_OSSELEMENT (osssink)->fd, SNDCTL_DSP_RESET);
if (gst_event_discont_get_value (event, GST_FORMAT_TIME, &value)) { if (gst_event_discont_get_value (event, GST_FORMAT_TIME, &value)) {
if (!gst_clock_handle_discont (osssink->clock, value)) if (!gst_clock_handle_discont (osssink->clock, value))
@ -351,7 +351,7 @@ g_print ("OSS reset\n");
osssink->handled = 0; osssink->handled = 0;
} }
osssink->resync = TRUE; osssink->resync = TRUE;
g_print ("OSS reset done\n");
break; break;
} }
default: default:
@ -420,7 +420,7 @@ g_print ("OSS reset done\n");
} }
} }
} }
g_print ("OSS data done\n");
gst_audio_clock_update_time ((GstAudioClock*)osssink->provided_clock, buftime); gst_audio_clock_update_time ((GstAudioClock*)osssink->provided_clock, buftime);
gst_buffer_unref (buf); gst_buffer_unref (buf);