mp_image: copy dts as part of mp_image attributes too

Fixes DTS handling with certain container formats broken in commit
b53cb8de (when using vaapi-copy or dxva2-copy).
This commit is contained in:
wm4 2016-01-28 11:15:51 +01:00
parent 4d5d25fdbb
commit d2942f1bcd
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ void mp_image_copy_attributes(struct mp_image *dst, struct mp_image *src)
dst->pict_type = src->pict_type;
dst->fields = src->fields;
dst->pts = src->pts;
dst->dts = src->dts;
dst->params.rotate = src->params.rotate;
dst->params.stereo_in = src->params.stereo_in;
dst->params.stereo_out = src->params.stereo_out;