• Gwenole Beauchesne's avatar
    decoder: add gst_vaapi_decoder_get_frame_with_timeout(). · c43a2d49
    Gwenole Beauchesne authored
    Add gst_vaapi_decoder_get_frame_with_timeout() helper function that will
    wait for a frame to be decoded, until the specified timeout in microseconds,
    prior to returning to the caller.
    This is a fix to performance regression from 851cc0, whereby the vaapidecode
    loop executed on the srcpad task was called to often, thus starving all CPU
gstvaapidecoder.h 6.08 KB