Having the override before autodetection meant that the overridden
value got overwritten by the autodetected result each time,
effectively disabling the ability to utilize the `-top` option
for override purposes.
Somehow I missed this in fbb44bc51a
,
even though the lines were within the context. Probably the code
originally being after this logic had something to do with it,
but previously it only touched the avformat context's codecpar,
which did not affect the encoder codec context whatsoever.
Fixes #9320
Fixes #9339
pull/360/head
parent
a1f7d25cef
commit
4c694093be
1 changed files with 8 additions and 6 deletions
Loading…
Reference in new issue