On 29-03-2019 11:26 PM, James Almer wrote:
ffmpeg | branch: master | James Almer <[email protected]> | Fri Mar 29 14:55:00 
2019 -0300| [0856c5da0716e9c461d4f73339a2c2390d0a1162] | committer: James Almer

avcodec/libaomenc: fix default value for row-mt option

Signed-off-by: James Almer <[email protected]>


-    { "row-mt",           "Enable row based multi-threading",      
OFFSET(row_mt),         AV_OPT_TYPE_BOOL, {.i64 = 0},  0, 1, VE},
+    { "row-mt",           "Enable row based multi-threading",      
OFFSET(row_mt),         AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE},
      { "enable-cdef",      "Enable CDEF filtering",                 
OFFSET(enable_cdef),    AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE},
      { "enable-global-motion",  "Enable global motion",             
OFFSET(enable_global_motion), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE},
      { "enable-intrabc",  "Enable intra block copy prediction mode", 
OFFSET(enable_intrabc), AV_OPT_TYPE_BOOL, {.i64 = -1},  0, 1, VE},

Shouldn't  'enable-intrabc '  follow the same pattern?

And what are the semantics of the user setting row_mt or enable-intrabc as -1?

Gyan
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to