[FFmpeg-devel] [PATCH 1/3] lavc/bsf: add a null bitstream filter.

wm4 nfxjfg at googlemail.com
Thu May 12 12:03:12 CEST 2016

On Thu, 12 May 2016 11:20:28 +0200
Nicolas George <george at nsup.org> wrote:

> Le quartidi 24 floréal, an CCXXIV, Paul B Mahol a écrit :
> > Yes. I object its name. Null name is misleading. Its name should be copy.  
> I can live with that if other people agree, but for now we have null and
> anull in libavfilter, that would be inconsistent. Plus, the filter does not
> copy the packet, it just passes it without any filtering. Therefore, unless
> you have support on your side, I intend to keep the name.
> Regards,

Conceptually, passing the packets just along is equivalent to copying.
It's how refcounting works; without a real copy, the first write access
to the packet will do the real copy.

More information about the ffmpeg-devel mailing list