Change G_BREAKPOINT() to g_assert(), since G_BREAKPOINT() is i386-only.

Original commit message from CVS:
Change G_BREAKPOINT() to g_assert(), since G_BREAKPOINT() is i386-only.
This commit is contained in:
David Schleef 2002-07-02 03:27:36 +00:00
parent fd7cea46c4
commit fb93a7c0d2

View file

@ -944,8 +944,7 @@ gst_alsa_src_process (GstAlsa *this, snd_pcm_uframes_t frames)
pad->offset += MIN(frames, this->period_frames - pad->offset);
if (pad->offset >= this->period_frames) {
if (pad->offset > this->period_frames)
G_BREAKPOINT();
g_assert(pad->offset <= this->period_frames);
buf = gst_buffer_new();
GST_BUFFER_DATA(buf) = pad->buf;