diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-12 13:08:04 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-12 13:08:04 +0100 |
commit | 993a9a3d72af4f4a07470570bc472a0d385ca78f (patch) | |
tree | 761e895d1d4cdb326bfc0b20a089a52847b04f94 /ffmpeg.h | |
parent | 807d5dcde9d83dca48f8dfc5c98bbc2be6fdc61c (diff) | |
parent | b0f36a0043d76436cc7ab8ff92ab99c94595d3c0 (diff) | |
download | ffmpeg-993a9a3d72af4f4a07470570bc472a0d385ca78f.tar.gz |
Merge commit 'b0f36a0043d76436cc7ab8ff92ab99c94595d3c0'
* commit 'b0f36a0043d76436cc7ab8ff92ab99c94595d3c0':
avconv: stop using setpts for input framerate forced with -r
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -316,6 +316,11 @@ typedef struct InputStream { int64_t min_pts; /* pts with the smallest value in a current stream */ int64_t max_pts; /* pts with the higher value in a current stream */ + + // when forcing constant input framerate through -r, + // this contains the pts that will be given to the next decoded frame + int64_t cfr_next_pts; + int64_t nb_samples; /* number of samples in the last decoded audio frame before looping */ double ts_scale; |