diff options
author | wm4 <wm4@nowhere> | 2016-01-28 11:15:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-28 11:23:16 +0100 |
commit | d2942f1bcd51397971d63c1371a788c7217507f7 (patch) | |
tree | af0a20785156e6a20e8abae3c76199f5b4a10dbb /video/mp_image.c | |
parent | 4d5d25fdbbe9b559eb1600520ef33fce380030c9 (diff) | |
download | mpv-d2942f1bcd51397971d63c1371a788c7217507f7.tar.bz2 mpv-d2942f1bcd51397971d63c1371a788c7217507f7.tar.xz |
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).
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index 7dd075be99..33badba3f7 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -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; |