Consistently use EncoderConfig instead of VideoDetails
VideoDetails is mainly used while decoding y4m, but it is carried around in the configuration, initializing various internal structures. Having all encoding-related fields in a single structure simplifies setting up and configuring the encoder, as well as offering an easier-to-use and possibly a more extensible API. Fix #910.
Showing with 74 additions and 59 deletions