mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
qtdemux: Fix key_time in gst_qtdemux_adjust_seek()
time in segment should be PTS based (not DTS). https://bugzilla.gnome.org/show_bug.cgi?id=765498
This commit is contained in:
parent
389dd4e3d0
commit
65c5d6d080
1 changed files with 1 additions and 1 deletions
|
@ -1358,7 +1358,7 @@ gst_qtdemux_adjust_seek (GstQTDemux * qtdemux, gint64 desired_time,
|
|||
index = kindex;
|
||||
|
||||
/* get timestamp of keyframe */
|
||||
media_time = QTSAMPLE_DTS (str, &str->samples[kindex]);
|
||||
media_time = QTSAMPLE_PTS (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),
|
||||
|
|
Loading…
Reference in a new issue