[FFmpeg-devel] [PATCH 1/2] avcodec/decode: don't reject flush packets when buffer_pkt is not empty
James Almer
jamrial at gmail.com
Wed Jul 12 14:30:30 EEST 2023
On 7/12/2023 6:06 AM, Anton Khirnov wrote:
> Quoting James Almer (2023-07-12 04:06:43)
>> Restores the behavior pre commit a92dbeb9ae.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>
> Do you see any advantage to this?
Not returning an error when a flush packet is feed to the decoder. Why
would the API force me to retrieve frames before i can tell it I'm not
going to feed it any more packets?
More information about the ffmpeg-devel
mailing list