mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/libdav1d: honor the requested strict_std_compliance level on supported builds
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
2b541b8c1d
commit
3e17e0e5ef
@ -236,6 +236,9 @@ static av_cold int libdav1d_init(AVCodecContext *c)
|
||||
s.all_layers = dav1d->all_layers;
|
||||
if (dav1d->operating_point >= 0)
|
||||
s.operating_point = dav1d->operating_point;
|
||||
#if FF_DAV1D_VERSION_AT_LEAST(6,2)
|
||||
s.strict_std_compliance = c->strict_std_compliance > 0;
|
||||
#endif
|
||||
|
||||
#if FF_DAV1D_VERSION_AT_LEAST(6,0)
|
||||
if (dav1d->frame_threads || dav1d->tile_threads)
|
||||
|
Loading…
Reference in New Issue
Block a user