summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrackPreset.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-06-12 17:11:15 +0200
committerDamiano Galassi <[email protected]>2017-06-12 17:11:15 +0200
commitc72396f91d2b9535f3873d8dd5dc8b7ea1b4c28e (patch)
tree9655ae337c9776ce3dfbf007d973f78ae613ca25 /macosx/HBAudioTrackPreset.m
parent46be9b0ac3d4b87269ba6b0732e5034778c2bb1d (diff)
MacGui: add none fallback.
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r--macosx/HBAudioTrackPreset.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m
index 3175cefa3..9fa77e877 100644
--- a/macosx/HBAudioTrackPreset.m
+++ b/macosx/HBAudioTrackPreset.m
@@ -283,7 +283,10 @@
audio_encoder != NULL;
audio_encoder = hb_audio_encoder_get_next(audio_encoder))
{
- [encoders addObject:@(audio_encoder->name)];
+ if (audio_encoder->codec != HB_ACODEC_NONE)
+ {
+ [encoders addObject:@(audio_encoder->name)];
+ }
}
return encoders;
}