mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Only activate the aspect ratio inputs if the current track is not being appended to another one.
This commit is contained in:
parent
ceeced6ffc
commit
c3c252b32c
@ -1,5 +1,9 @@
|
||||
2005-09-18 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: bug fix: If a video track was selected that was appended to
|
||||
another track then the aspect ratio drop down box was still
|
||||
active.
|
||||
|
||||
* mkvmerge: new feature: MPEG-4 part 2 streams are searched for
|
||||
the pixel width/height values. Those are taken if they differ from
|
||||
those values in the source container. This is a work-around for
|
||||
|
@ -675,11 +675,11 @@ tab_input::enable_ar_controls(mmg_track_t *track) {
|
||||
bool ar_enabled;
|
||||
|
||||
ar_enabled = !track->display_dimensions_selected;
|
||||
cob_aspect_ratio->Enable(ar_enabled);
|
||||
tc_display_width->Enable(!ar_enabled);
|
||||
tc_display_height->Enable(!ar_enabled);
|
||||
rb_aspect_ratio->SetValue(ar_enabled);
|
||||
rb_display_dimensions->SetValue(!ar_enabled);
|
||||
cob_aspect_ratio->Enable(ar_enabled && !track->appending);
|
||||
tc_display_width->Enable(!ar_enabled && !track->appending);
|
||||
tc_display_height->Enable(!ar_enabled && !track->appending);
|
||||
rb_aspect_ratio->SetValue(ar_enabled && !track->appending);
|
||||
rb_display_dimensions->SetValue(!ar_enabled && !track->appending);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user