[x264-devel] Fix XAVC with sliced-threads
Anton Mitrofanov
git at videolan.org
Mon Mar 11 20:24:05 CET 2019
x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Mon Dec 24 19:37:45 2018 +0300| [6172da4d77a574c831ed4710a10d945ea128528e] | committer: Henrik Gramner
Fix XAVC with sliced-threads
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=6172da4d77a574c831ed4710a10d945ea128528e
---
encoder/encoder.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index 758defc4..d3df5c13 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -821,6 +821,8 @@ static int validate_parameters( x264_t *h, int b_open )
if( h->param.i_avcintra_flavor == X264_AVCINTRA_FLAVOR_SONY )
{
h->param.i_slice_count = 8;
+ if( h->param.b_sliced_threads )
+ h->param.i_threads = h->param.i_slice_count;
/* Sony XAVC unlike AVC-Intra doesn't seem to have a QP floor */
}
else
More information about the x264-devel
mailing list