projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02a932d
)
qtdemux: Modify data type of duration in handle_src_query function
author
Jimmy Ohn
<yongjin.ohn@lge.com>
Mon, 21 Mar 2016 01:11:23 +0000
(10:11 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 24 Mar 2016 12:34:55 +0000
(14:34 +0200)
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
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
bf9869f
..
0ac3b10
100644
(file)
--- 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;