mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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