Re: [FFmpeg-devel] [PATCH 1/2] AVFrame: add an opaque_ref field

2017-02-12 Thread wm4
On Sat, 11 Feb 2017 17:30:24 +0100 Michael Niedermayer wrote: > On Sat, Feb 11, 2017 at 02:17:36PM +0100, wm4 wrote: > > This is an extended version of the AVFrame.opaque field, which can be > > used to attach arbitrary user information to an AVFrame. > > > > The

Re: [FFmpeg-devel] [PATCH 1/2] AVFrame: add an opaque_ref field

2017-02-11 Thread Michael Niedermayer
On Sat, Feb 11, 2017 at 02:17:36PM +0100, wm4 wrote: > This is an extended version of the AVFrame.opaque field, which can be > used to attach arbitrary user information to an AVFrame. > > The usefulness of the opaque field is rather limited, because it can > store only up to 32 bits of

[FFmpeg-devel] [PATCH 1/2] AVFrame: add an opaque_ref field

2017-02-11 Thread wm4
This is an extended version of the AVFrame.opaque field, which can be used to attach arbitrary user information to an AVFrame. The usefulness of the opaque field is rather limited, because it can store only up to 32 bits of information (or 64 bit on 64 bit systems). It's not possible to set this