• Philippe Gorley's avatar
    media: simplify timestamp computation · d36d4d6e
    Philippe Gorley authored
    Audio time bases are always the inverse of the sample rate, meaning the
    increment is always the number of samples in a frame. Video usually has
    a time base inverse of its framerate, but this is not always the case.
    
    Change-Id: I50d2d84d073052f8b3a832e8b99725b9d66b12a8
    d36d4d6e
media_encoder.cpp 22.8 KB