more support for video tracks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6397 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6c6da58bf4
commit
0e1505b5f4
|
@ -202,10 +202,15 @@ aviReader::GetStreamInfo(void *_cookie, int64 *frameCount, bigtime_t *duration,
|
|||
}
|
||||
|
||||
*frameCount = fFile->FrameCount();
|
||||
*duration = fFile->Duration();
|
||||
|
||||
cookie->audio = false;
|
||||
cookie->frame_pos = 0;
|
||||
|
||||
description.family = B_AVI_FORMAT_FAMILY;
|
||||
description.u.avi.codec = 0;
|
||||
formats.GetFormatFor(description, format);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue