Re: [FFmpeg-devel] Can BSF delay packets?

2017-02-08 Thread Aleksey M
is already corrected, that's why we couldn't understand each other. On Mon, Feb 6, 2017 at 8:41 PM, Ronald S. Bultje wrote: > Hi Aleksey, > > On Mon, Feb 6, 2017 at 12:14 PM, Aleksey M wrote: > > > Ronald, > > > > I looked the vp9_superframe_bsf.c code, bu

Re: [FFmpeg-devel] Can BSF delay packets?

2017-02-06 Thread Aleksey M
Ronald, I looked the vp9_superframe_bsf.c code, but it doesn't help: The only place which returns EAGAIN does output packet unref and frees input packet. I tried memset zero on output packet, av_packet_unref, setting out->size = 0 and out->side_data_elems = 0, tried to return EAGAIN or 0, nothing

Re: [FFmpeg-devel] Can BSF delay packets?

2017-02-06 Thread Aleksey M
> On Mon, Feb 6, 2017 at 5:18 AM, Aleksey M wrote: > > > Hi dear FFMPEG contributors, > > > > Does the bitstream filter (BSF) interface allow to delay packets? > > > > From Luca's description > > https://blogs.gentoo.org/lu_zero/2016/03/21/bitstream-f

[FFmpeg-devel] Can BSF delay packets?

2017-02-06 Thread Aleksey M
Hi dear FFMPEG contributors, Does the bitstream filter (BSF) interface allow to delay packets? From Luca's description https://blogs.gentoo.org/lu_zero/2016/03/21/bitstream-filtering/ it looks like it can produce any number of output packets or consume any number of input packets. But any attemp