• Yunqing Wang's avatar
    Fix decimation_count in drop_frame · 53d92e61
    Yunqing Wang authored
    Frame dropping decision is made by evaluating both current frame
    and next frame's buffer_level. If both buffer_levels are less
    than drop_mark, next frame is dropped. When frame dropping is
    over, namely, buffer_level becomes normal again, we need to
    reset decimation_count to 0.
    
    Change-Id: Iae182612e61e0da367fbd43afdc90738d975d1a3
    53d92e61
onyx_if.c 174 KB