提交 4b66c8b4 编写于 作者: S Stefano Sabatini

lavdev/lavfi: specify pos in the output packets

上级 e30a0b1b
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册