[openbeos] Re: Can someone help me.

From: "Marcus Overhagen" <dos4gw@xxxxxx>

> Franois Revol <revol@xxxxxxx> wrote:
> 
> >> I think the media kit is giving you in in_info some
> >> raw bytes from the beginning of the file that you should use to
> >> determine if you support that file,
> >> and return B_OK if you do it.
> >I think he would like to know which decoder to use depending on that info 
> >besides being sure it's one of the supported ones.
> 
> doing a binary search of that memory block looking for 
> the fourcc might be a hack/workaround/solution.
> I really don't know, there *must* be some way.

either that or another work-around would be to just make a codec for each 
stream type, assigning the fourcc's to the proper stream decoder (opendivx/divx 
to one, 3ivx to another, etc..)

-jtarbox


Other related posts: