aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-09-04 14:38:52 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-04 11:55:03 +0200
commit29188f9c62558d24d4ca6667c0018a15165129e1 (patch)
treef64745e03b66888da8aa33d4de15c7ebbe54480f /fftools/ffmpeg.h
parent3c0f532cbcdf0084aedba6a40ea534655dc45918 (diff)
downloadffmpeg-29188f9c62558d24d4ca6667c0018a15165129e1.tar.gz
fftools/ffmpeg: rename OutputStream.sync_opts to next_pts
The current name is confusing.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 2a49634a53..8460391afa 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -492,9 +492,9 @@ typedef struct OutputStream {
AVStream *st; /* stream in the output file */
/* number of frames emitted by the video-encoding sync code */
int64_t vsync_frame_number;
- /* input pts and corresponding output pts
- for A/V sync */
- int64_t sync_opts; /* output frame counter, could be changed to some true timestamp */ // FIXME look at frame_number
+ /* predicted pts of the next frame to be encoded
+ * audio/video encoding only */
+ int64_t next_pts;
/* dts of the last packet sent to the muxing queue, in AV_TIME_BASE_Q */
int64_t last_mux_dts;
/* pts of the last frame received from the filters, in AV_TIME_BASE_Q */