[FFmpeg-cvslog] lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
Stefano Sabatini
git at videolan.org
Tue Jun 19 17:00:57 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Jun 10 18:20:40 2012 +0200| [d5761fe47d7dd8f02f7ded0afdae54512e09fd9f] | committer: Stefano Sabatini
lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5761fe47d7dd8f02f7ded0afdae54512e09fd9f
---
libavfilter/avcodec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c
index f6e25bd..d6cd4d1 100644
--- a/libavfilter/avcodec.c
+++ b/libavfilter/avcodec.c
@@ -93,6 +93,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src)
memcpy(dst->linesize, src->linesize, sizeof(dst->linesize));
dst->pts = src->pts;
+ dst->pkt_pos = src->pos;
dst->format = src->format;
switch (src->type) {
More information about the ffmpeg-cvslog
mailing list