diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-20 14:30:41 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-20 15:00:36 +0200 |
commit | 4b66c8b42589adfb34294d869e58adabe1491138 (patch) | |
tree | e8344e8e7d4ddfc907f1e1b56b8cfc1ef1bb40b8 | |
parent | e30a0b1b3b1f06bc34f43e8f77ddfd97503d8736 (diff) | |
download | ffmpeg-4b66c8b42589adfb34294d869e58adabe1491138.tar.gz |
lavdev/lavfi: specify pos in the output packets
-rw-r--r-- | libavdevice/lavfi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index 464d302608..2249264742 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); |