mirror of
https://review.haiku-os.org/haiku
synced 2025-02-19 03:59:11 +01:00
* Output more information in AVFormatReader::StreamCookie::Open(), AVInputFormat flags for example. * Added CODEC_ID_AAC handling when codecTag is 0. Adds support for AAC in Matroska containers when the ffmpeg plugin is enabled to handle those. * Added some rounding to frame<->time conversions. * AVFormatReader::StreamCookie::Seek() forgot to pass the seek flags to av_seek_frame(). * The most important fix is this, though: There are formats which build the keyframe index on the fly, while parsing the stream!! These means we can only seek to real keyframes for parts of the stream that has already been decoded. Handle this situation by assuming we can seek to the requested frame/time. This change fixes the use of the AVFormatReader as MP3 reader. * Anothe important fix is to ignore the nb_frames member of the stream for the total frame count. This makes MP4 movies also work perfectly now when the AVFormatReader is used for them. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38401 a95241bf-73f2-0310-859d-f6bbb57e9c96