Hi,

Add tracking of consecutive EAGAIN returns in avcodec_send_packet()
to improve observability of decoder backpressure.

- Introduce eagain_count in DecodeContext
- Log debug messages including occurrence count
- Emit warning when repeated EAGAIN suggests possible stall
- Reset counter on successful packet acceptance

This helps identify pipeline stalls and slow consumers without
changing existing behavior.

Tested with:

./ffmpeg -i output.mp4 out.avi

Signed-off-by: Ayush Tripathi <[email protected]>

Attachment: 0001-avcodec-decode-track-repeated-EAGAIN-to-detect-decod.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to