tests/check/libs/audio.c: Fix the test to reflect the behaviour of gst_audio_clip_buffer.

Original commit message from CVS:
* tests/check/libs/audio.c: (GST_START_TEST):
Fix the test to reflect the behaviour of gst_audio_clip_buffer.
This commit is contained in:
Jan Schmidt 2007-07-27 17:37:19 +00:00
parent d5dc054ea3
commit a9f63daff7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-07-27 Jan Schmidt <thaytan@mad.scientist.com>
* tests/check/libs/audio.c: (GST_START_TEST):
Fix the test to reflect the behaviour of gst_audio_clip_buffer.
2007-07-27 Jan Schmidt <thaytan@mad.scientist.com>
* gst-libs/gst/audio/audio.c:

View file

@ -269,7 +269,8 @@ GST_START_TEST (test_buffer_clipping_time)
GST_BUFFER_OFFSET (buf) = GST_BUFFER_OFFSET_NONE;
GST_BUFFER_OFFSET_END (buf) = GST_BUFFER_OFFSET_NONE;
ASSERT_CRITICAL (ret = gst_audio_buffer_clip (buf, &s, 100, 1));
ret = gst_audio_buffer_clip (buf, &s, 100, 1);
fail_unless (ret == buf);
gst_buffer_unref (buf);