Commit d5761fe4 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos

parent 208c5a08
...@@ -93,6 +93,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src) ...@@ -93,6 +93,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src)
memcpy(dst->linesize, src->linesize, sizeof(dst->linesize)); memcpy(dst->linesize, src->linesize, sizeof(dst->linesize));
dst->pts = src->pts; dst->pts = src->pts;
dst->pkt_pos = src->pos;
dst->format = src->format; dst->format = src->format;
switch (src->type) { switch (src->type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment