[FFmpeg-devel] [PATCH] Create separate pts fields for video (int64_t) and audio (double) in lavfi

S.N. Hemanth Meenakshisundaram smeenaks
Sat Sep 25 00:22:38 CEST 2010


This creates separate pts fields for video and audio in the
AVFilterBufferRef struct. Audio uses a double for storing pts in ffplay
etc and the value can be a fraction. So it would be wrong to convert it
to int64_t like in video. Alternatively, is it ok to store the video pts
integer value as a double within lavfi?


---
 libavfilter/avfilter.c    |   12 +++++++-----
 libavfilter/avfilter.h    |    4 ++--
 libavfilter/defaults.c    |    2 +-
 libavfilter/vf_pad.c      |    2 +-
 libavfilter/vsrc_buffer.c |    2 +-
 5 files changed, 12 insertions(+), 10 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Create-separate-pts-fields-for-video-int64_t-and-aud.patch
Type: text/x-patch
Size: 5921 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100924/3900847c/attachment.bin>



More information about the ffmpeg-devel mailing list