Commit 6172da4d authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Henrik Gramner
Browse files

Fix XAVC with sliced-threads

parent c7ec24cf
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment