mirror of
https://github.com/mpv-player/mpv
synced 2025-03-29 23:07:56 +00:00
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:
parent
4d5d25fdbb
commit
d2942f1bcd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user