[Libav-user] Getting options

Patrick Zielinski dzeesea at gmail.com
Sat Feb 11 21:16:24 CET 2012


The comments section recommends using an AVOptions object to access these,
but I guess I'll just settle for getting them directly from the struct.

On Sat, Feb 11, 2012 at 11:35 AM, Andrey Utkin <
andrey.krieger.utkin at gmail.com> wrote:

> 2012/2/10 Patrick Zielinski <ptothez at live.ca>:
> > I don't get the unit and opt_flags parameter, let's say I want to get
> width
> > from an ACCodecContext, how do I do it?
>
> int width = codecCtx->width; // see avcodec.h
>
> --
> Andrey Utkin
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120211/f2731193/attachment.html>


More information about the Libav-user mailing list