mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
lavdev/lavfi: specify pos in the output packets
This commit is contained in:
parent
e30a0b1b3b
commit
4b66c8b425
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user