[FFmpeg-cvslog] lavdev/lavfi: specify pos in the output packets
Stefano Sabatini
git at videolan.org
Sat Aug 20 15:10:42 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Aug 20 14:30:41 2011 +0200| [4b66c8b42589adfb34294d869e58adabe1491138] | committer: Stefano Sabatini
lavdev/lavfi: specify pos in the output packets
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b66c8b42589adfb34294d869e58adabe1491138
---
libavdevice/lavfi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 464d302..2249264 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -248,6 +248,7 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
picref->video->h, pkt->data, size);
pkt->stream_index = lavfi->sink_stream_map[min_pts_sink_idx];
pkt->pts = picref->pts;
+ pkt->pos = picref->pos;
pkt->size = size;
avfilter_unref_buffer(picref);
More information about the ffmpeg-cvslog
mailing list