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:
beveloper 2004-01-28 23:04:52 +00:00
parent 6c6da58bf4
commit 0e1505b5f4
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}