mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +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);
|
pad->offset += MIN(frames, this->period_frames - pad->offset);
|
||||||
|
|
||||||
if (pad->offset >= this->period_frames) {
|
if (pad->offset >= this->period_frames) {
|
||||||
if (pad->offset > this->period_frames)
|
g_assert(pad->offset <= this->period_frames);
|
||||||
G_BREAKPOINT();
|
|
||||||
|
|
||||||
buf = gst_buffer_new();
|
buf = gst_buffer_new();
|
||||||
GST_BUFFER_DATA(buf) = pad->buf;
|
GST_BUFFER_DATA(buf) = pad->buf;
|
||||||
|
|
Loading…
Reference in a new issue