When opening a source file, adopt its video bitrate, frames/s, audio samplerate and number of channels as defaults.
Don't adopt audio bitrate, as there are many clips with 'non-standard' values around and which bitrate should we choose from the menu then?
Added a few more common audio bitrate values to the pop-up menu.
Use absolute values like 23.976 instead of 24/1.001 to avoid rounding errors that can spoil in/decrease actions when inserting a value of a dropped source file.
Add menu item "Default options" that'll reset all options to the default. Then the source file values are adopted.
Simplified checkbox logic
Got rid of the bool flags and the value from the ceckbox directly.
When opening a source file, adopt its video bitrate, frames/s, audio samplerate and number of channels as defaults.
Don't adopt audio bitrate, as there are many clips with 'non-standard' values around and which bitrate should we choose from the menu then?
Added a few more common audio bitrate values to the pop-up menu.
Use absolute values like 23.976 instead of 24/1.001 to avoid rounding errors that can spoil in/decrease actions when inserting a value of a dropped source file.
Add menu item "Default options" that'll reset all options to the default. Then the source file values are adopted.
Simplified checkbox logic
Got rid of the bool flags and the value from the ceckbox directly.