qtdemux: convert some more mov format timestamp to gst time

This commit is contained in:
Mark Nauwelaerts 2010-07-08 16:07:16 +02:00
parent 7955c01f19
commit 2a22e9d487

View file

@ -1988,6 +1988,10 @@ gst_qtdemux_seek_to_previous_keyframe (GstQTDemux * qtdemux)
}
ref_str->segment_index--;
seg = &ref_str->segments[ref_str->segment_index];
/* convert seg->media_start to mov format time for timestamp comparison */
seg_media_start_mov =
gst_util_uint64_scale (seg->media_start, ref_str->timescale,
GST_SECOND);
}
/* Calculate time position of the keyframe and where we should stop */
k_pos =