mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests/check/gst/gstsegment.c: Fix check
Original commit message from CVS: * tests/check/gst/gstsegment.c: (GST_START_TEST): Fix check
This commit is contained in:
parent
5b6258fa8d
commit
e683477828
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-02-13 Wim Taymans,,, <wim@fluendo.com>
|
||||||
|
|
||||||
|
* tests/check/gst/gstsegment.c: (GST_START_TEST):
|
||||||
|
Fix check
|
||||||
|
|
||||||
2007-02-13 Wim Taymans,,, <wim@fluendo.com>
|
2007-02-13 Wim Taymans,,, <wim@fluendo.com>
|
||||||
|
|
||||||
* docs/design/part-seeking.txt:
|
* docs/design/part-seeking.txt:
|
||||||
|
|
|
@ -313,7 +313,7 @@ GST_START_TEST (segment_seek_size)
|
||||||
GST_SEEK_TYPE_CUR, 100, GST_SEEK_TYPE_SET, 200, &update);
|
GST_SEEK_TYPE_CUR, 100, GST_SEEK_TYPE_SET, 200, &update);
|
||||||
fail_unless (segment.start == 200);
|
fail_unless (segment.start == 200);
|
||||||
fail_unless (segment.stop == 200);
|
fail_unless (segment.stop == 200);
|
||||||
fail_unless (update == TRUE);
|
fail_unless (update == FALSE);
|
||||||
|
|
||||||
/* seek relative to end */
|
/* seek relative to end */
|
||||||
gst_segment_set_seek (&segment, 1.0,
|
gst_segment_set_seek (&segment, 1.0,
|
||||||
|
@ -430,7 +430,7 @@ GST_START_TEST (segment_seek_reverse)
|
||||||
fail_unless (segment.stop == 80);
|
fail_unless (segment.stop == 80);
|
||||||
fail_unless (segment.time == 20);
|
fail_unless (segment.time == 20);
|
||||||
fail_unless (segment.last_stop == 80);
|
fail_unless (segment.last_stop == 80);
|
||||||
fail_unless (update == TRUE);
|
fail_unless (update == FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue