From c72396f91d2b9535f3873d8dd5dc8b7ea1b4c28e Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 12 Jun 2017 17:11:15 +0200 Subject: MacGui: add none fallback. --- macosx/HBAudioTrackPreset.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'macosx/HBAudioTrackPreset.m') 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; } -- cgit v1.2.3