[vlc-devel] Re: [PATCH] Matroska Attachments

Bernie Purcell b.purcell at adbglobal.com
Fri Jun 1 01:29:01 CEST 2007


On Thu, 2007-05-31 at 21:28 +0200, Laurent Aimar wrote:

>  If you prefer I can add a decoder_GetAllInputAttachment that will return
> them all but you can receive unneeded attachments and so waste a bit more 
> memory...
> 
>  Report any problems (I have not tested it)
Thankyou for the amount of effort you had to go to to clean up my mess.
I seriously don't think I would have worked out how to have done this
myself if I'd had a million years to work on it. I really appreciate it.
I may have to take you up on your offer of this additional function
though, if it's ok with you (either that or a way to retrieve an
attachment by index). This would allow us to step through all the
attachments available, filtering them according to what the module
supports and processing them into appropriate structures, eg picture_t,
p_face etc. just the once during decoder open stage (before we know what
the attachment names might be), rather than on-demand each time they are
referenced by name. Would this be ok?

Bernie

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list