mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
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
This commit is contained in:
parent
02a932d789
commit
0ef9e6d139
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue