Re: [FFmpeg-devel] [PATCH] dump_extra: Don't add extradata if it already exists

2019-07-14 Thread Michael Niedermayer
On Sat, Jul 13, 2019 at 04:55:50AM +0200, Andreas Rheinhardt wrote: > The dump_extra bitstream filter currently simply adds the extradata to > the packets indicated by the user without checking whether said > extradata already exists in the packets. Besides wasting space > duplicated extradata in t

[FFmpeg-devel] [PATCH] dump_extra: Don't add extradata if it already exists

2019-07-12 Thread Andreas Rheinhardt
The dump_extra bitstream filter currently simply adds the extradata to the packets indicated by the user without checking whether said extradata already exists in the packets. Besides wasting space duplicated extradata in the same packet/access unit is also forbidden for some codecs, e.g. MPEG-2.