mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Remove debugging statements
Original commit message from CVS: Remove debugging statements
This commit is contained in:
parent
36d1d0b44f
commit
cbd95dd815
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue