Commit 65c5d6d0 authored by Seungha Yang's avatar Seungha Yang Committed by Jan Schmidt
Browse files

qtdemux: Fix key_time in gst_qtdemux_adjust_seek()

time in segment should be PTS based (not DTS).
parent 389dd4e3
......@@ -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]);
"keyframe at %u with time %" GST_TIME_FORMAT " at offset %"
G_GUINT64_FORMAT, kindex, GST_TIME_ARGS (media_time),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment