• Anton Khirnov's avatar
    avconv: rework -t handling for encoding. · 1270e12e
    Anton Khirnov authored
    Current code compares the desired recording time with InputStream.pts,
    which has a very unclear meaning. Change the code to use actual
    timestamps of the frames passed to the encoder.
    
    In several tests, one less frame is encoded, which is more correct.
    
    In the idroq test one more frame is encoded, which is again more
    correct.
    
    Behavior with stream copy should be unchanged.
    1270e12e
avi 137 Bytes