[FFmpeg-devel] [PATCH 3/9] lavf/ffm: store/restore private codec context

Michael Niedermayer michaelni at gmx.at
Sat Nov 15 19:59:02 CET 2014

On Sat, Nov 15, 2014 at 02:32:26AM +0100, Lukasz Marek wrote:
> On 15.11.2014 01:24, Michael Niedermayer wrote:
> >>>>+    /**
> >>>>+     * String containing paris of key and values describing recommended encoder configuration.
> >>>>+     * Paris are separated by ','.
> >>>>+     * Keys are separated from values by '='.
> >>>>+     */
> >>>>+    char *recommended_encoder_configuration;
> >>>
> >>>this requires accessor functions for future ABI compatibility
> >>>also it should be documented what and who sets it, unless its
> >>>intended to be changed how its set then it could be documented later
> >>>when the final design is implemented
> >>
> >>I added these accessors.
> >>Note: I added this field in public API section. From this comment I
> >>can suspect I should be private, so please verify.
> >
> >yes and no
> >it should be moved to the end but thats because of bugs, i think
> >there are still some applications that access private fields and
> >we should avoid moving these
> >otherwise it could be argued to be on either side (public with a
> >note that access is only through the accessors or on the private
> >side)
> OK, locally moved to the end.
> I also locally changed ffmpeg_opt.c so it uses getter.
> I pushed it back to github, as changes are minor.
> I'm waiting for green light to push this patchset.

no objections from me


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141115/91d2ef24/attachment.asc>

More information about the ffmpeg-devel mailing list