• 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
Name
Last commit
Last update
..
acodec Loading commit data...
fate Loading commit data...
lavf Loading commit data...
lavfi Loading commit data...
seek Loading commit data...
vsynth1 Loading commit data...
vsynth2 Loading commit data...