summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c7c485)
raw | patch | inline | side by side (parent: 5c7c485)
author | Thomas Vander Stichele <thomas@apestaart.org> | |
Thu, 5 Jun 2003 22:01:13 +0000 (22:01 +0000) | ||
committer | Thomas Vander Stichele <thomas@apestaart.org> | |
Thu, 5 Jun 2003 22:01:13 +0000 (22:01 +0000) |
Original commit message from CVS:
fix format test
fix format test
gst/gstevent.c | patch | blob | history |
diff --git a/gst/gstevent.c b/gst/gstevent.c
index 2c6d580004ab620519cb644cad2345050d68ed86..6dc34a78479d8ac6c94a3155bc442ec981f61058 100644 (file)
--- a/gst/gstevent.c
+++ b/gst/gstevent.c
va_start (var_args, format1);
- while (format1 >= GST_FORMAT_UNDEFINED && count < 8) {
+ while (format1 != GST_FORMAT_UNDEFINED && count < 8) {
GST_EVENT_DISCONT_OFFSET (event, count).format = format1 & GST_SEEK_FORMAT_MASK;
GST_EVENT_DISCONT_OFFSET (event, count).value = va_arg (var_args, gint64);