aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-01-27 12:19:16 +0100
committerAnton Khirnov <anton@khirnov.net>2023-01-31 09:09:23 +0100
commit806ecace91d5b5e7c0f10b69746a57fd0d8a51f9 (patch)
tree467e6ea09e99b09b951f7763e30099d286e22d5b /fftools/ffmpeg.h
parent61afbc23766f1567857551eb7b2da5f8aab97c4c (diff)
downloadffmpeg-806ecace91d5b5e7c0f10b69746a57fd0d8a51f9.tar.gz
fftools/ffmpeg: support input frame params in encoding stats
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index dddab456f7..8c976af97a 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -335,6 +335,8 @@ typedef struct InputStream {
#define DECODING_FOR_OST 1
#define DECODING_FOR_FILTER 2
int processing_needed; /* non zero if the packets must be processed */
+ // should attach FrameData as opaque_ref after decoding
+ int want_frame_data;
/**
* Codec parameters - to be used by the decoding/streamcopy code.
@@ -493,9 +495,13 @@ enum EncStatsType {
ENC_STATS_FILE_IDX,
ENC_STATS_STREAM_IDX,
ENC_STATS_FRAME_NUM,
+ ENC_STATS_FRAME_NUM_IN,
ENC_STATS_TIMEBASE,
+ ENC_STATS_TIMEBASE_IN,
ENC_STATS_PTS,
ENC_STATS_PTS_TIME,
+ ENC_STATS_PTS_IN,
+ ENC_STATS_PTS_TIME_IN,
ENC_STATS_DTS,
ENC_STATS_DTS_TIME,
ENC_STATS_SAMPLE_NUM,