Hi Arthur

On Wed, Mar 12, 2025 at 03:45:42PM -0300, Arthur Grillo wrote:
> The current behavior when using restart_with_keyframe is that it will
> recover if it also encounters any audio packet, as they are flagged as a
> keyframe.
> 
> The expectation is that packets are dropped until the next _video_
> keyframe.
> 
> Fix that by checking the packet stream codec type, only letting it
> recover when it is a video one.
> 
> Fixes ticket: #11467
> 
> Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
> ---
> Cc: lingjiujianke@gmail.com
> ---
>  libavformat/fifo.c | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

What happens if there is no video stream ?

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle