Re: [FFmpeg-devel] [PATCH 2/2] avformat/av1dec: Redo flushing of bsf

2019-11-14 Thread James Almer
On 11/14/2019 11:06 AM, Andreas Rheinhardt wrote: > The current approach has two different calls to av_bsf_send_packet(): > A normal one, sending a packet; and an extraordinary one just for > flushing. These can be unified into one by making use of the newly > documented fact that av_bsf_send_packe

[FFmpeg-devel] [PATCH 2/2] avformat/av1dec: Redo flushing of bsf

2019-11-14 Thread Andreas Rheinhardt
The current approach has two different calls to av_bsf_send_packet(): A normal one, sending a packet; and an extraordinary one just for flushing. These can be unified into one by making use of the newly documented fact that av_bsf_send_packet() allows to signal flushing via empty packets (i.e. pack