Re: [libav-devel] [PATCH 1/4] avconv: Flush output BSFs when encode reaches EOF

2017-03-14 Thread wm4
On Tue, 14 Mar 2017 01:37:16 + Mark Thompson wrote: > Before this, output bitstream filters would never see EOF and > therefore would not be able to flush any delayed packets. > --- > There might be a nicer way to achieve this result? (Code is copied from > output_packet()

[libav-devel] [PATCH 1/4] avconv: Flush output BSFs when encode reaches EOF

2017-03-13 Thread Mark Thompson
Before this, output bitstream filters would never see EOF and therefore would not be able to flush any delayed packets. --- There might be a nicer way to achieve this result? (Code is copied from output_packet() and modified to flush.) avtools/avconv.c | 45