mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-11 17:30:00 +01:00
fftools/ffmpeg: attach wallclock timing information to packets and frames
Will become useful in following commits.
This commit is contained in:
@@ -416,6 +416,9 @@ static int frame_data_ensure(AVBufferRef **dst, int writable)
|
||||
|
||||
fd->dec.frame_num = UINT64_MAX;
|
||||
fd->dec.pts = AV_NOPTS_VALUE;
|
||||
|
||||
for (unsigned i = 0; i < FF_ARRAY_ELEMS(fd->wallclock); i++)
|
||||
fd->wallclock[i] = INT64_MIN;
|
||||
} else if (writable)
|
||||
return av_buffer_make_writable(dst);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user