UI: Disallow exiting settings with no track in advanced mode
(cherry picked from commit 4b37692939)
This commit is contained in:
parent
85d22f5ff5
commit
3f3ff4fd92
3 changed files with 22 additions and 8 deletions
|
|
@ -1792,6 +1792,10 @@ inline void AdvancedOutput::SetupRecording()
|
|||
unsigned int cy = 0;
|
||||
int idx = 0;
|
||||
|
||||
/* Hack to allow recordings without any audio tracks selected. It is no
|
||||
* longer possible to select such a configuration in settings, but legacy
|
||||
* configurations might still have this configured and we don't want to
|
||||
* just break them. */
|
||||
if (tracks == 0)
|
||||
tracks = config_get_int(main->Config(), "AdvOut", "TrackIndex");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue