lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
This commit is contained in:
parent
208c5a08da
commit
d5761fe47d
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue