[FFmpeg-devel] Fwd: [PATCH] avutil/frame: document data alignment restriction

Nicolas George george at nsup.org
Sat Jul 22 20:29:24 EEST 2017

Le quartidi 4 thermidor, an CCXXV, Muhammad Faiz a écrit :
> Of course, the linesize constraint has already been there. Should we
> relax this constraint?

Yes, if we can, we should. But I am not implying any kind of priority
about it. Relaxing a constraint that is already present since long ago
is not the same thing as adding a new constraint.

> Also, generally FFmpeg's API is full of constraints.

All APIs are full of constraints. It is a matter of balance between
how hard it is for the application to meet the constraint versus
how hard it is for the library to drop the constraint.

> So, why did you stop working on this?

Because there was too much of what I perceived as bikeshedding. But feel
free to take over the patch: technically, it was finished, working,
passing FATE, etc. It just needs pushing.

> I just want to take an easier path.

I realize that. But when API is concerned, taking the easier path for
the developer comes second after trying to make the API more convenient.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170722/c3327d31/attachment.sig>

More information about the ffmpeg-devel mailing list