summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-12 13:08:04 +0100
committerClément Bœsch <u@pkh.me>2017-03-12 13:08:04 +0100
commit993a9a3d72af4f4a07470570bc472a0d385ca78f (patch)
tree761e895d1d4cdb326bfc0b20a089a52847b04f94 /ffmpeg.h
parent807d5dcde9d83dca48f8dfc5c98bbc2be6fdc61c (diff)
parentb0f36a0043d76436cc7ab8ff92ab99c94595d3c0 (diff)
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 06a1251124..c3ed6ced78 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -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;