Commit cd212ea7 authored by Jan Gerber's avatar Jan Gerber
Browse files

patch from cpearce to fix issue with index calculation

parent 58a41286
......@@ -128,7 +128,7 @@ int seek_index_record_sample(seek_index* index,
}
if (!is_keyframe ||
end_time < (index->prev_packet_time + index->packet_interval))
start_time <= (index->prev_packet_time + index->packet_interval))
{
/* Sample is not a keyframe, or appears too close to the previous
keyframe packet, don't add it to the keyframe index. */
......
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