mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
event: fix seek event creation
Creating seek events segfaults on 32-bit ARM since commit 2fa15d5371
('event: add new seek parameter, "trickmode-interval"'), which missed
casting the trickmode-interval initializer in the variable argument list
to guint64.
This commit is contained in:
parent
79ddce2043
commit
b99bca2790
1 changed files with 2 additions and 1 deletions
|
@ -1307,7 +1307,8 @@ gst_event_new_seek (gdouble rate, GstFormat format, GstSeekFlags flags,
|
|||
GST_QUARK (CUR), G_TYPE_INT64, start,
|
||||
GST_QUARK (STOP_TYPE), GST_TYPE_SEEK_TYPE, stop_type,
|
||||
GST_QUARK (STOP), G_TYPE_INT64, stop,
|
||||
GST_QUARK (TRICKMODE_INTERVAL), GST_TYPE_CLOCK_TIME, 0, NULL);
|
||||
GST_QUARK (TRICKMODE_INTERVAL), GST_TYPE_CLOCK_TIME, (GstClockTime) 0,
|
||||
NULL);
|
||||
event = gst_event_new_custom (GST_EVENT_SEEK, structure);
|
||||
|
||||
return event;
|
||||
|
|
Loading…
Reference in a new issue