mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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:
parent
fd7cea46c4
commit
fb93a7c0d2
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue