diff options
-rw-r--r-- | macosx/HBAudioDefaults.m | 2 | ||||
-rw-r--r-- | macosx/HBAudioTrackPreset.m | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m index 0c714460c..95aa314bf 100644 --- a/macosx/HBAudioDefaults.m +++ b/macosx/HBAudioDefaults.m @@ -164,7 +164,7 @@ audio_encoder = hb_audio_encoder_get_next(audio_encoder)) { if ((audio_encoder->codec & HB_ACODEC_PASS_FLAG) == 0 && - (audio_encoder->muxers & self.container)) + ((audio_encoder->muxers & self.container) || audio_encoder->codec == HB_ACODEC_NONE)) { [fallbacks addObject:@(audio_encoder->name)]; } 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; } |