diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-07-02 08:08:42 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-07-02 08:08:42 +0000 |
commit | 463d474f4d750066a620fedabd83b70462df56cb (patch) | |
tree | 271430dae327fc2f0a13cdf2ce3fdccb770f06fc | |
parent | 8ee3bae96d49a07a61e7fe567414f8e04b91caaa (diff) | |
download | gstreamer-plugins-base-463d474f4d750066a620fedabd83b70462df56cb.tar.gz |
ds's virtual patches
Original commit message from CVS:
ds's virtual patches
-rw-r--r-- | ext/alsa/gstalsa.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c index a05869ad1..413c8094a 100644 --- a/ext/alsa/gstalsa.c +++ b/ext/alsa/gstalsa.c @@ -944,9 +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; GST_BUFFER_SIZE(buf) = this->period_frames * unit; |