[FFmpeg-cvslog] dxva2_av1: Use av1dec force_integer_mv value
Mark Thompson
git at videolan.org
Mon May 6 22:29:36 EEST 2024
ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Sat Apr 27 16:23:00 2024 +0100| [5162247092d73d150ded00987e364f210d39437d] | committer: Mark Thompson
dxva2_av1: Use av1dec force_integer_mv value
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5162247092d73d150ded00987e364f210d39437d
---
libavcodec/dxva2_av1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dxva2_av1.c b/libavcodec/dxva2_av1.c
index 5b95f99c9b..1b55510659 100644
--- a/libavcodec/dxva2_av1.c
+++ b/libavcodec/dxva2_av1.c
@@ -101,7 +101,7 @@ int ff_dxva2_av1_fill_picture_parameters(const AVCodecContext *avctx, AVDXVACont
pp->coding.dual_filter = seq->enable_dual_filter;
pp->coding.jnt_comp = seq->enable_jnt_comp;
pp->coding.screen_content_tools = frame_header->allow_screen_content_tools;
- pp->coding.integer_mv = frame_header->force_integer_mv || !(frame_header->frame_type & 1);
+ pp->coding.integer_mv = h->cur_frame.force_integer_mv;
pp->coding.cdef = seq->enable_cdef;
pp->coding.restoration = seq->enable_restoration;
pp->coding.film_grain = seq->film_grain_params_present && !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN);
More information about the ffmpeg-cvslog
mailing list