summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-07 18:01:19 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-15 13:32:01 +0200
commitf9657b7443f674c159f305a6033b985d034d0f3b (patch)
treece85e60655c16d202a9b52e0fc2c4f70203ea10c /fftools/ffmpeg.h
parent6b0c984f0dfe632ec0d59fb12c8880240c5208c0 (diff)
downloadffmpeg-f9657b7443f674c159f305a6033b985d034d0f3b.tar.gz
fftools/ffmpeg: simplify tracking -readrate start time
There is no point in having a per-stream wallclock start time, since they are all computed at the same instant. Keep a per-file start time instead, initialized when the demuxer thread starts.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 7eb6301c74..d1af94590d 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -362,8 +362,6 @@ typedef struct InputStream {
AVRational framerate_guessed;
- int64_t start; /* time when read started */
-
// pts/estimated duration of the last decoded frame
// * in decoder timebase for video,
// * in last_frame_tb (may change during decoding) for audio