[haiku-commits] Re: r38499 - haiku/trunk/src/kits/media

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 02 Sep 2010 09:26:48 +0200

Am 01.09.2010 23:29, schrieb Jérôme Duval:
2010/9/1<superstippi@xxxxxx>:
overwrite the actually seeked time. I am thinking
the API should be called SeekedTo() or Seeked(),
and would be purely informative for decoders,
without even a return value.

In the TimeSource terminology, it would be a TimeWarp.

I think in BeOS, this hook was called Reset(), and that does make a lot of sense to me. Essentially, the decoder has to flush it's internal buffers and start from scratch. It's possible, that I am overlooking something, and that there are some decoders, which may actually have to decode until they reach the specified timestamp. But in any sane setup, the extractor should be the one to know about timestamps, not the decoder.

Best regards,
-Stephan


Other related posts: