• Giorgio Vazzana's avatar
    lavd/v4l2: fix bug in init_convert_timestamp() · ee4a6586
    Giorgio Vazzana authored
    The current code returned a period=0, resulting in identical pts for all frames
    after time-filtering. This is because AV_TIME_BASE_Q={1, AV_TIME_BASE} and
    not {AV_TIME_BASE, 1}. With this patch the correct period in microseconds is computed.
    ee4a6586
v4l2.c 35.6 KB