Hi Aleksey,

On Mon, Feb 6, 2017 at 12:14 PM, Aleksey M <hex...@gmail.com> wrote:

> 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 helps.
> In any case, "timestamps are not set", "stream is malformed", like the
> output packet is still used.


As frustrating as this may sound, vp9_superframe_bsf does what you're
asking for, so your best bet is to emulate what it's doing and figure out
why your code does not invoke the same code path.

Ronald
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to