git.videolan.org
/
x264
/
x264-sandbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1c6a6
)
Fix XAVC with sliced-threads
author
Anton Mitrofanov
<BugMaster@narod.ru>
Mon, 24 Dec 2018 16:37:45 +0000
(19:37 +0300)
committer
Anton Mitrofanov
<BugMaster@narod.ru>
Mon, 4 Feb 2019 19:13:52 +0000
(22:13 +0300)
encoder/encoder.c
patch
|
blob
|
history
diff --git
a/encoder/encoder.c
b/encoder/encoder.c
index
14312c2
..
467ceb1
100644
(file)
--- 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