mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
fix potential crash when video tools are N/A
This commit is contained in:
parent
9696469289
commit
29abc678dd
1 changed files with 4 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ ExportVideoDialog::ExportVideoDialog ()
|
||||||
, invid_browse_button (_("Browse"))
|
, invid_browse_button (_("Browse"))
|
||||||
, transcode_button (_("Export"))
|
, transcode_button (_("Export"))
|
||||||
, abort_button (_("Abort"))
|
, abort_button (_("Abort"))
|
||||||
|
, progress_box (0)
|
||||||
, scale_checkbox (_("Scale Video (W x H):"))
|
, scale_checkbox (_("Scale Video (W x H):"))
|
||||||
, scale_aspect (_("Retain Aspect"))
|
, scale_aspect (_("Retain Aspect"))
|
||||||
, width_adjustment (768, 128, 1920, 1, 16, 0)
|
, width_adjustment (768, 128, 1920, 1, 16, 0)
|
||||||
|
|
@ -486,7 +487,9 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
|
||||||
_suspend_dirty = false;
|
_suspend_dirty = false;
|
||||||
|
|
||||||
show_all_children ();
|
show_all_children ();
|
||||||
progress_box->hide();
|
if (progress_box) {
|
||||||
|
progress_box->hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
XMLNode&
|
XMLNode&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue