projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389dd4e
)
qtdemux: Fix key_time in gst_qtdemux_adjust_seek()
author
Seungha Yang
<sh.yang@lge.com>
Sun, 24 Apr 2016 12:38:51 +0000
(21:38 +0900)
committer
Jan Schmidt
<jan@centricular.com>
Mon, 2 Jan 2017 14:34:02 +0000
(
01:34
+1100)
time in segment should be PTS based (not DTS).
https://bugzilla.gnome.org/show_bug.cgi?id=765498
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
7f34d31
..
fb3afd8
100644
(file)
--- a/
gst/isomp4/qtdemux.c
+++ b/
gst/isomp4/qtdemux.c
@@
-1358,7
+1358,7
@@
gst_qtdemux_adjust_seek (GstQTDemux * qtdemux, gint64 desired_time,
index = kindex;
/* get timestamp of keyframe */
- media_time = QTSAMPLE_
D
TS (str, &str->samples[kindex]);
+ media_time = QTSAMPLE_
P
TS (str, &str->samples[kindex]);
GST_DEBUG_OBJECT (qtdemux,
"keyframe at %u with time %" GST_TIME_FORMAT " at offset %"
G_GUINT64_FORMAT, kindex, GST_TIME_ARGS (media_time),