From 0ef9e6d1390e2ea81ad1521e896697f742b05def Mon Sep 17 00:00:00 2001 From: Jimmy Ohn Date: Mon, 21 Mar 2016 10:11:23 +0900 Subject: [PATCH] qtdemux: Modify data type of duration in handle_src_query function Data type of duration need to modify from guint64 to GstClockTime for consistency in handle_src_query function. https://bugzilla.gnome.org/show_bug.cgi?id=763965 --- gst/isomp4/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index bf9869fb55..0ac3b10a99 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -830,7 +830,7 @@ gst_qtdemux_handle_src_query (GstPad * pad, GstObject * parent, /* First try to query upstream */ res = gst_pad_query_default (pad, parent, query); if (!res) { - guint64 duration; + GstClockTime duration; if (gst_qtdemux_get_duration (qtdemux, &duration) && duration > 0) { gst_query_set_duration (query, GST_FORMAT_TIME, duration); res = TRUE;