Guo, Yejun (12021-03-04):
> For option 1.1, it is not allowed because .h file (structs for bounding box) 
> for side
> data is not exported.
> 
> For option 1.2, to avoid the possible risk of API breaking, we need a 
> versioning
> management, and the code such as BoundingBoxV1 and BoundingBoxV2 etc. is
> not elegant.

Have you considered option 1.3:

1.3. Add the enum for a new side data, but document:

/**
 * The data is for internal use by libavfilter.
 */

For the users, it is equivalent to storing it in private_ref, since it
is private, but it is closer to the good long-term API where the
information is eventually available outside.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to