[FFmpeg-devel] [PATCH] rmdec.c: parse INDX chunk

Kostya kostya.shishkov
Wed Mar 11 13:54:46 CET 2009

On Wed, Mar 11, 2009 at 08:20:04AM -0400, Ronald S. Bultje wrote:
> Hi,
> On Wed, Mar 11, 2009 at 1:40 AM, Kostya <kostya.shishkov at gmail.com> wrote:
> > after that someone has to write rm_read_seek() ;)
> I have questions about that one. :-).
> 1- currently there's binary and index-based defaults, can I access
> these from within my demuxer? Or are they used automatically if
> rm_read_seek() returns -1?

Looks like they are employed when read_timestamp() is present.
I've implemented several demuxers with seek functions so I think I can help
you with this one (I'm interested in getting RM demuxer work too).

> 2- can I fail fatally in my demuxer so the defaults won't be called
> (for multirate - I'd like to disable seeking at least for a bit until
> it works, it'll break completely).

Only for multirate - it is not working normally at all now.

> I probably will have more questions once I actually start
> rm_read_seek(), I've been lazy and trying to not have to do that one.

You tell me :)
> Ronald

More information about the ffmpeg-devel mailing list