Commit f1b716c7 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

avframe: Copy buffer type in copy_props.

Fixes VDPAU decoding with MPlayer.
parent f45fdb12
......@@ -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;
......
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