Re: to be effcient or not to be efficient
Attila Kinali <[email protected]>
| Newsgroups | gmane.comp.multimedia.media-api |
|---|---|
| Organization | NERV |
| Message-ID | <[email protected]> |
On Wed, 07 Jan 2004 14:07:46 +0100 Steve Lhomme <[email protected]> wrote: > Attila Kinali wrote: > > >>I mostly agree with you arguments but would like to add yet another: > >>- Robustness on data corruption/missing data. > > > > > > This is something the demuxer and codecs have to handle, it > > has nothing to do with the API itself. > > It does. > Let's consider you have a pull model. What happens if you pull data for > timecode X and finally you get just an error ? What happens next ? You > pull data for what timecode ? (I assume you use timecodes) No need to. If the demuxer or codec can recover from this file error it just reports a discontinuity and the rest will be done as it would be a regular seek. If it can't recover we are in deep shit anyways. Attila Kinali -- egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger -- reeler in +kaosu