Properly report video track information.

Moved infromation gathering into AllocateCookie.
Report proper data in GetNextChunk media_header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6421 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2004-01-29 23:32:10 +00:00
parent a6423eea41
commit e9fe0b2203
4 changed files with 80 additions and 32 deletions
@@ -387,6 +387,12 @@ OpenDMLFile::IsAudio(int stream_index)
return fStreamData[stream_index].info->is_audio;
}
const avi_main_header *
OpenDMLFile::AviMainHeader()
{
return fParser->AviMainHeader();
}
const wave_format_ex *
OpenDMLFile::AudioFormat(int stream_index)
{