Lets do the TIME WARP again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6444 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6e04e144d6
commit
cc95481e0e
@ -292,7 +292,7 @@ aviReader::GetNextChunk(void *_cookie,
|
||||
|
||||
cookie->byte_pos += size;
|
||||
} else {
|
||||
mediaHeader->start_time = cookie->frame_pos * cookie->usec_per_frame;
|
||||
mediaHeader->start_time = cookie->frame_pos * (int64)cookie->usec_per_frame; // 32 bit would wrap around at 71.5 minutes
|
||||
mediaHeader->type = B_MEDIA_ENCODED_VIDEO;
|
||||
mediaHeader->u.encoded_video.field_flags = keyframe ? B_MEDIA_KEY_FRAME : 0;
|
||||
mediaHeader->u.encoded_video.first_active_line = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user