mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
fix format test
Original commit message from CVS: fix format test
This commit is contained in:
parent
5c7c48520d
commit
04471c9cdd
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ gst_event_new_discontinuous (gboolean new_media, GstFormat format1, ...)
|
||||||
|
|
||||||
va_start (var_args, format1);
|
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).format = format1 & GST_SEEK_FORMAT_MASK;
|
||||||
GST_EVENT_DISCONT_OFFSET (event, count).value = va_arg (var_args, gint64);
|
GST_EVENT_DISCONT_OFFSET (event, count).value = va_arg (var_args, gint64);
|
||||||
|
|
Loading…
Reference in a new issue