@ CheckReturnValue @ Override public EncodingOptions buildOptions ( ) { // TODO When/if modelmapper supports @ConstructorProperties, we map this // object, instead of doing new XXX(...) // https://github.com/jhalterman/modelmapper/issues/44 return new EncodingOptions ( new MainEncodingOptions ( format , startOffset , duration ) , new AudioEncodingOptions ( audio_enabled , audio_codec , audio_channels , audio_sample_rate , audio_sample_format , audio_bit_rate , audio_quality ) , new VideoEncodingOptions ( video_enabled , video_codec , video_frame_rate , video_width , video_height , video_bit_rate , video_frames , video_filter , video_preset ) ) ; }
Returns a representation of this Builder that can be safely serialised .