> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Anton > Khirnov > Sent: 2021年3月4日 17:45 > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V4 2/4] libavfilter/buffersink.c: unref > private_ref when frame leaves libavfilter > > Quoting Guo, Yejun (2021-03-04 09:48:14) > > Hi, I think option 2 might be the good choice for now. > > Given past experience, I am very much not a fan of "for now" solutions. > They tend to ossify and remain in place for years (I have seen at least one > "//temporary hack" remain unchanged for over 10 years). Then further hacks > are grown on these "for now" solutions and they become very hard to change > or remove. > > So I would strongly prefer that you spend the effort now to design a proper > future-proof solution (most likely side data based). If it turns out to need > some > change later, then there's plenty of precedent for changing API. >
Agree, side data based solution is what we will finally use, and also my original code. There's no industry standard which defines the specification of bounding box. And I've tried my best for the design, investigated models, designed the structs and also refined it with feedback from community. _______________________________________________ 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".