[FFmpeg-devel] [PATCH V3 2/2] lavf/libsrt: enable other encryption parameters
mypopy at gmail.com
mypopy at gmail.com
Wed Dec 4 11:56:52 EET 2019
On Wed, Dec 4, 2019 at 5:46 PM Moritz Barsnick <barsnick at gmx.net> wrote:
>
> On Wed, Dec 04, 2019 at 10:20:00 +0800, mypopy at gmail.com wrote:
> > > > + { "enforced_encryption", "Enforces that both connection parties have the same passphrase set ", OFFSET(enforced_encryption), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, .flags = D|E },
> > >
> > > is this intended to be INT and not AV_OPT_TYPE_BOOL ?
> >
> > Now -1 means auto (default value depend on libsrt library itself) ,
> > this is the reason don't use the AV_OPT_TYPE_BOOL same as other srt
> > option in FFmpeg.
>
> AV_OPT_TYPE_BOOL accepts -1 as a default.
>
Will follow the comments, thx
More information about the ffmpeg-devel
mailing list