[FFmpeg-devel] [PATCH] exporting mpeg user_data

Michael Niedermayer michaelni
Wed Mar 19 03:15:52 CET 2008


On Wed, Mar 19, 2008 at 02:12:42AM +0000, M?ns Rullg?rd wrote:
[...]
> >> > Michael says: see FF_OPT_TYPE_BINARY
> >> > M?ns Rullg?rd says: This makes no sense at all.
> >> 
> >> Honestly, I have to plead ignorance on this one. I don't fully know
> >> what the hell I'm doing, I'm not intimately familiar with the
> >> design of ffmpeg. So, being a complete noob, I simply copied what
> >> was done for the extradata field.
> >
> > look at AVFormatContext.key/keylen and the cryptokey entry as references
> > also dont hesitate to read the code in opt.c related to FF_OPT_TYPE_BINARY
> 
> This is a decoder output field.  Setting it doesn't make sense.  Even
> if the encoder supported user_data injection, this would be the wrong
> place to set it.

It of course should be in AVCodecContext but key/keylen is a example of a
FF_OPT_TYPE_BINARY ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080319/e6ff25de/attachment.pgp>



More information about the ffmpeg-devel mailing list