On Wed, Dec 4, 2019 at 5:46 PM Moritz Barsnick <[email protected]> wrote: > > On Wed, Dec 04, 2019 at 10:20:00 +0800, [email protected] 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 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
