Commit b99bca27 authored by Philipp Zabel's avatar Philipp Zabel Committed by Philipp Zabel

event: fix seek event creation

Creating seek events segfaults on 32-bit ARM since commit 2fa15d53
('event: add new seek parameter, "trickmode-interval"'), which missed
casting the trickmode-interval initializer in the variable argument list
to guint64.
parent 79ddce20
Pipeline #30314 passed with stages
in 86 minutes and 42 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment