Finall changed the Seek() method of Decoder plug-ins to
SeekedTo(), since it's only informative to decoders. They can't modify the seeked frame/time. This also mirrors what all existing decoders were doing in Seek(). BMediaTrack is simplified accordingly (resolved two TODOs). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38705 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,9 +34,7 @@ public:
|
||||
virtual status_t NegotiateOutputFormat(
|
||||
media_format* ioDecodedFormat) = 0;
|
||||
|
||||
virtual status_t Seek(uint32 seekTo, int64 seekFrame,
|
||||
int64* frame, bigtime_t seekTime,
|
||||
bigtime_t* time) = 0;
|
||||
virtual status_t SeekedTo(int64 frame, bigtime_t time) = 0;
|
||||
|
||||
virtual status_t Decode(void* buffer, int64* frameCount,
|
||||
media_header* mediaHeader,
|
||||
|
||||
Reference in New Issue
Block a user