mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 22:10:34 +00:00
avframe: Copy buffer type in copy_props.
Fixes VDPAU decoding with MPlayer.
This commit is contained in:
parent
f45fdb123f
commit
f1b716c79b
@ -395,6 +395,9 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
|
||||
dst->top_field_first = src->top_field_first;
|
||||
dst->sample_rate = src->sample_rate;
|
||||
dst->opaque = src->opaque;
|
||||
#if FF_API_AVFRAME_LAVC
|
||||
dst->type = src->type;
|
||||
#endif
|
||||
dst->pkt_pts = src->pkt_pts;
|
||||
dst->pkt_dts = src->pkt_dts;
|
||||
dst->pkt_pos = src->pkt_pos;
|
||||
|
Loading…
Reference in New Issue
Block a user