• Aman Gupta's avatar
    avcodec/omx: fix xFramerate calculation · b022d9ba
    Aman Gupta authored
    Integer overflow in the Q16 framerate calculation was sending
    invalid values to the OMX encoder.
    
    On the RPI4, this manifested as bitrate controls being ignored
    on video streams with 60000/1001 framerates. Video streams with
    30000/1001 framerates were not affected.
    Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
    b022d9ba
omx.c 39.2 KB