mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 05:23:14 +08:00
ffmpeg: add (next_dts/dts) variables.
Strongly based on Anton Khirnovs code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
6
ffmpeg.c
6
ffmpeg.c
@@ -204,6 +204,12 @@ typedef struct InputStream {
|
||||
AVFrame *filtered_frame;
|
||||
|
||||
int64_t start; /* time when read started */
|
||||
/* predicted dts of the next packet read for this stream or (when there are
|
||||
* several frames in a packet) of the next frame in current packet */
|
||||
int64_t next_dts;
|
||||
/* dts of the last packet read for this stream */
|
||||
int64_t dts;
|
||||
|
||||
int64_t next_pts; /* synthetic pts for cases where pkt.pts
|
||||
is not defined */
|
||||
int64_t pts; /* current pts */
|
||||
|
||||
Reference in New Issue
Block a user