• Maxime Jourdan's avatar
    avcodec/v4l2_m2m_dec: fix dropped packets while decoding · 584ac1ad
    Maxime Jourdan authored
    * FFmpeg retrieves a packet from the bitstream
    * It attempts to get an input buffer (from its own list or by dequeuing one from the driver)
    * If no input buffer is found, the bitstream packet is dropped instead of scheduled for trying again later
    
    It's an issue that showed especially at high speeds (like using `-f null -` as output parameters).
    Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
    584ac1ad
v4l2_m2m.h 3.69 KB