It's late, forgot to remove debugging output...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34924 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3a57be2aea
commit
9ea74f6c0b
@ -313,7 +313,6 @@ BMediaTrack::ReadFrames(void* buffer, int64* _frameCount,
|
|||||||
result = fDecoder->Decode(buffer, _frameCount, _header, info);
|
result = fDecoder->Decode(buffer, _frameCount, _header, info);
|
||||||
if (result == B_OK) {
|
if (result == B_OK) {
|
||||||
fCurrentFrame += *_frameCount;
|
fCurrentFrame += *_frameCount;
|
||||||
printf("ReadFrames() - next frame: %lld\n", fCurrentFrame);
|
|
||||||
fCurrentTime = _header->start_time
|
fCurrentTime = _header->start_time
|
||||||
+ *_frameCount * 1000000LL / _FrameRate();
|
+ *_frameCount * 1000000LL / _FrameRate();
|
||||||
} else {
|
} else {
|
||||||
@ -526,7 +525,6 @@ BMediaTrack::ReadChunk(char** _buffer, int32* _size, media_header* _header)
|
|||||||
// to the next frame.
|
// to the next frame.
|
||||||
if (fCurrentTime != _header->start_time) {
|
if (fCurrentTime != _header->start_time) {
|
||||||
fCurrentFrame++;
|
fCurrentFrame++;
|
||||||
printf("ReadChunk() - next frame: %lld\n", fCurrentFrame);
|
|
||||||
fCurrentTime = _header->start_time + 1000000LL / _FrameRate();
|
fCurrentTime = _header->start_time + 1000000LL / _FrameRate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user