• Justin Ruggles's avatar
    oggdec: output correct timestamps for Vorbis · f63412fc
    Justin Ruggles authored
    Takes encoder delay into account by comparing first the coded page
    duration with the calculated page duration. Handles last packet duration
    if needed, also by comparing coded duration with calculated duration.
    Also does better handling of timestamp generation for packets in the
    first page for streamed ogg files where the start time is not
    necessarily zero.
    f63412fc
oggparsevorbis.c 11 KB